cvs commit: src/usr.sbin/portsnap/make_index make_index.c

Colin Percival cperciva at
Sun Nov 20 00:50:31 GMT 2005

cperciva    2005-11-20 00:50:30 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/portsnap/make_index make_index.c 
  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

More information about the cvs-src mailing list