Skip to content

Commit 93aad55

Browse files
committed
crypto: fix delete of potentially uninitialized pointer
1 parent fdb0eb5 commit 93aad55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node_crypto.cc

+1
Original file line numberDiff line numberDiff line change
@@ -2130,6 +2130,7 @@ class Decipher : public ObjectWrap {
21302130
int out_len;
21312131
Local<Value> outString ;
21322132

2133+
out_value = NULL;
21332134
int r = cipher->DecipherFinal(&out_value, &out_len, true);
21342135

21352136
if (out_len == 0 || r == 0) {

0 commit comments

Comments
 (0)