Files
reactos/drivers/storage
Ahmed Arif 9ee961c910 [0.4.16][FLOPPY] Fix double-free of the interrupt object on init failure (#9225)
AddControllers already disconnects the controller interrupt on its error paths but left InterruptObject pointing at the freed object.

Now that DriverEntry runs Cleanup on failure (and Unload() routes through it too), that stale pointer is handed to IoDisconnectInterrupt a second time, bugchecking with BAD_POOL_HEADER.

Clear InterruptObject right after disconnecting so Cleanup() skips it.

CORE-20669

This is a cherry-pick of 1b91127bbe.
2026-06-29 14:13:27 -05:00
..