You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Direct leak of 65 byte(s) in 1 object(s) allocated from:
#0 0x493e59 in realloc (/home/yzy/fuzzsoftware/shc/local/bin/shc+0x493e59) #1 0x4c6385 in write_C /home/yzy/fuzzsoftware/shc/src/shc.c:1221:16 #2 0x4ca7d0 in do_all /home/yzy/fuzzsoftware/shc/src/shc.c:1348:6 #3 0x4cb11f in main /home/yzy/fuzzsoftware/shc/src/shc.c:1358:2
Direct leak of 44 byte(s) in 1 object(s) allocated from:
#0 0x493e59 in realloc (/home/yzy/fuzzsoftware/shc/local/bin/shc+0x493e59) #1 0x4c82fa in write_C /home/yzy/fuzzsoftware/shc/src/shc.c:1246:16 #2 0x4ca7d0 in do_all /home/yzy/fuzzsoftware/shc/src/shc.c:1348:6 #3 0x4cb11f in main /home/yzy/fuzzsoftware/shc/src/shc.c:1358:2
Cmd:
./shc -f /home/root/shc/converter.sh -o converter
Ubuntu:
x86_64 x86_64 x86_64 GNU/Linux
Thanks!
The text was updated successfully, but these errors were encountered:
src/shc.c(1033): error (memleak): Memory leak: ptr
src/shc.c(1088): error (memleak): Memory leak: text
src/shc.c(1037): error (memleakOnRealloc): Common realloc mistake: 'shll' nulled but not freed upon failure
src/shc.c(1065): error (memleakOnRealloc): Common realloc mistake: 'opts' nulled but not freed upon failure
src/shc.c(1090): error (memleakOnRealloc): Common realloc mistake: 'text' nulled but not freed upon failure
src/shc.c(1099): error (memleakOnRealloc): Common realloc mistake: 'text' nulled but not freed upon failure
When I compiled shc in afl-gcc and fsanitize mode and converted sh to an executable file, I found a memory leak.
kn007/silk-v3-decoder@07bfa0f
Details:
fl-clang-fast 2.57b by [email protected]
afl-llvm-pass 2.57b by [email protected]
[+] Instrumented 82 locations (ASAN/MSAN mode, ratio 100%).
=================================================================
==61537==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 65 byte(s) in 1 object(s) allocated from:
#0 0x493e59 in realloc (/home/yzy/fuzzsoftware/shc/local/bin/shc+0x493e59)
#1 0x4c6385 in write_C /home/yzy/fuzzsoftware/shc/src/shc.c:1221:16
#2 0x4ca7d0 in do_all /home/yzy/fuzzsoftware/shc/src/shc.c:1348:6
#3 0x4cb11f in main /home/yzy/fuzzsoftware/shc/src/shc.c:1358:2
Direct leak of 44 byte(s) in 1 object(s) allocated from:
#0 0x493e59 in realloc (/home/yzy/fuzzsoftware/shc/local/bin/shc+0x493e59)
#1 0x4c82fa in write_C /home/yzy/fuzzsoftware/shc/src/shc.c:1246:16
#2 0x4ca7d0 in do_all /home/yzy/fuzzsoftware/shc/src/shc.c:1348:6
#3 0x4cb11f in main /home/yzy/fuzzsoftware/shc/src/shc.c:1358:2
Cmd:
./shc -f /home/root/shc/converter.sh -o converter
Ubuntu:
x86_64 x86_64 x86_64 GNU/Linux
Thanks!
The text was updated successfully, but these errors were encountered: