Files
6gbvram---16gb-ram/crates
9hvn9yt2vk-netizen 72fbbc3f87 xma: stop at a zero-length frame instead of looping forever
next_frame walks the frames before `start` to learn whether the frame at
`start` is the packet's last. A damaged packet whose earlier frame has a
length of 0 never advanced `at`, so the walk spun forever (in a debug build
it overflowed `number` after about 4 billion rounds and panicked).

Apply the rule read_frame already uses: a length that does not cover its
own 15-bit field is not a frame, and the search ends.

Found with a random-input harness. The new test hangs without the fix and
passes at once with it.
2026-11-24 00:08:01 +01:00
..
2026-11-23 01:15:26 +01:00
2026-11-23 01:15:26 +01:00