Protect against corrupted _count fields in pb_release().
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Mon, 6 Jun 2016 18:01:22 +0000 (21:01 +0300)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Mon, 6 Jun 2016 18:01:22 +0000 (21:01 +0300)
commitbb52a7a3e1802a65e2347f3a7a48c6fb3bdc47e4
tree9eb0e6425a068a5619ac53b6b733384c2e4edcb2
parent3af7d0910b9660a270aa3279716596c7d7711671
Protect against corrupted _count fields in pb_release().

Fixes a potential security issue (#205). Only relevant if the user
code writes untrusted data to _count fields, but this is allowed as
per the security model.
pb_decode.c