]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Issue 398: Overlapping memcpy
authorTim Kientzle <kientzle@acm.org>
Sat, 7 Feb 2015 07:00:30 +0000 (23:00 -0800)
committerTim Kientzle <kientzle@acm.org>
Sat, 7 Feb 2015 07:00:30 +0000 (23:00 -0800)
commitb6ba56037f0da44efebfa271cc4b1a736a74c62f
treee4dcd6c7b236c25bc45f470c4b8b374b3416c0c4
parentb2e2abbb13ddcd962470cc1adb43b085f6e407a4
Issue 398: Overlapping memcpy

Some of the pathname edits parse a part of the pathname
in the entry, then try to set the pathname from that part.
This leads the text routines to memcpy() from within the
string buffer.

Avoid this by simply using memmove() for low-level string append
operations.
CMakeLists.txt
configure.ac
libarchive/archive_string.c