Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2007 16:30:41 +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.c archive_read_support_compression_none.c
Message-ID:  <200702051630.l15GUfIn080071@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cperciva    2007-02-05 16:30:41 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read.c 
                         archive_read_support_compression_none.c 
  Log:
  If (a == NULL), don't dereference (a) to record an error message. [1]
  
  Fallout from changing the skip API to use off_t instead of size_t: Print
  the skip length using %jd and cast to (intmax_t) instead of %d / (int),
  and if ARCHIVE_API_VERSION >= 2, allow the client skipper to be called
  for requests longer than SSIZE_MAX. [2]
  
  Approved by:    kientzle
  Pointy hats to: kientzle [1], cperciva [2]
  MFC after:      3 days
  
  Revision  Changes    Path
  1.29      +1 -3      src/lib/libarchive/archive_read.c
  1.14      +6 -1      src/lib/libarchive/archive_read_support_compression_none.c



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