Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
crypto: fix delete of potentially uninitialized pointer
  • Loading branch information
bnoordhuis committed Sep 22, 2011
1 parent fdb0eb5 commit 93aad55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node_crypto.cc
Expand Up @@ -2130,6 +2130,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) {
Expand Down

0 comments on commit 93aad55

Please sign in to comment.