Re: rs(1) segmentation fault fix

2012-12-03 Thread Otto Moerbeek
On Mon, Dec 03, 2012 at 08:48:46PM +0200, Arto Jonsson wrote: > Hi, > > noticed this on -current (dated Dec 2) amd64: > > $ who | rs > Segmentation fault (core dumped) > > $ jot -r 100 | rs 10 10 > Segmentation fault (core dumped) > > I traced it to v1.10 of rs.c: > http://www.

rs(1) segmentation fault fix

2012-12-03 Thread Arto Jonsson
Hi, noticed this on -current (dated Dec 2) amd64: $ who | rs Segmentation fault (core dumped) $ jot -r 100 | rs 10 10 Segmentation fault (core dumped) I traced it to v1.10 of rs.c: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/rs/rs.c.diff?r1=1.9;r2=1.10;f=h Index: rs.c ===