diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-23 02:22:56 +0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-23 22:31:46 +0400 |
commit | 01cb62aba2503b4173f101154f9f840f04f9c7f8 (patch) | |
tree | 777f4b3e98bac9d0061e60c879f4ffa9bc0026ca /cmdutils.c | |
parent | 1d8c4af396b6ed84c84b5ebf0bf1163c4a7a3017 (diff) |
lcl: don't overwrite input memory.
If the PNG filter is enabled, a PNG-style filter will run over the
input buffer, writing into the buffer. Therefore, if no zlib compression
was used, ensure that we copy into a temporary buffer, otherwise we
overwrite user-provided input data.
Diffstat (limited to 'cmdutils.c')
0 files changed, 0 insertions, 0 deletions