cvs commit: src/usr.bin/tail reverse.c
Ian Dowse
iedowse at FreeBSD.org
Sun Mar 20 14:08:52 PST 2005
iedowse 2005-03-20 22:08:52 UTC
FreeBSD src repository
Modified files:
usr.bin/tail reverse.c
Log:
Don't skip the initialisation of tl->len when we hit an EOF immediately
after allocating a new buffer. This bug caused `tail -r < /dev/null'
to core dump when the `J' malloc option is set, and also affected
any other input that was an exact multiple of 128k.
Revision Changes Path
1.19 +2 -3 src/usr.bin/tail/reverse.c
More information about the cvs-src
mailing list