]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Don't leak the file descriptor pointed to by `in` if the first call to
authorNgie Cooper <yanegomi@gmail.com>
Sun, 11 Dec 2016 00:24:35 +0000 (16:24 -0800)
committerNgie Cooper <yanegomi@gmail.com>
Sun, 11 Dec 2016 00:24:35 +0000 (16:24 -0800)
commitf1b1881dfed9e8f4b2487aa74f6d151b1047539f
tree9f652f700443b3b9335b3c1bf89c00635fc8ed5f
parente08543094231b9b209a5f0a48e87520a3083a011
Don't leak the file descriptor pointed to by `in` if the first call to
fgets fails.

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