Skip to content

Commit 1645051

Browse files
authored
python-multipart: fix oom (#13089)
This will most probably fix the non-reproducible oom issue with this project.
1 parent c296821 commit 1645051

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

projects/python-multipart/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ RUN apt-get update && apt-get install -y make autoconf automake libtool
1919
RUN git clone --depth 1 https://github.com/Kludex/python-multipart python-multipart
2020
RUN python3 -m pip install --upgrade pip
2121
WORKDIR python-multipart
22-
COPY build.sh $SRC/
22+
COPY build.sh *.options $SRC/

projects/python-multipart/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717

1818
python3 -m pip install '.[dev]'
1919
for fuzzer in $(find $SRC -name "fuzz_*.py"); do
20-
compile_python_fuzzer $fuzzer
20+
compile_python_fuzzer $fuzzer
2121
done
22+
cp $SRC/*.options $OUT/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[libfuzzer]
2+
detect_leaks=0

0 commit comments

Comments
 (0)