Date: Sat, 05 Mar 2005 14:07:47 -0800 From: Sean McNeil <sean@mcneil.com> To: current@freebsd.org Subject: /usr/src/lib/libc/string/strsignal.c:96 Message-ID: <1110060467.23311.5.camel@server.mcneil.com>
next in thread | raw e-mail | index | archive | help
Hi folks,
It looks like strsignal is busted. All I have to do is hit ctrl-c while
running gmake and I get this core:
#0 strsignal (num=2) at /usr/src/lib/libc/string/strsignal.c:96
ebuf = "Interrupt", '\0' <repeats 2038 times>
tmp = "2\000\000\000\000\000\000\000\002\000\000\000\000\000\000
\000\000\000\000"
signum = 0
n = 4326031
t = 0x7fffffffd151 ""
p = 0x800d5b82f <Address 0x800d5b82f out of bounds>
This is because n is uninitialized when num > 0 && num < sys_nsig.
Cheers,
Sean
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1110060467.23311.5.camel>
