2 ms·
The Pillow library in Python detects for these sorts of attacks and just throws an error if an image tries to decode into something that's about 10x the size of
by ok123456 5y ago
The Pillow library in Python detects for these sorts of attacks and just throws an error if an image tries to decode into something that's about 10x the size of a UHD image. You run into these foils if you start dealing with scientific data and have to override these protections.