The Samba-Bugzilla – Attachment 16155 Details for
Bug 14451
fuzz: oss-fuzz build broken (static/PIC issues with python3.8)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
a patch for Samba's oss-fuzz script
0001-oss-fuzz-use-uninstrumented-dynamic-python.patch (text/plain), 1.06 KB, created by
Douglas Bagnall
on 2020-07-31 03:41:00 UTC
(
hide
)
Description:
a patch for Samba's oss-fuzz script
Filename:
MIME Type:
Creator:
Douglas Bagnall
Created:
2020-07-31 03:41:00 UTC
Size:
1.06 KB
patch
obsolete
>From 17a1cfddfb27e6231b84f3452051d847e4372fed Mon Sep 17 00:00:00 2001 >From: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >Date: Fri, 31 Jul 2020 15:36:16 +1200 >Subject: [PATCH] oss-fuzz: use uninstrumented dynamic python > >We can't link to the instrumented statically built Python, so instead >we use the system Python in the docker image. > >Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >--- > lib/fuzzing/oss-fuzz/build_samba.sh | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/lib/fuzzing/oss-fuzz/build_samba.sh b/lib/fuzzing/oss-fuzz/build_samba.sh >index 93039e4dbe0..5d3bc3ff6c3 100755 >--- a/lib/fuzzing/oss-fuzz/build_samba.sh >+++ b/lib/fuzzing/oss-fuzz/build_samba.sh >@@ -21,6 +21,12 @@ export CFLAGS > LD="$CXX" > export LD > >+# Use the system Python, not the OSS-Fuzz provided statically linked >+# and instrumented Python, because we can't statically link. >+ >+PYTHON=/usr/bin/python3 >+export PYTHON >+ > # $SANITIZER is provided by the oss-fuzz "compile" command > # > # We need to add the waf configure option as otherwise when we also >-- >2.25.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
abartlet
:
review+
Actions:
View
Attachments on
bug 14451
:
16153
| 16155