]> xenbits.xensource.com Git - people/pauldu/xenvif.git/commit
Fix a couple of issues picked up by Windows 10 verifier
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 21 Sep 2016 12:46:14 +0000 (13:46 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Wed, 21 Sep 2016 12:46:14 +0000 (13:46 +0100)
commita4c5d9fec1d9b68fc3ca0c3c018c7d2eaf6ac9fe
tree8776fc9807458bd4774a8d820ff6fbb56cf4454b
parent86fca0c21aaef6f4ee13cee362114f8ec11cdc22
Fix a couple of issues picked up by Windows 10 verifier

- It's possible for MmAllocatePagesForMdlEx() not to satisfy the
  full allocation request, but not fail. Thus AllocatePage() should
  check that the completed allocation actually matches what it
  asks for.

- RegistryCreateKey() has a memory leak.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xenvif/registry.c
src/xenvif/util.h