Files
node/src
Anna Henningsen 4863f6a121 net: make holding the buffer in memory more robust
Set the `req.buffer` property, which serves as a way of keeping
a `Buffer` alive that is being written to a stream, on the C++
side instead of the JS side.

This closes a hole where buffers that were temporarily created
in order to write strings with uncommon encodings (e.g. `hex`)
were passed to the native side without being set as `req.buffer`.

Fixes: https://github.com/nodejs/node/issues/8251
PR-URL: https://github.com/nodejs/node/pull/8252
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2016-08-27 16:11:46 +02:00
..
2016-03-31 16:32:07 +01:00
2016-08-08 09:17:12 -07:00
2016-07-25 14:12:12 -07:00
2016-08-08 09:17:12 -07:00
2016-05-18 17:31:05 +02:00
2016-08-08 09:17:12 -07:00
2016-08-08 09:17:12 -07:00
2016-06-28 21:21:21 +02:00
2016-07-11 23:15:34 +02:00
2016-04-12 17:21:29 -04:00
2016-08-08 09:17:12 -07:00
2016-08-08 09:17:12 -07:00
2012-02-03 14:07:32 +00:00
2016-06-28 17:48:22 -04:00
2015-02-02 21:55:56 +01:00
2016-08-08 09:17:12 -07:00
2016-08-08 09:17:12 -07:00
2016-08-08 09:17:12 -07:00
2016-08-08 09:17:12 -07:00
2016-07-17 18:21:33 +02:00
2016-08-08 09:17:12 -07:00
2016-08-08 09:17:12 -07:00
2016-08-08 09:17:12 -07:00
2016-08-08 09:17:12 -07:00
2016-06-28 21:21:21 +02:00