mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-12 18:06:47 +01:00
The body_length field in the header is only one byte (byte 8). If it it is set to 256 it overflows to 0 wich results in a corrupt notification. So the maximum body length is 255.