mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
crypto: fix delete of potentially uninitialized pointer
This commit is contained in:
@@ -2512,6 +2512,7 @@ class Decipher : public ObjectWrap {
|
||||
int out_len;
|
||||
Local<Value> outString ;
|
||||
|
||||
out_value = NULL;
|
||||
int r = cipher->DecipherFinal(&out_value, &out_len, true);
|
||||
|
||||
if (out_len == 0 || r == 0) {
|
||||
|
||||
Reference in New Issue
Block a user