On Sun, May 19, 2002, Doug VanLeuven via RT wrote: > > Hi, > I'm aware of the restrictions on US citizens. > So I'm not going to contribute a patch. > And forgive me if I don't adhere to the normal bug report format. > > I would strongly advise you to check the code in > apps/req.c, function build_subject > apps/ca.c, function do_subject > > I wanted the snapshot of openCA 20020503 and discovered they want > the -subj option on openssl req & openssl ca. > That's why I'm snooping around your 0.9.7 snapshot 20020514. > It's still there in 20020516. > My system is RH7.3 linux 2.4.18-3 (redhat build) > > My symptoms were segmentation faults. > The "free (buf)" on line 1251(apps/req.c) and > the "free (buf)" on line 3117(apps/ca.c) caused it. > > It's the funtions that handles the new -subj option. > (There may be more, I don't know). > > I had been on this project for over 18 hours, so I just added some > extra size to the buflen for malloc & this cleared my segmentation > faults & allowed me to progress on openCA. This is definately not > a fix. It is just a fudge factor.
I've committed a patch to this which should solve the problem, assuming I haven't broken something else :-) Please check the next snapshot. Thanks for the report. Steve. -- Dr. Stephen Henson [EMAIL PROTECTED] OpenSSL Project http://www.openssl.org/~steve/ ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
