usp10: Filter out DeltaFormat == 0 too, valid range is [1, 3].
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
66dce1e75f
commit
892393bb76
|
@ -1512,7 +1512,7 @@ static INT GPOS_get_device_table_value(const OT_DeviceTable *DeviceTable, WORD p
|
|||
|
||||
TRACE("device table, format %#x, index %i\n", format, index);
|
||||
|
||||
if (format & ~0x3)
|
||||
if (format < 1 || format > 3)
|
||||
{
|
||||
WARN("invalid delta format %#x\n", format);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue