You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2022. It is now read-only.
I got a runtime panic when trying to resize a jpeg image that has 4x1 Chroma Subsampling, aka. image.YCbCrSubsampleRatio411. In ycc.go, it seems the default is 444 if no other sample is matched, which causes an index out of range panic.
I have a reproducible test program and image, if desired.
The text was updated successfully, but these errors were encountered:
Friendly ping. This represents a DoS vector when the picture comes from an untrusted source. In my case it is creating a thumbnail from a user uploaded picture.
I got a runtime panic when trying to resize a jpeg image that has 4x1 Chroma Subsampling, aka. image.YCbCrSubsampleRatio411. In ycc.go, it seems the default is 444 if no other sample is matched, which causes an index out of range panic.
I have a reproducible test program and image, if desired.
The text was updated successfully, but these errors were encountered: