Files
node/test/parallel
Сковорода Никита Андреевич d6969a717f http: use Buffer.from to avoid Buffer(num) call
This fixes a potential Buffer(num) call when the user passes a number
as the 'auth' property.

This now throws instead of allocating an unitialized memory Buffer and
sending that in the Authorization header.

Fixes: https://github.com/nodejs/security/issues/111

PR-URL: https://github.com/nodejs/node-private/pull/83
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2017-07-10 10:59:41 +01:00
..
2017-03-08 17:29:47 -08:00
2017-04-18 20:08:39 -04:00
2016-12-27 13:06:16 +01:00
2016-12-27 15:07:02 -05:00
2017-01-31 20:04:29 -05:00
2017-01-31 20:04:28 -05:00
2016-01-19 11:52:39 -08:00
2017-01-31 20:04:29 -05:00
2017-01-31 20:04:29 -05:00
2017-01-31 20:04:29 -05:00
2017-01-31 20:04:29 -05:00
2016-12-20 17:03:37 -05:00
2017-03-08 17:29:52 -08:00
2017-01-31 20:04:29 -05:00
2017-01-31 20:04:29 -05:00
2017-01-31 20:04:29 -05:00
2017-01-31 20:04:29 -05:00