babl icon indicating copy to clipboard operation
babl copied to clipboard

FrameDecoder doesn't handle medium-sized frames properly

Open Crokoking opened this issue 4 years ago • 1 comments

When FrameDecoder determines the size of a medium-sized payload it uses Integer.toUnsignedLong() instead of Short.toUnsignedLong() potentially causing negative payload sizes and essentially breaking the connection.

Crokoking avatar Dec 06 '21 12:12 Crokoking

Hi, thanks for the report. We'll look at this when possible. In the mean time, feel free to submit a PR containing a fix.

epickrram avatar Jan 12 '22 13:01 epickrram