Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
compat-openssl098.32473
Bug748738_Tolerate_bad_MIME_headers.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Bug748738_Tolerate_bad_MIME_headers.patch of Package compat-openssl098.32473
Index: openssl-0.9.8j/crypto/asn1/asn_mime.c =================================================================== --- openssl-0.9.8j.orig/crypto/asn1/asn_mime.c +++ openssl-0.9.8j/crypto/asn1/asn_mime.c @@ -792,6 +792,10 @@ static int mime_hdr_addparam(MIME_HEADER static int mime_hdr_cmp(const MIME_HEADER * const *a, const MIME_HEADER * const *b) { + if ((*a)->name == NULL || (*b)->name == NULL) + return (*a)->name - (*b)->name < 0 ? -1 : + (*a)->name - (*b)->name > 0 ? 1 : 0; + return(strcmp((*a)->name, (*b)->name)); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor