зеркало из https://github.com/mozilla/gecko-dev.git
Patch contributed by timeless@bemail.org
[Bug 336481] oom crash [@ crmf_copy_cert_req_msg]
This commit is contained in:
Родитель
49558c479e
Коммит
73626f65a8
|
@ -510,10 +510,11 @@ crmf_copy_cert_req_msg(CRMFCertReqMsg *srcReqMsg)
|
|||
return NULL;
|
||||
}
|
||||
newReqMsg = PORT_ArenaZNew(poolp, CRMFCertReqMsg);
|
||||
newReqMsg->poolp = poolp;
|
||||
if (newReqMsg == NULL) {
|
||||
goto loser;
|
||||
}
|
||||
|
||||
newReqMsg->poolp = poolp;
|
||||
newReqMsg->certReq = crmf_copy_cert_request(poolp, srcReqMsg->certReq);
|
||||
if (newReqMsg->certReq == NULL) {
|
||||
goto loser;
|
||||
|
|
Загрузка…
Ссылка в новой задаче