]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
try to shut up the linter.
authorAlan T. DeKok <aland@freeradius.org>
Tue, 26 Jan 2021 12:23:43 +0000 (07:23 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 26 Jan 2021 12:23:43 +0000 (07:23 -0500)
scripts/build/fuzzer

index 01ae0e0b571f7181b85d10254a7407059b1470c6..aaebf1ab7b2e8babb51404454846f7d5a21f282c 100755 (executable)
@@ -5,8 +5,6 @@
 #  To be run with ONE input file, in order to debug crashes, leaks,
 #  etc.
 #
-#  Add "lldb" 
-#
 
 usage() {
        echo "Usage: ./scripts/build/fuzzer [-l] filename"
@@ -30,6 +28,6 @@ fi
 
 export ASAN_OPTIONS="malloc_context_size=50 detect_leaks=1 symbolize=1"
 export LSAN_OPTIONS="fast_unwind_on_malloc=0:malloc_context_size=50"
-PROTOCOL=$(basename $(dirname $1 ))
+PROTOCOL=$(basename $(dirname "$1" ))
 
-exec ./build/make/jlibtool --quiet --mode=execute $LLDB ./build/bin/local/fuzzer_$PROTOCOL -artifact_prefix="build/fuzzer/$PROTOCOL/" -max_len=512   -D share/dictionary $1
+exec ./build/make/jlibtool --quiet --mode=execute $LLDB ./build/bin/local/fuzzer_${PROTOCOL} -artifact_prefix="build/fuzzer/$PROTOCOL/" -max_len=512   -D share/dictionary "$1"