[runtime] Store implmap_idx as a guint32 to avoid overflows if the implmap table...
authorZoltan Varga <vargaz@gmail.com>
Mon, 2 Oct 2017 21:31:00 +0000 (23:31 +0200)
committerMarek Safar <marek.safar@gmail.com>
Tue, 3 Oct 2017 08:40:26 +0000 (10:40 +0200)
mono/metadata/class-internals.h

index e3d9e18741752ec88e7136cda18776ea7d25c736..ed4190372cd80e57d5c04efc2927a0a40ba588ae 100644 (file)
@@ -111,7 +111,7 @@ struct _MonoMethodPInvoke {
        gpointer addr;
        /* add marshal info */
        guint16 piflags;  /* pinvoke flags */
-       guint16 implmap_idx;  /* index into IMPLMAP */
+       guint32 implmap_idx;  /* index into IMPLMAP */
 };
 
 /*