summaryrefslogtreecommitdiffstats
path: root/bin/oss-fuzz-build.sh
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-19 11:47:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-19 13:45:38 +0200
commit81b512f3ef39c448b34f7cf52832be883d9ebd0c (patch)
tree83a1b87f4de82bf33edc3207f6aa41dfec73c177 /bin/oss-fuzz-build.sh
parentcoverity#1405221 silence Out-of-bounds read (diff)
downloadcore-81b512f3ef39c448b34f7cf52832be883d9ebd0c.tar.gz
core-81b512f3ef39c448b34f7cf52832be883d9ebd0c.zip
maybe oss-fuzz shares /work and /out
currently the build runs out of space Change-Id: I24a68051b7fd1df7c55849f27aa43cedc9909b1a Reviewed-on: https://gerrit.libreoffice.org/36682 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bin/oss-fuzz-build.sh')
-rwxr-xr-xbin/oss-fuzz-build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/oss-fuzz-build.sh b/bin/oss-fuzz-build.sh
index b0d3d6eb201a..e9972578ff93 100755
--- a/bin/oss-fuzz-build.sh
+++ b/bin/oss-fuzz-build.sh
@@ -20,6 +20,8 @@ export ASAN_OPTIONS="detect_leaks=0"
make fuzzers
+rm -rf workdir
+
#some minimal fonts required
cp $SRC/libreoffice/extras/source/truetype/symbol/opens___.ttf instdir/share/fonts/truetype/Liberation* $OUT
#minimal runtime requirements