aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/init_encoder.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-02-02 14:51:06 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-02-02 14:51:06 +0200
commit1a3b21859818e4d8e89a1da99699233c1bfd197d (patch)
treef8904bce60857b0d74919ed4f2b658b24804c8b5 /src/liblzma/common/init_encoder.c
parentDo uncompressed size validation in raw encoder. This way (diff)
downloadxz-1a3b21859818e4d8e89a1da99699233c1bfd197d.tar.xz
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.
Diffstat (limited to 'src/liblzma/common/init_encoder.c')
0 files changed, 0 insertions, 0 deletions