- Jul 22, 2013
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Jul 17, 2013
-
-
Petteri Aimonen authored
Testing is still needed. Also only 'optional' extension fields are supported now, 'repeated' fields are not yet supported.
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
- Jul 16, 2013
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Kent Ryhorchuk authored
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.
-
Petteri Aimonen authored
-
- Jul 06, 2013
-
-
Petteri Aimonen authored
Update issue 74 Status: FixedInGit
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Update issue 76 Status: FixedInGit
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Also add note about the 'packed' message option being incompatible with CPUs that do not support unaligned access. Update issue 12 Status: FixedInGit Update issue 77 Status: FixedInGit
-
Petteri Aimonen authored
-
- Jun 03, 2013
-
-
Petteri Aimonen authored
Patch from Michael Haberler.
-
- Apr 14, 2013
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
If the null terminator is not present, string will be limited to the data size of the field. If you are still using the pb_enc_string (deprecated since 0.1.3) from callbacks, now would be an excellent time to stop. The pb_field_t for the callback will not contain proper data_size. Use pb_encode_string() instead. Update issue 68 Status: FixedInGit
-
Petteri Aimonen authored
Fix suggested by Henrik Carlgren. Added also unit test for the bug. Update issue 73 Status: FixedInGit
-
- Apr 08, 2013
-
-
Petteri Aimonen authored
Patch from dch.
-
dch authored
-
dch authored
-
- Apr 02, 2013
-
-
Petteri Aimonen authored
The arg field can be used to store the field presence from inside the callback. Furthermore, having the has_ field for encoding callbacks would be more annoying than useful. Update issue 70 Status: FixedInGit
-
Petteri Aimonen authored
NOTE: This change breaks backwards-compatibility by default. If you have old callback functions, you can define PB_OLD_CALLBACK_STYLE to retain the old behaviour. If you want to convert your old callbacks to new signature, you need to do the following: 1) Change decode callback argument to void **arg and encode callback argument to void * const *arg. 2) Change any reference to arg into *arg. The rationale for making the new behaviour the default is that it simplifies the common case of "allocate some memory in decode callback". Update issue 69 Status: FixedInGit
-
- Mar 13, 2013
-
-
Petteri Aimonen authored
Update issue 67 Status: FixedInGit
-
Petteri Aimonen authored
Update issue 66 Status: FixedInGit
-
- Mar 09, 2013
-
-
Petteri Aimonen authored
-
Petteri Aimonen authored
This allows replacing the C99 standard include file names with a single system-specific file. It should provide all the necessary system functions (typedefs, memset, memcpy, strlen). Update issue 62 Status: FixedInGit
-
Petteri Aimonen authored
This avoids a name clash when compiling as Linux kernel module. Update issue 60 Status: FixedInGit
-
Petteri Aimonen authored
Update issue 7 Status: FixedInGit
-
Petteri Aimonen authored
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Update issue 12 Still needs documentation.
-
Petteri Aimonen authored
pb_field_next() would access past the fields array.
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Enable -fstack-protector-all to detect any stack smashing bugs. Also use test_decode3 for maximal vulnerable surface.
-
Petteri Aimonen authored
-
Petteri Aimonen authored
Note: the bug only applies to empty message types. Empty messages of non-empty message types are not affected. Update issue 65 Status: FixedInGit
-