tafia / quick-protobuf

A rust implementation of protobuf parser
MIT License
452 stars 87 forks source link

Fix guard condition for out of bound access #171

Closed lexxvir closed 4 years ago

lexxvir commented 4 years ago

Hi @tafia,

It seems the condition should be fixed to actually guard out of bound access into the self.buf.

tafia commented 4 years ago

Thanks!