From 320cf729db9ca75a17892fb2e3abd21176ff983b Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 21 Sep 2011 01:57:36 +0200 Subject: [PATCH] crypto: fix delete of potentially uninitialized pointer --- src/node_crypto.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node_crypto.cc b/src/node_crypto.cc index d1bf6913a44..cd1e538bf8c 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -2512,6 +2512,7 @@ class Decipher : public ObjectWrap { int out_len; Local outString ; + out_value = NULL; int r = cipher->DecipherFinal(&out_value, &out_len, true); if (out_len == 0 || r == 0) {