cvs commit: src/usr.bin/tar write.c

Colin Percival cperciva at FreeBSD.org
Sat Jul 5 06:05:50 UTC 2008


cperciva    2008-07-05 06:05:34 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tar          write.c 
  Log:
  SVN rev 180281 on 2008-07-05 06:05:34Z by cperciva
  
  Clean up write_entry by eliminating fd except in the #ifdef __linux block
  where it is used. [1]
  
  Don't leak file descriptors in write_entry_backend if archive_write_header
  returns ARCHIVE_FAILED.
  
  Found by:       Coverity Prevent [1]
  
  Revision  Changes    Path
  1.74      +14 -13    src/usr.bin/tar/write.c


More information about the cvs-all mailing list