Fix access violation in "dotnet" module.
Changes taken from Closes
@@ -753,6 +753,9 @@ void dotnet_parse_tilde_2(
// Now follow the Type index into the MemberRef table.
memberref_row = memberref_ptr + (memberref_row_size * type_index);
+ if (!fits_in_pe(pe, memberref_row, memberref_row_size))
+ break;
+
if (index_sizes.memberref == 4)
{
// Low 3 bits tell us what this is an index into. Remaining bits
