Re: [PATCH 1/2] crypto: lz4,lz4hc - fix decompression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 22, 2014 at 10:44:35AM +0200, KOVACS Krisztian wrote:
> The lz4 library has two functions for decompression, with slightly
> different signatures and behaviour. The lz4_decompress_crypto() function
> seemed to be using the one that assumes that the decompressed length is
> known in advance.
> 
> This patch switches to the other decompression function and makes sure
> that the length of the decompressed output is properly returned to the
> caller.
> 
> The same issue was present in the lz4hc algorithm.
> 
> Coincidentally, this change also makes very basic lz4 and lz4hc
> compression tests in testmgr pass.
> 
> Signed-off-by: KOVACS Krisztian <hidden@xxxxxxxxxx>

Both patches applied.  Thanks!
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux