diff options
Diffstat (limited to 'security/nss/cmd/symkeyutil/symkeyutil.c')
-rw-r--r-- | security/nss/cmd/symkeyutil/symkeyutil.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/security/nss/cmd/symkeyutil/symkeyutil.c b/security/nss/cmd/symkeyutil/symkeyutil.c index 6170cc3c5..444456808 100644 --- a/security/nss/cmd/symkeyutil/symkeyutil.c +++ b/security/nss/cmd/symkeyutil/symkeyutil.c @@ -233,6 +233,9 @@ BufToHex(SECItem *outbuf) unsigned int i; string = PORT_Alloc(len); + if (!string) { + return NULL; + } ptr = string; for (i = 0; i < outbuf->len; i++) { |