Fail with negative lha->compsize in lha_read_file_header_1() Fixes a heap buffer... 83/134783/1 submit/tizen_base/20170620.051947
authorMartin Matuska <martin@matuska.org>
Thu, 19 Jan 2017 21:00:18 +0000 (22:00 +0100)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 20 Jun 2017 04:24:01 +0000 (13:24 +0900)
commit64f70328ec28c3b405b7e498ef84da632400791c
tree883ea38d03156fac8206c996cbedb36356ba6226
parenteed4fe1dff659918000f38c1586118ddc61c35f9
Fail with negative lha->compsize in lha_read_file_header_1() Fixes a heap buffer overflow reported in Secunia SA74169

Change-Id: Ifd42aa5e066d5ac401c934406552ae0fa311730e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
libarchive/archive_read_support_format_lha.c