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
The program in the examples section of manual page getpwuid_r() crashes in _zz_fuzz when run with zzuf ./a.out nathan. Compiled with gcc -g test.c with gcc 7.5.0 on openSUSE 15.2 in Windows Subsystem for Linux.
Guessing from the Valgrind results, it seems zzuf is attempting to fuzz read-only memory.
==7727== Process terminating with default action of signal 11 (SIGSEGV)
==7727== Bad permissions for mapped region at address 0x4027002
==7727== at 0x4E49E78: _zz_fuzz (fuzz.c:168)
==7727== by 0x4E46D48: fgets_unlocked (lib-stream.c:874)
==7727== by 0x5DF79ED: _nss_compat_getpwnam_r (in /lib64/libnss_compat-2.26.so)
==7727== by 0x51C55CE: getpwnam_r@@GLIBC_2.2.5 (in /lib64/libc-2.26.so)
==7727== by 0x400863: main (test.c:32)
==7727==
The text was updated successfully, but these errors were encountered:
The program in the examples section of manual page getpwuid_r() crashes in
_zz_fuzz
when run withzzuf ./a.out nathan
. Compiled withgcc -g test.c
with gcc 7.5.0 on openSUSE 15.2 in Windows Subsystem for Linux.Guessing from the Valgrind results, it seems zzuf is attempting to fuzz read-only memory.
Versions:
zzuf version: e598eef
gcc version: gcc (SUSE Linux) 7.5.0
gdb version: GNU gdb (GDB; openSUSE Leap 15.2) 8.3.1
valgrind version: 3.15.0
uname: Linux 4.4.0-19041-Microsoft #488-Microsoft Mon Sep 01 13:43:00 PST 2020 x86_64 x86_64 x86_64 GNU/Linux
Windows version: Windows 10 2004 (OS Build 19041.630)
Debug output (zzuf --debug --debug ./a.out nathan):
gdb backtrace (
gdb -ex "set follow-fork-mode child" -ex 'set pagination off' -ex 'run' -ex 'bt full' --args zzuf ./a.out nathan |& tee zzuf-backtrace
):Valgrind results (
valgrind --trace-children=yes zzuf ./a.out nathan
):The text was updated successfully, but these errors were encountered: