]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Fix Use-After-Free
authorOwen Smith <owen.smith@citrix.com>
Mon, 7 Feb 2022 13:15:00 +0000 (13:15 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Wed, 16 Feb 2022 10:19:00 +0000 (10:19 +0000)
commitb7dcbf926cbefb88a8f40aecc27e4d6b99576797
treecaed5ac0e219c8e11454c23ce4d4d81d7c2d76e5
parent4a3cf97faea83906110ee4979c6634e11abad3fe
Fix Use-After-Free

Stash the underlying buffer pointer before freeing the MDL, so that
MmGetSystemAddressForMdlSafe doesn't attempt to access already-freed
memory.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
src/xenbus/fdo.c