mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Bugzilla Bug 298409: fixed the bug that an array size was incorrectly
calculated. r=alexei.volkov.
This commit is contained in:
parent
6ae0729177
commit
2540bdf095
@ -1362,7 +1362,7 @@ crlgen_setNextDataFn_extension(CRLGENGeneratorData *crlGenData, void *str,
|
||||
}
|
||||
|
||||
if (extStr->extData == NULL) {
|
||||
extStr->extData = PORT_ZAlloc(MAX_EXT_DATA_LENGTH);
|
||||
extStr->extData = PORT_ZNewArray(char *, MAX_EXT_DATA_LENGTH);
|
||||
if (!extStr->extData) {
|
||||
return SECFailure;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user