avro: integer bounds aren't checked when decoding
Open
bug
- Dominant language
- Go
- Stars
- 95
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
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](https://github.com/heetch/avro/blob/d9f7babffa7e8ce6ec4956669b5c54c54d0d3a4e/decode.go#L111).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.