ASAN: "ls -l, *" AddressSanitizer warning: "unexpected format specifier in printf interceptor: %*j'"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Jan 2022 01:28:52 UTC
# ls -l, * /usr/main-src/lib/libc/stdio/fread.c:133:10: runtime error: applying zero offset to null pointer SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/main-src/lib/libc/stdio/fread.c:133:10 in ==47404==AddressSanitizer: WARNING: unexpected format specifier in printf interceptor: %*j' (reported once per process) -rwxr-xr-x 1 root wheel 4287752 Jan 14 14:14 a.out -rw-r--r-- 1 root wheel 281 Jul 2 2021 bt.c -rw-r--r-- 1 root wheel 580662 Jan 15 01:10 kyua-test-run2.txt -rw-r--r-- 1 root wheel 2128 Apr 22 2021 listen_sock_peercred.c -rw-r--r-- 1 root wheel 149 Jan 14 14:14 sigaltstack_get.c -rw-r--r-- 1 root wheel 50 Jul 16 2021 trivial.cpp Unfortunately, running under lldb did not stop for the "unexpected format specifier in printf interceptor" notice, so I do not have a backtrace for this. === Mark Millard marklmi at yahoo.com