]> icculus.org git repositories - icculus/xz.git/commit
Don't memzero() the history buffer when initializing LZ
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 2 Feb 2008 12:51:06 +0000 (14:51 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sat, 2 Feb 2008 12:51:06 +0000 (14:51 +0200)
commit1a3b21859818e4d8e89a1da99699233c1bfd197d
treef8904bce60857b0d74919ed4f2b658b24804c8b5
parent7e796e312bf644ea95aea0ff85480f47cfa30fc0
Don't memzero() the history buffer when initializing LZ
decoder. There's no danger of information leak here, so
it isn't required. Doing memzero() takes a lot of time
with large dictionaries, which could make it easier to
construct DoS attack to consume too much CPU time.
src/liblzma/lz/lz_decoder.c