16 May
2025
16 May
'25
11:13 a.m.
Rémi Bernon (@rbernon) commented about tools/widl/metadata.c:
{ i = (min + max) / 2; idx = &base[i]; + if (is_blob) len = len_encoded_int( buf_data->ptr + idx->offset );
c = cmp_data( data, size, buf_data->ptr + idx->offset + len, idx->size );
Shouldn't we check that the stored blob length matches the searched blob length? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8037#note_103605