CrowdStrike / csproto

CrowdStrike's Protocol Buffers library
MIT License
124 stars 13 forks source link

fix(decoder): address panic when decoding invalid/corrupt messages #96

Closed dylan-bourque closed 1 year ago

dylan-bourque commented 1 year ago

updated Decoder.DecodeBytes() to return an error if the decoded byte length is <0