Linux Foundation Collaborative Projects
index
:
agl-service-can-low-level
dab
eel
flounder
guppy
halibut
icefish
jellyfish
koi
lamprey
marlin
master
needlefish
next
octopus
pike
quillback
ricefish
sandbox/DDTLK/autobuild
sandbox/DDTLK/fix-tests
sandbox/claneys/SPEC-3204
sandbox/claneys/modular-low-can
sandbox/excale/wip
sandbox/walzert/agl-service-can-low-level
sandbox/walzert/can_build_icefish
sandbox/ydimitrov/revised_comments
sandbox/zheng_wenlong/als2019
Low level CAN service made to decode and write on CAN bus.
Grokmirror user
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
pb_decode.c
Age
Commit message (
Expand
)
Author
Files
Lines
2014-09-11
Protect against size_t overflows in pb_dec_bytes/pb_dec_string.
Petteri Aimonen
1
-7
/
+13
2014-09-11
Add just-to-be-sure check to allocate_field().
Petteri Aimonen
1
-5
/
+11
2014-09-11
Fix memory leak with duplicated fields and PB_ENABLE_MALLOC.
Petteri Aimonen
1
-44
/
+60
2014-09-11
Fix crash in pb_release() if called twice on same message.
Petteri Aimonen
1
-10
/
+15
2014-08-18
Rename UNUSED() and STATIC_ASSERT() macros with PB_ prefix.
Petteri Aimonen
1
-4
/
+4
2014-08-18
Change the _count fields to use pb_size_t datatype.
Petteri Aimonen
1
-11
/
+29
2014-08-10
Switch pb_encode to use the common iterator logic in pb_common.c
Petteri Aimonen
1
-12
/
+10
2014-08-10
Separate field iterator logic from pb_decode to pb_common.
Petteri Aimonen
1
-109
/
+31
2014-06-02
Make clearer that size = 0 in allocate_field() is not allowed.
Petteri Aimonen
1
-17
/
+12
2014-06-02
Don't use SIZE_MAX macro, as it is not in C89.
Petteri Aimonen
1
-1
/
+2
2014-05-17
Fix security issue with PB_ENABLE_MALLOC.
Petteri Aimonen
1
-2
/
+22
2014-04-05
Add a 'found' field to pb_extension_t.
Petteri Aimonen
1
-2
/
+1
2014-04-02
Add some missing 'static' specifiers
Petteri Aimonen
1
-9
/
+8
2014-04-02
Fix splint warnings, add splint test case
Petteri Aimonen
1
-8
/
+8
2014-03-17
More configuration options for dynamic alloc
Petteri Aimonen
1
-3
/
+3
2014-03-16
Documentation updates
Petteri Aimonen
1
-1
/
+9
2014-03-15
Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically.
Petteri Aimonen
1
-41
/
+17
2014-03-12
Add pb_release() function
Petteri Aimonen
1
-18
/
+96
2014-03-10
More fixes for dynamic allocation
Petteri Aimonen
1
-41
/
+65
2014-02-25
Bugfixes for dynamic allocation
Petteri Aimonen
1
-13
/
+39
2014-02-24
Beginnings of malloc support in pb_decode
Petteri Aimonen
1
-5
/
+138
2013-12-21
Add PB_LTYPE_UVARINT to fix encoding of negative int32 values.
Petteri Aimonen
1
-3
/
+21
2013-11-14
Optimize the common case of 1-byte reads for varints.
Petteri Aimonen
1
-3
/
+23
2013-10-29
Remove the NANOPB_INTERNALS functions from public API.
Petteri Aimonen
1
-0
/
+9
2013-10-29
Declare static functions before use.
Petteri Aimonen
1
-12
/
+31
2013-10-29
Cleanup of comments.
Petteri Aimonen
1
-7
/
+8
2013-10-29
Rename some internal functions to have unique names
Petteri Aimonen
1
-2
/
+2
2013-07-17
Extension support implemented for decoder.
Petteri Aimonen
1
-2
/
+94
2013-07-16
Check for empty message type before incrementing required_field_index.
Kent Ryhorchuk
1
-3
/
+3
2013-07-06
Add pb_decode_delimited and pb_encode_delimited wrapper functions.
Petteri Aimonen
1
-0
/
+13
2013-04-14
Fix bug with empty strings in repeated string callbacks.
Petteri Aimonen
1
-2
/
+2
2013-04-08
Avoid maybe-uninitialized warning
Petteri Aimonen
1
-4
/
+6
2013-04-02
Change the callback function to use void**.
Petteri Aimonen
1
-2
/
+8
2013-03-09
Add PB_SYSTEM_HEADER compile time option.
Petteri Aimonen
1
-1
/
+0
2013-03-09
Rename pb_field_iterator_t field 'current' to 'pos'.
Petteri Aimonen
1
-38
/
+38
2013-03-09
Fix additional bug with empty message types.
Petteri Aimonen
1
-0
/
+3
2013-03-09
Fix bug with decoding empty message types. Add test for the same.
Petteri Aimonen
1
-1
/
+1
2013-02-20
Separate PB_HTYPE to PB_ATYPE and PB_HTYPE.
Petteri Aimonen
1
-66
/
+94
2013-02-20
Rename PB_HTYPE_ARRAY -> PB_HTYPE_REPEATED.
Petteri Aimonen
1
-4
/
+4
2013-02-07
Fix error message bugs with packed arrays.
Petteri Aimonen
1
-3
/
+9
2013-02-07
Fix compiler warning on MSVC (issue #57)
Petteri Aimonen
1
-1
/
+1
2013-02-06
Use unsigned datatypes where appropriate.
Petteri Aimonen
1
-9
/
+9
2013-02-06
Improve the pb_decode_varint implementations.
Petteri Aimonen
1
-18
/
+40
2013-02-06
Avoid unnecessary looping in required fields check.
Petteri Aimonen
1
-7
/
+26
2013-02-06
Add compile-time option PB_BUFFER_ONLY.
Petteri Aimonen
1
-0
/
+11
2013-02-05
Make pb_decode_varint32 a separate implementation.
Petteri Aimonen
1
-4
/
+14
2013-02-05
Performance improvement: replace memcpy with loop.
Petteri Aimonen
1
-2
/
+5
2013-01-16
Oops, typoed #ifdef; again fixing previous commit.
Petteri Aimonen
1
-1
/
+1
2013-01-16
Put previous commit (issue 52) inside #ifndef
Petteri Aimonen
1
-0
/
+3
2013-01-16
Fix bug with error messages.
Petteri Aimonen
1
-0
/
+1
[next]