projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a18cdd
)
Free the right thing.
author
Ben Laurie
<ben@openssl.org>
Mon, 4 Jan 1999 21:43:32 +0000
(21:43 +0000)
committer
Ben Laurie
<ben@openssl.org>
Mon, 4 Jan 1999 21:43:32 +0000
(21:43 +0000)
CHANGES
patch
|
blob
|
history
crypto/x509/x509name.c
patch
|
blob
|
history
diff --git
a/CHANGES
b/CHANGES
index b2e31d6cf417e04fbc125a64bb8818e445c83202..d4d87ec5cf22875ca0685852b1abf91268ebea81 100644
(file)
--- a/
CHANGES
+++ b/
CHANGES
@@
-5,6
+5,9
@@
Changes between 0.9.1c and 0.9.2
+ *) X509_name_add_entry() freed the wrong thing after an error.
+ [Arne Ansper <arne@ats.cyber.ee>]
+
*) rsa_eay.c would attempt to free a NULL context.
[Arne Ansper <arne@ats.cyber.ee>]
diff --git
a/crypto/x509/x509name.c
b/crypto/x509/x509name.c
index 7a1b2b7388b8fbcf942d717521eb914486c7732a..f495d361b9b1e1fc78156c7058451b1c80b84d45 100644
(file)
--- a/
crypto/x509/x509name.c
+++ b/
crypto/x509/x509name.c
@@
-251,7
+251,7
@@
int set;
return(1);
err:
if (new_name != NULL)
- X509_NAME_ENTRY_free(ne);
+ X509_NAME_ENTRY_free(ne
w_name
);
return(0);
}