Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2007 04:45:24 +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/lib/libarchive archive_read_support_format_tar.c
Message-ID:  <200705210445.l4L4jOUi003642@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cperciva    2007-05-21 04:45:24 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read_support_format_tar.c 
  Log:
  Don't test for NULL when it is both unnecessary (the pointer is checked
  against NULL when it is first allocated) and pointless (we've already
  dereferenced the pointer several times).
  
  Found by:       Coverity Prevent(tm)
  CID:            3204
  
  Revision  Changes    Path
  1.55      +1 -1      src/lib/libarchive/archive_read_support_format_tar.c



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