Date: Fri, 23 Apr 2004 10:15:48 -0700 (PDT) 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_entry.c Message-ID: <200404231715.i3NHFm0S007521@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2004/04/23 10:15:48 PDT FreeBSD src repository Modified files: lib/libarchive archive_entry.c Log: Make clone more aggressive about copying strings to the new entry. The original might have pointers to user-specified strings; copying the string (instead of just the pointer) protects against the client re-using their own buffers. I'm trying hard to avoid dumping all of the 'set' string functions in favor of slower, but more predictable 'copy' semantics. Revision Changes Path 1.9 +9 -9 src/lib/libarchive/archive_entry.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404231715.i3NHFm0S007521>