diff options
author | James Zern <jzern@google.com> | 2018-06-01 06:43:45 -0700 |
---|---|---|
committer | jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> | 2018-06-01 06:43:45 -0700 |
commit | 02c00845e5db3a87c4c00f23225fde7202713a6d (patch) | |
tree | 52bda914be7280aa55ff5e779c635f8ef0475dd7 /projects/libwebp | |
parent | daa30b7620c176c19ac0f5387f36403e74335781 (diff) | |
download | oss-fuzz-02c00845e5db3a87c4c00f23225fde7202713a6d.tar.gz |
[libwebp] Set max image size to reduce OOMs (#1471)
Set max image size to 800MiB
Diffstat (limited to 'projects/libwebp')
-rw-r--r-- | projects/libwebp/build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/projects/libwebp/build.sh b/projects/libwebp/build.sh index 5a4ee8619..abbd4b234 100644 --- a/projects/libwebp/build.sh +++ b/projects/libwebp/build.sh @@ -15,6 +15,9 @@ # ################################################################################ +# limit allocation size to reduce spurious OOMs +CFLAGS+=" -DWEBP_MAX_IMAGE_SIZE=838860800" # 800MiB + ./autogen.sh ./configure \ --enable-libwebpdemux \ |