aboutsummaryrefslogtreecommitdiff
path: root/pb_decode.c
AgeCommit message (Expand)Author
2021-03-20Fix invalid free() with oneof (#647)Petteri Aimonen
2020-12-03Backport "Verify stream size before allocating string / bytes." (#620)niooss-ledger
2020-11-25Fix memory leak with oneofs and PB_ENABLE_MALLOC (#615)Petteri Aimonen
2020-02-02Avoid overflows in allocation for packed fields.Petteri Aimonen
2020-02-01Fix invalid free() after failed realloc() (GHSA-gcx3-7m76-287p)Petteri Aimonen
2019-12-31Add workaround for avr-libc realloc() bug (#475)Petteri Aimonen
2019-10-02Fix undefined behavior with bool fields (#434)Petteri Aimonen
2019-08-27Don't call stream callback with count=0 (#421)Petteri Aimonen
2018-10-11Don't release fields of a callbackJari Vetoniemi
2018-10-03Fix possible null-pointer dereference in decode_callback_field (#342)Petteri Aimonen
2018-02-14Handle a single non-packed repeated fixed count fieldOliver Lee
2018-02-14Fix decoding of non-packable fixed count repeated fieldsOliver Lee
2018-02-14Allow fixed count repeated valuesOliver Lee
2018-01-09Fix comment stylePetteri Aimonen
2018-01-09Explicitly handle all enum values in switchRobbie Shade
2017-09-18Added pb_decode_delimited_noinitElco Jacobs
2017-09-16Add pb_en/decode_nullterminated() (part of #278)Petteri Aimonen
2017-09-16Add option to build without 64-bit support (issue #86)Petteri Aimonen
2017-09-15Properly detect truncated tags in corrupted messages (issue #277)Petteri Aimonen
2017-09-15Make pb_decode_varint32 overflow checks exact (issue #258)Petteri Aimonen
2017-06-15Fix segfault when decoding FT_CALLBACK field inside FT_POINTER (issue #259)Petteri Aimonen
2017-03-12Fix potential out-of-bounds read with more than 64 required fieldsPetteri Aimonen
2017-03-02Fix callback pointer corruption in proto3 mode (issue #249)Petteri Aimonen
2017-02-22Extend inline / fixed length bytes array support (issue #244)Petteri Aimonen
2017-01-12Fix closing a non-empty substream resulting in an incorrect stream stateTobba
2016-12-23Make pb_decode_varint32 public APITobba
2016-12-09Enable clang integer sanitizer and clean up a few warnings.Petteri Aimonen
2016-10-09Add proto3 option to handle singular fieldsBernhard Krämer
2016-08-04Add inline allocation of bytes fieldsTom Roeder
2016-06-06Protect against corrupted _count fields in pb_release().Petteri Aimonen
2016-01-27Fix a few remaining bugs related to CHAR_BIT!=8 platforms.Petteri Aimonen
2016-01-27Replace uint8_t with a pb_byte_t typedef.Petteri Aimonen
2016-01-26Get rid of type punning in pb_encode_fixedXX().Petteri Aimonen
2015-12-16pb_istream_from_buffer: add const to prototypeAndrew Ruder
2015-10-25Ignore null pointers in pb_release() (issue #183).Petteri Aimonen
2015-09-21decode: Fix compiler issue with gcc-5Kyle Manna
2015-04-03Clear callbacks for union fields.Petteri Aimonen
2015-03-07Fix oneof submessage initialization bug.Petteri Aimonen
2015-01-15Release memory when overwriting oneof fields.Petteri Aimonen
2015-01-11Bugfixes for oneof support.Petteri Aimonen
2015-01-04Implement support for oneofs (C unions).Petteri Aimonen
2015-01-04Detect too large varint values when decoding.Petteri Aimonen
2015-01-04Add int_size option for generator.Petteri Aimonen
2014-12-26Fix memory leaks with PB_ENABLE_MALLOC and certain submessage type combinations.Petteri Aimonen
2014-12-26Initialize also extension fields to defaults in pb_decode().Petteri Aimonen
2014-12-26Add support for POINTER type in extensionsPetteri Aimonen
2014-09-11Protect against size_t overflows in pb_dec_bytes/pb_dec_string.Petteri Aimonen
2014-09-11Add just-to-be-sure check to allocate_field().Petteri Aimonen
2014-09-11Fix memory leak with duplicated fields and PB_ENABLE_MALLOC.Petteri Aimonen
2014-09-11Fix crash in pb_release() if called twice on same message.Petteri Aimonen