Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-05-17 | Fix bug in alltypes test case that made fuzzing difficult. | Petteri Aimonen | 5 | -0/+7 | |
2014-05-17 | Fix security issue with PB_ENABLE_MALLOC. | Petteri Aimonen | 1 | -2/+22 | |
The multiplication in allocate_field could potentially overflow, leading to allocating too little memory. This could subsequently allow an attacker to cause a write past the buffer, overwriting other memory contents. The attack is possible if untrusted message data is decoded using nanopb, and the message type includes a pointer-type string or bytes field, or a repeated numeric field. Submessage fields are not affected. This issue only affects systems that have been compiled with PB_ENABLE_MALLOC enabled. Only version nanopb-0.2.7 is affected, as prior versions do not include this functionality. Update issue 117 Status: FixedInGit | |||||
2014-04-26 | Docs update, remove malloc from limitations list | Petteri Aimonen | 1 | -1/+0 | |
2014-04-18 | Add option to not add timestamps to .pb.h and .pb.c preambles. | Petteri Aimonen | 1 | -2/+10 | |
Patch by rusnakp. Update issue 115 Status: FixedInGit | |||||
2014-04-15 | Fix typos in scons command line options | Petteri Aimonen | 1 | -2/+2 | |
2014-04-15 | Remove -O0 from tests CFLAGS so that optimized builds can be tested also | Petteri Aimonen | 1 | -4/+4 | |
2014-04-09 | Fix bug in missing_fields test case | Petteri Aimonen | 1 | -2/+5 | |
2014-04-09 | Use -fsanitize=undefined when running tests with clang | Petteri Aimonen | 1 | -3/+13 | |
2014-04-07 | Setting version to 0.2.8-dev | Petteri Aimonen | 2 | -2/+2 | |
2014-04-07 | Publishing nanopb-0.2.7 | Petteri Aimonen | 2 | -2/+2 | |
2014-04-07 | Update changelog | Petteri Aimonen | 1 | -0/+8 | |
2014-04-05 | Add rule for building coverage summary using lcov. | Petteri Aimonen | 6 | -18/+49 | |
Also modified a few tests to be more compatible with coverage information, so that they use the same pb_encode/decode.c instead of making a copy. | |||||
2014-04-05 | Fix unused parameter warning when building without errmsg. | Petteri Aimonen | 1 | -1/+5 | |
2014-04-05 | Add a convenience function pb_get_encoded_size() | Petteri Aimonen | 3 | -0/+24 | |
There is minimal size penalty from this, and it is probably much more intuitive to use than PB_OSTREAM_SIZING itself. This has been suggested before also, but I ended up refusing it back them. Reconsidering it now, I see that an intuitive API is much better than any amount of documentation explaining a non-intuitive API. Update issue 16 Status: FixedInGit | |||||
2014-04-05 | Add a 'found' field to pb_extension_t. | Petteri Aimonen | 4 | -2/+8 | |
Update issue 112 Status: FixedInGit | |||||
2014-04-02 | Add some missing 'static' specifiers | Petteri Aimonen | 3 | -22/+16 | |
Update issue 91 Status: FixedInGit | |||||
2014-04-02 | Fix splint warnings, add splint test case | Petteri Aimonen | 4 | -11/+60 | |
2014-04-01 | Fix compile error when default value given for extension field. | Petteri Aimonen | 2 | -1/+3 | |
Update issue 111 Status: FixedInGit | |||||
2014-03-18 | Add stdlib.h to pb_syshdr.h for dynamic allocation | Petteri Aimonen | 2 | -0/+12 | |
2014-03-17 | More configuration options for dynamic alloc | Petteri Aimonen | 2 | -3/+17 | |
2014-03-16 | Documentation updates | Petteri Aimonen | 4 | -8/+63 | |
2014-03-15 | Finish the alltypes_pointer testcase, use valgrind if available. | Petteri Aimonen | 4 | -168/+90 | |
2014-03-15 | Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically. | Petteri Aimonen | 7 | -77/+59 | |
This makes the internal logic much simpler, and also keeps the datatypes more similar between STATIC/POINTER cases. It will still be a bit cumbersome to use because of variable length array member. Macros PB_BYTES_ARRAY_T(n) and PB_BYTES_ARRAY_T_ALLOCSIZE(n) have been added to make life a bit easier. This has the drawback that it is no longer as easy to use externally allocated byte array as input for bytes field in pointer mode. However, this is still easy to do using callbacks, so it shouldn't be a large issue. | |||||
2014-03-12 | Add pb_release() function | Petteri Aimonen | 5 | -38/+185 | |
2014-03-10 | More fixes for dynamic allocation | Petteri Aimonen | 3 | -66/+93 | |
2014-02-25 | Bugfixes for dynamic allocation | Petteri Aimonen | 1 | -13/+39 | |
2014-02-24 | Beginnings of malloc support in pb_decode | Petteri Aimonen | 4 | -6/+362 | |
2014-02-15 | Setting version to 0.2.7-dev | Petteri Aimonen | 2 | -2/+2 | |
2014-02-15 | Publishing nanopb-0.2.6 | Petteri Aimonen | 2 | -2/+2 | |
2014-02-12 | Update changelog | Petteri Aimonen | 1 | -0/+8 | |
2014-02-12 | Move descriptor.proto to google/protobuf directory where it belongs. | Petteri Aimonen | 5 | -5/+5 | |
This fixes some interoperability problems when trying to compile nanopb.proto for e.g. the Google's C++ library. Update issue 104 Status: FixedInGit | |||||
2014-02-12 | Add test case for package names defined in .proto file. | Petteri Aimonen | 1 | -0/+36 | |
2014-02-12 | Improve status/error reporting in generator. | Petteri Aimonen | 1 | -11/+19 | |
Update issue 105 Status: FixedInGit | |||||
2014-02-10 | Add AllTypes decoding test with callbacks. | Petteri Aimonen | 2 | -1/+427 | |
Update issue 99 Status: FixedInGit | |||||
2014-02-09 | Add AllTypes encoding test for callbacks (issue #99) | Petteri Aimonen | 3 | -0/+420 | |
Still need to do the decoding side. | |||||
2014-02-05 | Extreme negative integer constants are a bit nasty to define in C, just ↵ | Petteri Aimonen | 1 | -2/+2 | |
avoid the trouble in tests for now. | |||||
2014-02-04 | Add coments to places where STATIC_ASSERT is used. | Petteri Aimonen | 2 | -13/+37 | |
Update issue 96 Status: FixedInGit | |||||
2014-02-04 | Add proper suffixes for integer default values. | Petteri Aimonen | 2 | -10/+16 | |
Update issue 102 Status: FixedInGit | |||||
2014-02-04 | Add strict-aliasing GCC warnings for core | Petteri Aimonen | 1 | -0/+1 | |
2014-01-03 | Fix problem with callback-type fields (issue #99). | Petteri Aimonen | 1 | -0/+1 | |
2014-01-01 | Setting version to 0.2.6-dev | Petteri Aimonen | 2 | -2/+2 | |
2014-01-01 | Publishing nanopb-0.2.5 | Petteri Aimonen | 3 | -2/+9 | |
2014-01-01 | Fix Makefiles for the examples | Petteri Aimonen | 3 | -0/+6 | |
The default rules for make were being selected before our own rules and the .pb.c was not being built. | |||||
2013-12-29 | Fix bundled protoc detection in scons script | Petteri Aimonen | 1 | -3/+4 | |
2013-12-29 | And same fixes on Mac also.. | Petteri Aimonen | 1 | -2/+2 | |
2013-12-29 | Make the Mac OS X package a .zip instead | Petteri Aimonen | 1 | -1/+1 | |
2013-12-29 | Fix spaces in paths on Windows also | Petteri Aimonen | 2 | -2/+2 | |
2013-12-29 | Fix handling spaces in directory name | Petteri Aimonen | 2 | -4/+4 | |
2013-12-29 | Fix build on Windows | Petteri Aimonen | 1 | -2/+4 | |
2013-12-29 | Fix protoc-gen-nanopb when the path contains spaces | Petteri Aimonen | 1 | -1/+2 | |