Skip to content

opj_tcd: fix heap buffer overflow encoding 16-bit images with TERMALL… - #1649

Open
0x30c4 wants to merge 1 commit into
uclouvain:masterfrom
0x30c4:fix/cblk-enc-buffer-termall-overflow
Open

opj_tcd: fix heap buffer overflow encoding 16-bit images with TERMALL…#1649
0x30c4 wants to merge 1 commit into
uclouvain:masterfrom
0x30c4:fix/cblk-enc-buffer-termall-overflow

Conversation

@0x30c4

@0x30c4 0x30c4 commented Jun 29, 2026

Copy link
Copy Markdown

… (-M) (#1648)

Bound the code-block encoder buffer by the maximum number of terminated coding passes (3 per bit-plane, <=31 bit-planes) instead of a hand-tuned constant that overflowed on 16-bit input with -M 4.

… (-M) (uclouvain#1648)

Bound the code-block encoder buffer by the maximum number of terminated
coding passes (3 per bit-plane, <=31 bit-planes) instead of a hand-tuned
constant that overflowed on 16-bit input with -M 4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant