mirror of https://github.com/lukechilds/node.git
Browse Source
cherry-pick c26b9af1e2
from v6-staging.
`convertNPNProtocols` and `convertALPNProtocols' uses the `protocols`
buffer object as it is, and if it is modified outside of core, it
might have an impact. This patch makes a copy of the buffer object,
before using it.
PR-URL: https://github.com/nodejs/node/pull/8055
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
v4.x
Sakthipriyan Vairamani
9 years ago
committed by
Myles Borins
2 changed files with 16 additions and 10 deletions
Loading…
Reference in new issue