Given this model
[MemoryPackable]
public partial class DefaultValue
{
public string? StringValue { get; set; }
}
The following input triggers an AccessViolationException in MemoryPackReader.ReadString().
var input = new byte[] { 1, 0, 0, 0, 128 };
MemoryPackSerializer.Deserialize<DefaultValue>(input);
Found with SharpFuzz