avro icon indicating copy to clipboard operation
avro copied to clipboard

avro: integer bounds aren't checked when decoding

Open rogpeppe opened this issue 5 years ago • 0 comments

Currently if reading an integer type into a Go type that's smaller, we can get a silent overflow. We should check that and error if it happens. See relevant TODO in decode.go.

rogpeppe avatar Jan 24 '20 12:01 rogpeppe