]> git.ipfire.org Git - thirdparty/libarchive.git/commit
RAR5 reader: fix unsafe sign check of a bitwise operation.
authorMartin Matuska <martin@matuska.org>
Sat, 18 Jan 2020 00:18:43 +0000 (01:18 +0100)
committerMartin Matuska <martin@matuska.org>
Sat, 18 Jan 2020 00:23:49 +0000 (01:23 +0100)
commit06721c2ad050be144e4cc1719f197fbcfba438eb
treedd6cba92f5f54beaee74c040fa98d9fb233b07d6
parent9f67e742b55e83b10b3dcf2df263c6bf43970e91
RAR5 reader: fix unsafe sign check of a bitwise operation.

This has no but code correctness effect as cdeque_init() is static
and max_capacity_power_of_2 in our code is always 8192.

Found by LGTM.com code analysis
libarchive/archive_read_support_format_rar5.c