Nanopb: pb_decode leaves an absent fixed_count array uninitialized, which leaks on encode

Fixed · medium · Memory-safety bug

If the user enables the fixed_count generator option and the destination is not zeroed, stale stack or heap bytes remain in the struct. A gateway that decodes and forwards messages can then send them in a re-encoded message.

Found: ; reported: ; status since: . Reporter: genproof team

Page for this report · Public report · Fix or proposed fix (see status)

Open in the showcase. Record generated .