diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-18 16:15:06 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-18 17:25:10 +0300 |
commit | 7b6da0ace7790682f61e5bfb560581151984f016 (patch) | |
tree | 8bc23854a3343de5ac347bb3eb410a4cc73ff83c /CMakeLists.txt | |
parent | 4c3d486f6939bd5da1c89a798cd81cbc696fc06a (diff) |
Jpeg: Fix write past array boundary
Was happening when image buffer had cryptomatte pass, which can easily
exceed 530 bytes used by the buffer.
Now default buffer is bumped to 1K, and also allowed to be heap-allocated
when really need bigger buffer.
Possible optimization is to allocate buffer once, but in practice those
re-allocations will not happen often, so keeping code simpler is not an
issue. Just something for a rainy day.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions