Hans Leidekker (@hans) commented about dlls/rometadata/mdtables.c:
TRACE("(%p, %p, %lu)\n", iface, henum, idx);
- if (henum)
md_enum->row_cur = md_enum->row_start + idx;
- if (!henum) return S_OK;
- switch (md_enum->type)
- {
- case TOKEN_ENUM_RANGE:
md_enum->pos = md_enum->data.range.start + idx;break;- case TOKEN_ENUM_LIST:
md_enum->pos = idx;break;
No need to fix it now but at some point we want to validate idx.