[ros-bugs] [Bug 783] Memory corruption when creating driver list for a device

ReactOS.Bugzilla at reactos.com ReactOS.Bugzilla at reactos.com
Fri Sep 23 00:02:53 CEST 2005


http://reactos.com/bugzilla/show_bug.cgi?id=783





------- Additional Comments From gvg at reactos.com  2005-23-09 00:02 -------
The problem is in SetupDiBuildDriverInfoList(), devinst.c line 3741:

struct DeviceInfoElement *deviceInfo = (struct DeviceInfoElement *)DeviceInfoData;
deviceInfo->Flags |= DI_DIDCOMPAT;

DeviceInfoData is passed in as a SP_DEVINFO_DATA structure which is much smaller
than a struct DeviceInfoElement, so the Flags member which is modified is way
out of range.

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


More information about the Ros-bugs mailing list