]> git.ipfire.org Git - thirdparty/libarchive.git/commit
error_number sometime is not initialized. (#1141)
authorPatrick Cheng <patcheng@users.noreply.github.com>
Wed, 20 Feb 2019 00:57:47 +0000 (16:57 -0800)
committerMartin Matuška <martin@matuska.org>
Wed, 20 Feb 2019 00:57:47 +0000 (01:57 +0100)
commit2c65d83fa2dba8861e8ae0e1bebe771ad2d478a2
tree451bf3cbf93dced2b2ece1ecba5abb881f96f5f9
parentbe92846ba46e1abc87482be74f74c2f54a3b9ad9
error_number sometime is not initialized. (#1141)

clang analyzer flagged this.

in check_symlinks_fsobj, if open() failed, the function exits without
setting a_eno and a_estr.
libarchive/archive_write_disk_posix.c