Kent Ryhorchuk 3c10e6fa71 Check for empty message type before incrementing required_field_index.
If you have a message that defined as empty, but attempt to decode a
message that has one or more unknown fields then pb_decode fails. The
method used to count the number of required fields counts 1 required
field because the default type of PB_LAST_FIELD is PB_HTYPE_REQUIRED.
2013-07-16 11:07:48 +03:00
2013-02-11 22:03:14 +02:00
2013-04-14 10:04:46 +03:00
2012-01-06 19:04:49 +02:00

Nanopb is a small code-size Protocol Buffers implementation.

Homepage: http://kapsi.fi/~jpa/nanopb/

To compile the library, you'll need these libraries:
protobuf-compiler python-protobuf libprotobuf-dev

The only runtime dependencies are memset() and memcpy().

To run the tests, run make under the tests folder.
If it completes without error, everything is fine.
Description
Automatically exported from code.google.com/p/nanopb
Readme 1.2 MiB
Languages
C 71.7%
Python 23.1%
CMake 2.5%
Shell 1.8%
PureBasic 0.4%
Other 0.5%