зеркало из https://github.com/mozilla/pjs.git
Patch contributed by timeless@bemail.org
[Bug 334328] nsspkcs5_PKCS12PBE: Variable "A" tracked as NULL was dereferenced. r=nelson
This commit is contained in:
Родитель
e5c5562641
Коммит
04cf2a1ef8
|
@ -546,6 +546,7 @@ loser:
|
|||
PORT_FreeArena(arena, PR_TRUE);
|
||||
}
|
||||
|
||||
if (A) {
|
||||
/* if i != c, then we didn't complete the loop above and must of failed
|
||||
* somwhere along the way */
|
||||
if (i != c) {
|
||||
|
@ -554,6 +555,7 @@ loser:
|
|||
} else {
|
||||
A->len = bytesNeeded;
|
||||
}
|
||||
}
|
||||
|
||||
return A;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче