Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2007 15:12:52 +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/test Makefile read_open_memory.c test.h
Message-ID:  <200707131512.l6DFCqD3097028@repoman.freebsd.org>

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

  FreeBSD src repository

  Modified files:
    lib/libarchive/test  Makefile test.h 
  Added files:
    lib/libarchive/test  read_open_memory.c 
  Log:
  New file "read_open_memory.c" is a custom variant of
  archive_read_open_memory.c that tries to test border
  cases.  In particular, it copies over each returned block
  so that formats or decompressors that read past the end
  of a returned block will break.
  
  Approved by: re (blanket, libarchive test suite)
  
  Revision  Changes    Path
  1.10      +2 -1      src/lib/libarchive/test/Makefile
  1.1       +148 -0    src/lib/libarchive/test/read_open_memory.c (new)
  1.5       +3 -0      src/lib/libarchive/test/test.h



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