]> git.karo-electronics.de Git - karo-tx-linux.git/commit
unlzo: Fix input buffer free
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 30 Nov 2011 04:12:10 +0000 (15:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:14:10 +0000 (15:14 +1100)
commit8fd3cfd085888dc8f8aeabac1cfde03fd0592f25
treee285e5e5643dde7780646ece52cc066bc8246088
parentb1791d8fa34582ad7a68acce7324d8857efd3300
unlzo: Fix input buffer free

unlzo modifies the pointer to in_buf, so we have to free the original
buffer, not the modified pointer.  This only happens when a fill function
is passed, a case which is currently unused in the kernel.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/decompress_unlzo.c