Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2022 17:28:52 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   ASAN: "ls -l, *" AddressSanitizer warning: "unexpected format specifier in printf interceptor: %*j'"
Message-ID:  <E0EF7981-E12D-401E-B375-3DDBF7ED3D75@yahoo.com>
References:  <E0EF7981-E12D-401E-B375-3DDBF7ED3D75.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
# 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=20
=3D=3D47404=3D=3DAddressSanitizer: 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.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0EF7981-E12D-401E-B375-3DDBF7ED3D75>