kernel32: Validate handle before freeing a LOAD_LIBRARY_AS_DATAFILE module.
commit35d202fc0982da4e7ae3596414482318af118acb
authorAlexandre Julliard <julliard@winehq.org>
Fri, 5 Apr 2019 07:42:09 +0000 (5 09:42 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 5 Apr 2019 20:16:30 +0000 (5 22:16 +0200)
treea94968d97e473ae1eccbf85b8195121081c6d0dc
parentf2deab4174270f03cdada49ff42f2752f2328b98
kernel32: Validate handle before freeing a LOAD_LIBRARY_AS_DATAFILE module.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46019
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/kernel32/module.c
dlls/kernel32/tests/module.c