Commit 40922ccd authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

msi: Avoid shift overflow in msi_view_get_row.

parent e27a4b5e
...@@ -354,7 +354,7 @@ UINT msi_view_get_row(MSIDATABASE *db, MSIVIEW *view, UINT row, MSIRECORD **rec) ...@@ -354,7 +354,7 @@ UINT msi_view_get_row(MSIDATABASE *db, MSIVIEW *view, UINT row, MSIRECORD **rec)
if ((type & MSI_DATASIZEMASK) == 2) if ((type & MSI_DATASIZEMASK) == 2)
MSI_RecordSetInteger(*rec, i, ival - (1<<15)); MSI_RecordSetInteger(*rec, i, ival - (1<<15));
else else
MSI_RecordSetInteger(*rec, i, ival - (1<<31)); MSI_RecordSetInteger(*rec, i, ival - (1u<<31));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment