mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-25 17:15:45 +08:00
The replicate-run branch reads the packet's data byte after only checking that one source byte remains, but it consumes two (the control byte plus the data byte). A BODY ending in a lone replicate control byte then reads one byte past the input buffer. Require two bytes left, matching the literal-run check above. Closes #26518.