avro icon indicating copy to clipboard operation
avro copied to clipboard

avro: Unmarshal should fail on extra data

Open rogpeppe opened this issue 5 years ago • 2 comments

If there's more data in the buffer than needed, Unmarshal will succeed, but it should probably fail.

rogpeppe avatar Jan 24 '20 12:01 rogpeppe

@rogpeppe could you specify better the context of the issue and reopen it in this case :pray: ? Thanks a lot!

sixstone-qq avatar Jul 08 '20 10:07 sixstone-qq

Here's an example of when if succeeds but should probably fail: https://play.golang.org/p/T2Uict2TvqE

I can't reopen the issue because I don't have write access to the repo :)

rogpeppe avatar Jul 08 '20 14:07 rogpeppe