You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avro deserialiser can cause stack overflow exception when deserialising crafted message.
How to reproduce?
public class TestMessage
{
public string Body { get; set; }
}
var msg = new TestMessage { Body = "OK" };
var data = AvroConvert.Serialize(msg);
data[5] = 0x67;
var msg2 = AvroConvert.Deserialize<TestMessage>(data); // crashes here
What is the Avro data? Fill up the section or provide a sample file
What is the bug?
Avro deserialiser can cause stack overflow exception when deserialising crafted message.
How to reproduce?
What is the Avro data? Fill up the section or provide a sample file
What is the expected behavior?
throw exception that is easy to catch, not StackOverflow exception.
What could be the reason of the bug?
The text was updated successfully, but these errors were encountered: