Revert "lzo: properly check for overruns"
authorWilly Tarreau <w@1wt.eu>
Sat, 27 Sep 2014 10:31:36 +0000 (12:31 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 14 Dec 2014 16:23:45 +0000 (16:23 +0000)
commit6656d18e26a1b2b39740d474e9081d086a60cfd6
treeff59ae2e91d2c59fcc6ba19d36fb644fbfa7ba86
parentfbfb4b2d36329c11a7c889ceb8cfba55bb764dce
Revert "lzo: properly check for overruns"

commit af958a38a60c7ca3d8a39c918c1baa2ff7b6b233 upstream.

This reverts commit 206a81c ("lzo: properly check for overruns").

As analysed by Willem Pinckaers, this fix is still incomplete on
certain rare corner cases, and it is easier to restart from the
original code.

Reported-by: Willem Pinckaers <willem@lekkertech.net>
Cc: "Don A. Bailey" <donb@securitymouse.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
lib/lzo/lzo1x_decompress_safe.c