What steps will reproduce the problem?
1. Generate a message with max_count set for an array.
2. Assign a ridiculously large value to the mymsg.fooarray_count.
3. Nanopb goes happily reading past the structure.
What is the expected output? What do you see instead?
This is kind of an user error, "garbage in, garbage out". But it would be
trivially simple to detect, and return an error message instead.
Original issue reported on code.google.com by Petteri.Aimonen on 27 Sep 2013 at 9:23
Original issue reported on code.google.com by
Petteri.Aimonen
on 27 Sep 2013 at 9:23