projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix memory leak on bad inputs.
[oweals/openssl.git]
/
crypto
/
asn1
/
a_utctm.c
diff --git
a/crypto/asn1/a_utctm.c
b/crypto/asn1/a_utctm.c
index efebc63a026441bc52bf1e5f80918b7ce3e4647f..d31c0281930b4ac504f168e30ae6492c162ce799 100644
(file)
--- a/
crypto/asn1/a_utctm.c
+++ b/
crypto/asn1/a_utctm.c
@@
-209,7
+209,6
@@
ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t)
ASN1err(ASN1_F_ASN1_UTCTIME_SET,ERR_R_MALLOC_FAILURE);
return(NULL);
}
- if (s->data != NULL)
if (s->data != NULL)
OPENSSL_free(s->data);
s->data=(unsigned char *)p;