cvs commit: src/lib/libarchive archive_entry.c
Tim Kientzle
kientzle at FreeBSD.org
Fri Apr 23 10:15:49 PDT 2004
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
More information about the cvs-src
mailing list