Revision 396e30044910df29b81a416de42a94eb4355cd70 authored by Matt Caswell on 11 August 2015, 18:38:39 UTC, committed by Matt Caswell on 11 August 2015, 21:27:05 UTC
When config'd with "sctp" running "make test" causes a seg fault. This is
actually due to the way ssltest works - it dives under the covers and frees
up BIOs manually and so some BIOs are NULL when the SCTP code does not
expect it. The simplest fix is just to add some sanity checks to make sure
the BIOs aren't NULL before we use them.

This problem occurs in master and 1.0.2. The fix has also been applied to
1.0.1 to keep the code in sync.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit f75d5171be0b3b5419c8974133e1573cf976a8bb)
1 parent 402634f
History
File Mode Size
certs
smime-certs
.cvsignore -rw-r--r-- 329 bytes
CAss.cnf -rw-r--r-- 2.2 KB
CAssdh.cnf -rw-r--r-- 728 bytes
CAssdsa.cnf -rw-r--r-- 729 bytes
CAssrsa.cnf -rw-r--r-- 708 bytes
CAtsa.cnf -rw-r--r-- 4.7 KB
Makefile -rw-r--r-- 35.3 KB
P1ss.cnf -rw-r--r-- 997 bytes
P2ss.cnf -rw-r--r-- 1.1 KB
Sssdsa.cnf -rw-r--r-- 821 bytes
Sssrsa.cnf -rw-r--r-- 798 bytes
Uss.cnf -rw-r--r-- 935 bytes
VMSca-response.1 -rw-r--r-- 1 byte
VMSca-response.2 -rw-r--r-- 4 bytes
asn1test.c -rw-r--r-- 593 bytes
bctest -rwxr-xr-x 4.1 KB
bctest.com -rw-r--r-- 4.6 KB
bntest.com -rw-r--r-- 1.8 KB
clean_test.com -rwxr-xr-x 783 bytes
cms-examples.pl -rw-r--r-- 10.8 KB
cms-test.pl -rw-r--r-- 15.3 KB
dummytest.c -rw-r--r-- 1.1 KB
igetest.c -rw-r--r-- 18.3 KB
maketests.com -rw-r--r-- 25.0 KB
methtest.c -rw-r--r-- 4.4 KB
pkcs7-1.pem -rw-r--r-- 851 bytes
pkcs7.pem -rw-r--r-- 3.7 KB
pkits-test.pl -rw-r--r-- 33.3 KB
r160test.c -rw-r--r-- 3.1 KB
smcont.txt -rw-r--r-- 33 bytes
tcrl -rw-r--r-- 1.7 KB
tcrl.com -rw-r--r-- 2.6 KB
test.cnf -rw-r--r-- 2.6 KB
test_padlock -rwxr-xr-x 1.4 KB
testca -rw-r--r-- 752 bytes
testca.com -rw-r--r-- 1.3 KB
testcrl.pem -rw-r--r-- 938 bytes
testenc -rw-r--r-- 1017 bytes
testenc.com -rw-r--r-- 2.1 KB
testfipsssl -rw-r--r-- 3.5 KB
testgen -rw-r--r-- 927 bytes
testgen.com -rw-r--r-- 1.5 KB
testp7.pem -rw-r--r-- 2.8 KB
testreq2.pem -rw-r--r-- 371 bytes
testrsa.pem -rw-r--r-- 497 bytes
tests.com -rw-r--r-- 9.7 KB
testsid.pem -rw-r--r-- 718 bytes
testss -rw-r--r-- 4.4 KB
testss.com -rw-r--r-- 3.5 KB
testssl -rw-r--r-- 6.3 KB
testssl.com -rw-r--r-- 6.1 KB
testsslproxy -rw-r--r-- 291 bytes
testtsa -rw-r--r-- 6.2 KB
testtsa.com -rw-r--r-- 7.3 KB
testutil.h -rw-r--r-- 4.7 KB
testx509.pem -rw-r--r-- 530 bytes
times -rw-r--r-- 5.8 KB
tpkcs7 -rw-r--r-- 955 bytes
tpkcs7.com -rw-r--r-- 1.6 KB
tpkcs7d -rw-r--r-- 819 bytes
tpkcs7d.com -rw-r--r-- 1.4 KB
treq -rw-r--r-- 1.9 KB
treq.com -rw-r--r-- 2.6 KB
trsa -rw-r--r-- 1.8 KB
trsa.com -rw-r--r-- 2.8 KB
tsid -rw-r--r-- 1.7 KB
tsid.com -rw-r--r-- 2.6 KB
tverify.com -rw-r--r-- 1.6 KB
tx509 -rw-r--r-- 1.7 KB
tx509.com -rw-r--r-- 2.6 KB
v3-cert1.pem -rw-r--r-- 944 bytes
v3-cert2.pem -rw-r--r-- 940 bytes

back to top