Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2018-10-03 19:35:59 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2018-10-03 19:39:30 +0300
commit7e68eef1f001461ff4c8351237e2c9e34a10d645 (patch)
tree469bc0a32ef8f06bd416fce0c1df7f3376b4eeab /tests
parentcf99a1d5eb3209d632da23ba7a01749b3eb170a0 (diff)
Fix possible null-pointer dereference in decode_callback_field (#342)
This bug can only occur when all of the following apply: 1) Message contains extension fields and 2) the extension field is of callback type and 3) the pb_extension_t structure is defined, but the pointer to pb_callback_t is left as NULL. The correct behaviour in this case is that the field will be skipped. Further, for most compilers atleast and probably for all compilers, the bug will only occur if PB_OLD_CALLBACK_STYLE compilation option is specified.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions