[mp4parse-rust] Limit allocation size (#4273)

* [mp4parse-rust] Set max_allocation_size_mb

* [mp4parse-rust] Update CC list
This commit is contained in:
Tyson Smith 2020-08-06 15:38:53 -07:00 committed by GitHub
parent 95ffdaa04e
commit 3d7dc183d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 1 deletions

View File

@ -20,4 +20,4 @@ RUN apt-get update && apt-get install -y make autoconf automake libtool curl cma
RUN git clone --depth 1 https://github.com/mozilla/mp4parse-rust mp4parse-rust
WORKDIR mp4parse-rust
COPY build.sh $SRC/
COPY build.sh default.options $SRC/

View File

@ -29,5 +29,6 @@ do
FUZZ_TARGET_NAME=$(basename ${f%.*})
cp $FUZZ_TARGET_OUTPUT_DIR/$FUZZ_TARGET_NAME $OUT/
cp $PROJECT_DIR/mp4parse_capi/fuzz/mp4.dict $OUT/$FUZZ_TARGET_NAME.dict
cp $SRC/default.options $OUT/$FUZZ_TARGET_NAME.options
zip -jr $OUT/${FUZZ_TARGET_NAME}_seed_corpus.zip $PROJECT_DIR/corpus/
done

View File

@ -0,0 +1,2 @@
[asan]
max_allocation_size_mb=512

View File

@ -6,4 +6,5 @@ fuzzing_engines:
- libfuzzer
language: rust
vendor_ccs:
- "jbauman@mozilla.com"
- "twsmith@mozilla.com"