Repository navigation
Security
- fix(vipsprocessor): check the BMP header dimensions before decoding —
golang.org/x/image/bmpallocates the pixel buffer from the dimensions in the header, before imagor'sMaxWidth/MaxHeight/MaxResolutionlimits were applied. A small BMP that declares huge dimensions could therefore exhaust memory on the fallback path taken when libvips cannot load the BMP itself. Reported as GHSA-rgvc-95qr-8mm4; thanks @rluisr. - fix: do not allocate from the source's declared size by @cshum in #887
Full Changelog: v1.10.2...v1.10.4