[Bug 334328] nsspkcs5_PKCS12PBE: Variable "A" tracked as NULL was dereferenced. r=nelson
This commit is contained in:
alexei.volkov.bugs%sun.com 2006-04-22 01:13:15 +00:00
Родитель e5c5562641
Коммит 04cf2a1ef8
1 изменённых файлов: 9 добавлений и 7 удалений

Просмотреть файл

@ -546,6 +546,7 @@ loser:
PORT_FreeArena(arena, PR_TRUE); PORT_FreeArena(arena, PR_TRUE);
} }
if (A) {
/* if i != c, then we didn't complete the loop above and must of failed /* if i != c, then we didn't complete the loop above and must of failed
* somwhere along the way */ * somwhere along the way */
if (i != c) { if (i != c) {
@ -554,6 +555,7 @@ loser:
} else { } else {
A->len = bytesNeeded; A->len = bytesNeeded;
} }
}
return A; return A;
} }