commit | 6a8811629e9aa611aa710162f9e02020bba52c87 | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@lougher.demon.co.uk> | Wed Sep 23 15:57:37 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Sep 24 07:21:05 2009 -0700 |
tree | d3b8ff16950f5cda94b3259fbfa097aea9cb1e5f | |
parent | 3354f73b24c6d392ed7fd5583cfcc7604c1934ae [diff] |
lzma/gzip: fix potential oops when input data is truncated If the lzma/gzip decompressors are called with insufficient input data (len > 0 & fill = NULL), they will attempt to call the fill function to obtain more data, leading to a kernel oops. Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>