aboutsummaryrefslogtreecommitdiff
path: root/lib/zlib_inflate/inftrees.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: zlib_inflage: fixed potential buffer overflowPaul Taysom2017-04-111-2/+3
| | | | | | | | | | | | | | | smatch error from arm build: arch/arm/boot/compressed/../../../../lib/zlib_inflate/inftrees.c:240 zlib_inflate_table() error: buffer overflow 'count' 16 <= 16 Because min is later assigned to len in zlib_inflate_table, by switching the tests around, min always stays in bounds. BUG=chromium:237705 TEST=FEATURES=test emerge-$B chromeos-kernel-next Signed-off-by: Paul Taysom <taysom@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/59426 Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
* first commitMeizu OpenSource2016-08-151-0/+315