mbarbon / google-protobuf-dynamic

Fast and complete Perl protobuf implementation using uPB and Google .proto parser
35 stars 18 forks source link

Memory access violations in decoder cleanup #31

Closed edam closed 5 years ago

edam commented 5 years ago

The order of vector cleanup in Mapper::DecoderHandlers::on_end_sub_message() can cause the seen_oneof vector to be pop()ed too many times.

mbarbon commented 5 years ago

Fix has been merged, thanks!