1
0
Fork 0
remarkable-linux/lib/zlib_inflate
Guenter Roeck da5e108b02 lib/zlib_inflate/inftrees.c: fix potential buffer overflow
smatch says:

  WARNING: please, no spaces at the start of a line
  #30: FILE: lib/zlib_inflate/inftrees.c:112:
  +    for (min = 1; min < MAXBITS; min++)$

  total: 0 errors, 1 warnings, 8 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

./patches/zlib-inflate-fix-potential-buffer-overflow.patch has style problems, please review.

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-05-08 17:15:12 -07:00
..
Makefile [ZLIB]: Fix external builds of zlib_inflate code. 2007-10-11 22:17:20 -07:00
inffast.c inflate_fast: sout is already a short so ptr arith was off by one. 2010-03-12 15:52:44 -08:00
inffast.h
inffixed.h
inflate.c zlib: clean up some dead code 2014-08-06 18:01:24 -07:00
inflate.h bzip2/lzma: library support for gzip, bzip2 and lzma decompression 2009-01-04 15:53:34 -08:00
inflate_syms.c [ZLIB]: Move bnx2 driver gzip unpacker into zlib. 2007-10-10 16:53:57 -07:00
inftrees.c lib/zlib_inflate/inftrees.c: fix potential buffer overflow 2017-05-08 17:15:12 -07:00
inftrees.h bzip2/lzma: library support for gzip, bzip2 and lzma decompression 2009-01-04 15:53:34 -08:00
infutil.c [ZLIB]: Fix external builds of zlib_inflate code. 2007-10-11 22:17:20 -07:00
infutil.h