Compare commits

...

2 Commits

Author SHA1 Message Date
Daan De Meyer 259e396d0e
Merge 2a0814759c into 12e58ab18d 2024-10-18 20:04:44 +01:00
Daan De Meyer 2a0814759c TEST-21-DFUZZER: Reduce max payload size when running without sanitizers
Fixes #33156
2024-06-02 19:48:15 +02:00
1 changed files with 2 additions and 7 deletions

View File

@ -94,13 +94,8 @@ SESSION_BUS_LIST=(
org.freedesktop.systemd1 org.freedesktop.systemd1
) )
# Maximum payload size generated by dfuzzer (in bytes) - default: 50K # Maximum payload size generated by dfuzzer (in bytes) - default: 10K
PAYLOAD_MAX=50000 PAYLOAD_MAX=10000 # 10K
# Tweak the maximum payload size if we're running under sanitizers, since
# with larger payloads we start hitting reply timeouts
if [[ -v ASAN_OPTIONS || -v UBSAN_OPTIONS ]]; then
PAYLOAD_MAX=10000 # 10K
fi
# Overmount /var/lib/machines with a size-limited tmpfs, as fuzzing # Overmount /var/lib/machines with a size-limited tmpfs, as fuzzing
# the org.freedesktop.machine1 stuff makes quite a mess # the org.freedesktop.machine1 stuff makes quite a mess