]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Check the position before dereferencing the pointer.
authorTim Kientzle <kientzle@gmail.com>
Thu, 17 Nov 2011 05:38:07 +0000 (00:38 -0500)
committerTim Kientzle <kientzle@gmail.com>
Thu, 17 Nov 2011 05:38:07 +0000 (00:38 -0500)
commitc4ba4e9e080aa97726b0bd088e989b6cd6bbc9bc
tree0796a3be91cde6ae2f4a608f381ad7cc8415352d
parent02db3227be2650086ff0db909d6e58c723be3af1
Check the position before dereferencing the pointer.
This avoids dereferencing one byte past the end of a string.

SVN-Revision: 3799
libarchive/archive_string.c