[ros-bugs] [Bug 4279] BAD_POOL_CALLER bugcheck when booting with uhci and usb mouse connected

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Fri Apr 17 13:23:58 CEST 2009


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


grschneider <grschneider at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grschneider at gmail.com




--- Comment #2 from grschneider <grschneider at gmail.com>  2009-04-17 13:23:58 CET ---
The double free occurs because the function uhci_submit_urb
(\reactos\drivers\usb\nt4compat\usbdriver\uhci.c:1327) frees memory on error,
and the calling function hub_event_dev_stable
(\reactos\drivers\usb\nt4compat\usbdriver\hub.c:1171) does the same. 
I think it's appropriate to let the calling function handle the free, since it
frees it the way it is has allocated the memory, while uhci_submit_urb frees
the memory as a list entry (RemoveEntryList((PLIST_ENTRY) purb)).


-- 
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.


More information about the Ros-bugs mailing list