mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
* kill.cc (getsig): Rectify bug introduced by 2005-02-26 change. Don't pad
signal name with spaces.
This commit is contained in:
parent
a593a4c5e3
commit
4534561877
@ -1,3 +1,8 @@
|
||||
2005-03-07 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* kill.cc (getsig): Rectify bug introduced by 2005-02-26 change. Don't
|
||||
pad signal name with spaces.
|
||||
|
||||
2005-03-07 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* strace.cc (handle_output_debug_string): Fix compiler warning.
|
||||
@ -19,7 +24,7 @@
|
||||
|
||||
2005-02-26 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* kill (getsig): Avoid buffer overflow when generating a signal name.
|
||||
* kill.cc (getsig): Avoid buffer overflow when generating a signal name.
|
||||
|
||||
* strace.cc (handle_output_debug_string): Make error a little more specific.
|
||||
|
||||
|
@ -87,7 +87,7 @@ getsig (const char *in_sig)
|
||||
sig = in_sig;
|
||||
else
|
||||
{
|
||||
sprintf (buf, "SIG%-20.20s", in_sig);
|
||||
sprintf (buf, "SIG%-.20s", in_sig);
|
||||
sig = buf;
|
||||
}
|
||||
intsig = strtosigno (sig) ?: atoi (in_sig);
|
||||
|
Loading…
x
Reference in New Issue
Block a user