Description
Currently read_union_value() in value-read.c does not check if the discriminant it reads is valid in any way.
This can lead to SEGFAULTs after the use of avro_value_set_branch() as read_value() will attempt to read beyond or behind our dataum in memory.