Closed GoogleCodeExporter closed 9 years ago
Original comment by Petteri.Aimonen
on 11 Sep 2014 at 4:31
3) Possible heap corruption or remote code execution
Possible when all of the following apply:
- less than 64-bit platform
- The message or a submessage contains a pointer-type bytes field.
Causes a write of sizeof(pb_size_t) bytes of data past a 0-byte long
malloc()ed buffer. On many malloc() implementations, this causes at
most a crash. However, remote code execution through a controlled jump
cannot be ruled out.
Original comment by Petteri.Aimonen
on 11 Sep 2014 at 4:50
Fix released in nanopb-0.3.1
Original comment by Petteri.Aimonen
on 11 Sep 2014 at 5:13
Original issue reported on code.google.com by
Petteri.Aimonen
on 11 Sep 2014 at 3:52