[ros-bugs] [Bug 1600] calculator garbage values

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sun Jul 16 22:48:11 CEST 2006


http://www.reactos.org/bugzilla/show_bug.cgi?id=1600





------- Comment #4 from jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net  2006-07-16 22:48 CET -------
So,
The problem lies in MenuGetRosMenuItemInfo and MenuSetRosMenuItemInfo, it sets
the fMask to MIIM_BITMAP | MIIM_CHECKMARKS | MIIM_DATA | MIIM_FTYPE | MIIM_ID |
MIIM_STATE | MIIM_STRING | MIIM_SUBMENU | MIIM_TYPE. See the problem? It also
saves this mask for the menu item. So every junk pointer is assumed to be good
when setting the mask bits and then they are processed in win32k. I will fix
this so it will be more selective, prob add a Mask arg to all the
Get/SetRosMII. BTW, I did add new processing code(wine port) to
InSetMenuItemInfo (win32k) to catch these invalid combinations.
James


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.


More information about the Ros-bugs mailing list