lib/lzo: bugfix when input data is not compressed
authorJoris Lijssens <joris.lijssens@gmail.com>
Fri, 17 Jun 2016 08:46:58 +0000 (10:46 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 24 Jun 2016 21:23:11 +0000 (17:23 -0400)
commita2cfc8d5935efd445d9f9b258383e2a42f83ef6e
treea746323ae52ed1c53f90282c3d02b5c79a399ecf
parent96044745cb8c086d47215f4aa7b4defb1d1fec57
lib/lzo: bugfix when input data is not compressed

When the input data is not compressed at all,
lzo1x_decompress_safe will fail, so call memcpy()
instead.

Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
lib/lzo/lzo1x_decompress.c