Files
node/test/parallel
Andre Jodat-Danbrani cdba3c1de0 tls: throw if protocol too long
The convertProtocols() function now throws a range error when the byte
length of a protocol is too long to fit in a Buffer.

Also added a test case in test/parallel/test-tls-basic-validations.js
to cover this.

PR-URL: https://github.com/nodejs/node/pull/23606
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2018-10-23 21:05:47 -07:00
..
2018-09-27 13:36:23 +02:00
2018-09-27 13:25:18 +02:00
2018-08-27 13:37:20 +02:00
2018-09-23 16:36:24 -07:00
2018-10-23 13:32:40 -07:00
2018-09-11 16:58:16 +08:00
2018-09-11 16:58:16 +08:00
2018-10-15 07:28:52 +02:00