diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-09-06 18:21:58 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-09-11 19:22:57 +0300 |
commit | 13a07e35b6b5f813078bde6a1a17d05f017bf714 (patch) | |
tree | 612468a4d0602ba3f25b810b023526ac65c5eb48 /generator | |
parent | 0dce9ef635f8af1b9aa07a43f610295bca8954da (diff) |
Fix crash in pb_release() if called twice on same message.
There was a double-free bug in pb_release() because it didn't set size fields
to zero after deallocation. Most commonly this happens if pb_decode() fails,
internally calls pb_release() and then application code also calls pb_release().
Diffstat (limited to 'generator')
0 files changed, 0 insertions, 0 deletions