cperciva 2005-11-20 00:50:30 UTC
FreeBSD src repository
Modified files:
usr.sbin/portsnap/make_index make_index.c
Log:
An empty file does not have a positive number of lines.
Make sure that the number of lines read is non-zero before in order to
avoid dumping core.
Reported by: Wojciech A. Koszek
Pointy hat to: cperciva
Revision Changes Path
1.4 +7 -0 src/usr.sbin/portsnap/make_index/make_index.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"