• Alexander Alekhin's avatar
    imgcodecs(webp): multiple fixes · 0515f930
    Alexander Alekhin authored
    - don't reallocate passed 'img' (test fixed - must use IMREAD_UNCHANGED / IMREAD_ANYCOLOR)
    - avoid memory DDOS
    - avoid reading of whole file during header processing
    - avoid data access after allocated buffer during header processing (missing checks)
    - use WebPFree() to free allocated buffers (libwebp >= 0.5.0)
    - drop unused & undefined `.close()` method
    - added checks for channels >= 5 in encoder
    0515f930
Name
Last commit
Last update
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...