Skip to content

Commit c63c01e

Browse files
kroeckxinferno-chromium
authored andcommitted
Openssl update (#190)
* Openssl: Enable more configure options This enables all the options that are off by default but that we still want to test. * openssl: Enable undefined sanitizer. * openssl: Add the security security contact as auto Cc * openssl: bignum: limit to 2048 bytes
1 parent e4c8ca5 commit c63c01e

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

projects/openssl/bignum.options

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[libfuzzer]
2+
max_len = 2048

projects/openssl/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#
1616
################################################################################
1717

18-
./config enable-fuzz-libfuzzer -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION no-shared --with-fuzzer-lib=/usr/lib/libFuzzingEngine $CFLAGS
18+
./config enable-fuzz-libfuzzer -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION no-shared enable-tls1_3 enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-ssl3 enable-ssl3-method enable-nextprotoneg enable-weak-ssl-ciphers --with-fuzzer-lib=/usr/lib/libFuzzingEngine $CFLAGS -fno-sanitize=alignment
1919
make -j$(nproc) EX_LIBS="-ldl /usr/local/lib/libc++.a"
2020

2121
fuzzers=$(find fuzz -executable -type f '!' -name \*.py '!' -name \*-test)
@@ -25,3 +25,4 @@ for f in $fuzzers; do
2525
zip -j $OUT/${fuzzer}_seed_corpus.zip fuzz/corpora/${fuzzer}/*
2626
done
2727

28+
cp $SRC/*.options $OUT/

projects/openssl/project.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
homepage: "https://www.openssl.org/"
22
primary_contact: "kurt@roeckx.be"
3+
auto_ccs: "openssl-security@openssl.org"
4+
sanitizers:
5+
- address
6+
- undefined

0 commit comments

Comments
 (0)