]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
SDV: NullCheck rule
authorOwen Smith <owen.smith@citrix.com>
Mon, 7 Feb 2022 13:15:01 +0000 (13:15 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Wed, 16 Feb 2022 10:19:02 +0000 (10:19 +0000)
commit29df8c837a851934d0df31bd5362d34379129178
tree65c6434c03eaa92c9e1fbe27a6df5700ba06cab8
parentb7dcbf926cbefb88a8f40aecc27e4d6b99576797
SDV: NullCheck rule

Check memory allocation succeeds.
Also check RtlUnicodeStringToAnsiString succeeds, though this failure is
unlikely when the buffer is pre-allocated.

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