[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1764: bin/kill segfaults



On Wed, 25 Oct 1995 15:40:09 +1000 (EST), Herbert Xu
<herbert@greathan.apana.org.au> wrote:

>Package: bsdutils
>Version: 1.3-1
>
>It is trivial to make /bin/kill segfault:
>$ /bin/kill -l
>INT QUIT ILL TRAP ABRT UNUSED FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD
>Segmentation fault (core dumped)
>
>The appended patch fixes the bug.  I suspect the person who wrote the code
>has had some bad memories about Pascal :)
>
>PS NSIG is the largest valid signal number + 1.
[...patch snipped...]

The appended patch was very helpful, thanks.

A new kill, hopefully with the bugs fixed, is in bsdutuils-1.4-1,
which I am about to upload to the uk upload site.


Austin


Reply to: