Author: janderwald
Date: Tue Dec 4 04:58:31 2012
New Revision: 57795
URL:
http://svn.reactos.org/svn/reactos?rev=57795&view=rev
Log:
- Add assert for testing
- CORE-6676
Modified:
trunk/reactos/drivers/usb/usbuhci/usb_request.cpp
Modified: trunk/reactos/drivers/usb/usbuhci/usb_request.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbuhci/usb_re…
==============================================================================
--- trunk/reactos/drivers/usb/usbuhci/usb_request.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbuhci/usb_request.cpp [iso-8859-1] Tue Dec 4 04:58:31
2012
@@ -1020,6 +1020,9 @@
{
// get buffer base
m_Base = MmGetMdlVirtualAddress(m_TransferBufferMDL);
+
+ // sanity check
+ ASSERT(m_Base != NULL);
}
// get new buffer offset