https://bugs.winehq.org/show_bug.cgi?id=56155
Bug ID: 56155 Summary: Possible nullpointer dereference in NtUserThunkedMenuItemInfo (Coverity) Product: Wine Version: 9.0-rc3 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
Not exactly what Coverity reported, but NtUserCheckMenuRadioItem is missing a nullpointer check. We have the following code:
case NtUserCheckMenuRadioItem: return check_menu_radio_item( handle, pos, info->cch, info->fMask, flags );
We probably should check "info" for NULL here as well.
Coverity link: https://scan5.scan.coverity.com/reports.htm#v60945/p10088/fileInstanceId=257...