Details
-
Bug
-
Resolution: Incomplete
-
Major
-
None
Description
In several cases UINT variables are reciving negative INT values.
A list of these bugs under this line:
=== MenuButtonUp ===
http://doxygen.reactos.org/d2/d74/user32_2windows_2menu_8c_source.html#l02634
Variable: Uint Id
Recives negative values from: NtUserMenuItemFromPoint
===MenuMoveMouse ===
http://doxygen.reactos.org/d2/d74/user32_2windows_2menu_8c_source.html#l02755
Variable: Uint Index
Recives negative values from: NtUserMenuItemFromPoint
===src_register===
http://doxygen.reactos.org/d8/d98/st__glsl__to__tgsi_8cpp_a738629fb8497607a433533d12ec260a4.html#a738629fb8497607a433533d12ec260a4
index is defined as unsigned int.
Mesa will never reach
04027 if (index < 0)
==co_IntSetScrollInfo==
http://doxygen.reactos.org/d4/ddf/ntuser_2scrollbar_8c_a1309761ab4127519c60a57be43bc9197.html#a1309761ab4127519c60a57be43bc9197
UINT nPage;
00427 /* Make sure the page size is valid */
00428 if (Info->nPage < 0)
00429
00432 else
This check is not needed( basically the dev is forcing nPage to be 0 in case it is negative, but it is an UINT).