Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2008 18:09:26 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/tar write.c
Message-ID:  <200805191809.m4JI9Qlk096467@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cperciva    2008-05-19 18:09:26 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tar          write.c 
  Log:
  There's no way for entry to possibly be NULL at the end of write_entry
  (in fact, there has never been any way for it to be NULL, going all the
  way back to revision 1.1 of this file), so remove the check and
  unconditionally free entry.
  
  Found by:       Coverity Prevent
  
  Revision  Changes    Path
  1.68      +1 -2      src/usr.bin/tar/write.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805191809.m4JI9Qlk096467>