]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Don't overrun `tmpdir` buffer with sprintf
authorNgie Cooper <yanegomi@gmail.com>
Sun, 11 Dec 2016 00:22:10 +0000 (16:22 -0800)
committerNgie Cooper <yanegomi@gmail.com>
Sun, 11 Dec 2016 00:22:10 +0000 (16:22 -0800)
commite08543094231b9b209a5f0a48e87520a3083a011
tree14c0a683617495e18380a6d88292ab85eaf2bec9
parentb7caec3e4cab2b1f16743c1df3e48d78a4daa4aa
Don't overrun `tmpdir` buffer with sprintf

If progname is sufficiently large enough, it would overflow the `tmpdir`
buffer, causing an illegal memory access

Reported by: Coverity
CID: 1331594
tar/test/main.c