fix scan-build error, r=me
authorFranziskus Kiefer <franziskuskiefer@gmail.com>
Tue, 28 Feb 2017 12:27:48 +0100
changeset 13175 6511e19a2c6cf48058abba3ec5cee866e27b829a
parent 13174 f56187802acea018c359b5943350a298f6cca417
child 13176 146aaa22cf55da6462638f399849d62d2e9f0392
push id2053
push userfranziskuskiefer@gmail.com
push dateTue, 28 Feb 2017 11:28:04 +0000
reviewersme
fix scan-build error, r=me
lib/util/nssb64d.c
--- a/lib/util/nssb64d.c
+++ b/lib/util/nssb64d.c
@@ -700,17 +700,17 @@ NSSBase64Decoder_Destroy(NSSBase64Decode
  */
 SECItem *
 NSSBase64_DecodeBuffer(PLArenaPool *arenaOpt, SECItem *outItemOpt,
                        const char *inStr, unsigned int inLen)
 {
     SECItem *out_item = NULL;
     PRUint32 max_out_len = 0;
     void *mark = NULL;
-    unsigned char *dummy;
+    unsigned char *dummy = NULL;
 
     if ((outItemOpt != NULL && outItemOpt->data != NULL) || inLen == 0) {
         PORT_SetError(SEC_ERROR_INVALID_ARGS);
         return NULL;
     }
 
     if (arenaOpt != NULL)
         mark = PORT_ArenaMark(arenaOpt);