kernel32/tests: Check that lpSectionBase != NULL before dereferencing.
commitbd7459579d1fa448912151fd2d51564eb6b8716d
authorAlex Henrie <alexhenrie24@gmail.com>
Thu, 13 Apr 2023 04:58:06 +0000 (12 22:58 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Sun, 23 Apr 2023 13:49:46 +0000 (23 15:49 +0200)
tree468191a60231a19d482cfbeb261ec8e14345a4a9
parent2371906a25635c2ff7c439b5a4ca89390c79fa56
kernel32/tests: Check that lpSectionBase != NULL before dereferencing.

If lpSectionBase is null then the tests will still crash, but at least
we'll know why.
dlls/kernel32/tests/actctx.c