Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2007 19:13:59 +0000 (UTC)
From:      Tim Kientzle <kientzle@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 archive_read_support_format_zip.c archive_string.c archive_string_sprintf.c archive_write_disk.c
Message-ID:  <200707151913.l6FJDxIx023353@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kientzle    2007-07-15 19:13:59 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read_support_format_tar.c 
                         archive_read_support_format_zip.c 
                         archive_string.c archive_string_sprintf.c 
                         archive_write_disk.c 
  Log:
  archive_string_ensure() used to call exit(3) if it
  couldn't allocate more memory for a string.  Change
  this so it returns NULL in that case, and update
  all of its callers to handle the error.  Some of
  those callers can now return errors back to the
  client instead of calling exit(3).
  
  Approved by: re (bmah)
  
  Revision  Changes    Path
  1.60      +12 -2     src/lib/libarchive/archive_read_support_format_tar.c
  1.14      +2 -1      src/lib/libarchive/archive_read_support_format_zip.c
  1.11      +6 -5      src/lib/libarchive/archive_string.c
  1.9       +3 -1      src/lib/libarchive/archive_string_sprintf.c
  1.13      +4 -1      src/lib/libarchive/archive_write_disk.c



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