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().
Loading
Please register or sign in to comment