0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/crypto
cjihrig 92ca2c208b
crypto: add null check to outputLength logic
The Hash constructor's outputLength logic checks if the options
input is an object, but doesn't check for null objects. This
commit adds that check.

PR-URL: https://github.com/nodejs/node/pull/28864
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2019-07-29 03:33:28 -10:00
..
certificate.js lib: consolidate arrayBufferView validation 2019-03-27 17:05:19 +01:00
cipher.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
diffiehellman.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
hash.js crypto: add null check to outputLength logic 2019-07-29 03:33:28 -10:00
keygen.js crypto: move _impl call out of handleError funct 2019-06-24 05:36:59 +02:00
keys.js crypto: fix KeyObject handle type error message 2019-05-30 15:37:02 +02:00
pbkdf2.js crypto: move _pbkdf2 call out of handleError funct 2019-06-24 05:36:55 +02:00
random.js crypto: move _randomBytes call out of handleError funct 2019-06-24 05:36:51 +02:00
scrypt.js crypto: fix handling of malicious getters (scrypt) 2019-07-26 10:19:28 -07:00
sig.js lib: enforce the use of Object from primordials 2019-04-12 05:38:45 +02:00
util.js crypto: remove legacy native handles 2019-04-04 16:45:41 +02:00