[Bug 44294] New: Possible access to unintended macro in "wine/dlls/ comdlg32/fontdlg.c" line 592
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Jan 4 08:18:52 CST 2018
https://bugs.winehq.org/show_bug.cgi?id=44294
Bug ID: 44294
Summary: Possible access to unintended macro in
"wine/dlls/comdlg32/fontdlg.c" line 592
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: comdlg32
Assignee: wine-bugs at winehq.org
Reporter: petrum at gmail.com
Distribution: ---
While experimenting with a CodeSonar plugin we develop, we noticed a
potential bug in file "wine/dlls/comdlg32/fontdlg.c" line 592, function
CFn_FitCharSet
SendDlgItemMessageW(hDlg, cmb5, CB_SETCURSEL, i, 0);
SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb5, CBN_SELCHANGE),
(LPARAM)GetDlgItem(hDlg,cmb2)); //HERE
return TRUE;
Is it correct to use cmb2 in that line? Or cmb5 should have been used instead?
Similar in line 599. Or, there might be some kind of relation between cmd5 and
cmd2 (that is not clear to me)?
Thanks,
Petru Florin Mihancea
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list