PATCH wine/controls/button.c paint_button() : "style" range checking

Vincent Pelletier subdino2004 at
Wed Feb 18 15:14:49 CST 2004

Checks for out-of-range value in "style" (paint_button function):
must be style<MAX_BTN_TYPE or memory violation (reading unpredictable 
btyes) occurs, and as it's then used as a function address that could 
lead to random code execution.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: button.diff
Type: text/x-patch
Size: 1038 bytes
Desc: not available
Url :

More information about the wine-patches mailing list