Hi,

In attachment you can find 7 patches against git master (generated via git 
format-patch) to fix a number of memory leaks (in case of failures) and missing 
NULL pointer checks (generally for malloc results) for source files under 
crypto/asn1. I've tried to follow the coding conventions of the surrounding 
code.

I have about 50 more similar patches to various other parts of OpenSSL, but 
I'll wait with submitting them in case you'd like something different about the 
way I'm grouping/formatting/splitting them.


Jonas



Attachment: 0001-SetBlob-free-rgSetBlob-on-error-path.patch
Description: Binary data

Attachment: 0002-ASN1_verify-ASN1_item_verify-cleanse-and-free-buf_in.patch
Description: Binary data

Attachment: 0003-mime_hdr_new-free-mhdr-tmpname-tmpval-on-error-path.patch
Description: Binary data

Attachment: 0004-mime_hdr_addparam-free-tmpname-tmpval-and-mparam-on-.patch
Description: Binary data

Attachment: 0005-multi_split-check-for-NULL-when-allocating-parts-and.patch
Description: Binary data

Attachment: 0006-asn1_bio_new-free-ctx-on-error-path.patch
Description: Binary data

Attachment: 0007-asn1_set_seq_out-free-derlist-and-tmpdat-on-error-pa.patch
Description: Binary data

Reply via email to