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.