Up to [local] / src / usr.bin / openssl
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_8_BASE
Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 22 15:52:32 2015 UTC (8 years, 10 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.7: +1 -5 lines
Diff to previous 1.7 (colored)
Revert ca.c r1.7 - BN_to_ASN1_INTEGER() only allocates an ASN.1 integer when it is not passed a reference to one. In this case, it is passed a reference to an ASN.1 integer that is part of the X509 ASN.1 data structure. Freeing this causes bad things to happen, since it is used and then freed later on. Found the hard way by kinichiro inoguchi.