opengnsys_ipxe/src
Michael Brown 88448de720 [xhci] Leak memory if controller fails to disable slot
If the Disable Slot command fails then the hardware may continue to
write to the slot context.  Leak the memory used by the slot context
to avoid future memory corruption.

This situation has been observed in practice when a Set Address
command fails, causing the command ring to become temporarily
unresponsive.

Note that there is no need to similarly leak memory on the failure
path in xhci_device_open(), since in the event of a failure the
hardware is never informed of the slot context address.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-02-18 09:32:50 +00:00
..
arch [timer] Rewrite the 8254 Programmable Interval Timer support 2015-02-17 16:24:02 +00:00
bin Rename .cvsignore files to .gitignore 2007-06-09 22:57:00 +01:00
config [build] Allow product tag line to be customised via config/branding.h 2015-02-11 14:22:43 +00:00
core [libc] Rewrite string functions 2015-02-16 23:16:20 +00:00
crypto [crypto] Fix parsing of OCSP responder ID key hash 2014-11-24 15:05:43 +00:00
doc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
drivers [xhci] Leak memory if controller fails to disable slot 2015-02-18 09:32:50 +00:00
hci [libc] Rewrite string functions 2015-02-16 23:16:20 +00:00
image [efi] Provide dummy device path in efi_image_probe() 2014-09-19 13:22:04 +01:00
include [usb] Add generic USB network device framework 2015-02-17 01:21:53 +00:00
interface [build] Allow setting help text URI to be customised via config/branding.h 2015-02-11 14:11:28 +00:00
libgcc [build] Mark __intel_new_proc_init with __libgcc rather than cdecl 2009-08-03 15:56:10 +01:00
net [rndis] Add rndis_rx_err() 2015-02-11 17:26:51 +00:00
tests [test] Add constant-length memset() self-tests 2015-02-17 00:41:40 +00:00
usr [build] Allow product tag line to be customised via config/branding.h 2015-02-11 14:22:43 +00:00
util [efi] Disallow R_X86_64_32 relocations 2015-02-12 13:39:25 +00:00
.gitignore [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
Makefile [usb] Add basic support for USB hubs 2015-02-03 12:19:52 +00:00
Makefile.housekeeping [build] Apply the "-fno-PIE -nopie" workaround only to i386 builds 2015-02-12 16:04:07 +00:00
doxygen.cfg [build] Remove PACKED macro 2010-05-29 23:49:47 +01:00