[openssl-dev] [openssl.org #3769] Bug in v3_alt.c

Salz, Rich via RT rt at openssl.org
Sun Mar 29 18:06:19 UTC 2015


Found during internal code review.  V3_alt.c has this proposed change:

ret = X509V3_NAME_from_section(nm, sk, MBSTRING_ASC);
- if (!ret)
+ if (!ret) {
    X509_NAME_free(nm);
+ nm = NULL;
+ }
gen->d.dirn = nm;

Kurt points out:
This looks like a bugfix that should probably go to other branches. But we probably shouldn't touch gen at all in case of failures.


--  
Senior Architect, Akamai Technologies
IM: richsalz at jabber.at Twitter: RichSalz





More information about the openssl-dev mailing list