Details
Description
libavro will segfault when decrypting a specially crafted (or corrupted) avro file when the discriminant is out of bounds.
There is already a check for < 0, but there is no upper bounds check.
I have attached a patch that checks the bounds.