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 }}
Repository navigation
getimagesize(): JPEG 2000 Csiz is accepted without component descriptors #25960
The JPC parser reads Csiz at ext/standard/image.c:627, then loops over that count at line 635 without requiring 3 * Csiz available descriptor bytes or checking the reads at lines 636-643. Since Csiz = 3 requires nine component-descriptor bytes, this truncated codestream must be rejected instead of returning three channels.
Activity