projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b552901
)
[WIN32K:ENG] In EngLockDriverObj, properly return NULL when locking failed
author
Jérôme Gardou
<jerome.gardou@reactos.org>
Wed, 9 Jun 2021 16:27:12 +0000
(18:27 +0200)
committer
Jérôme Gardou
<jerome.gardou@reactos.org>
Wed, 9 Jun 2021 16:27:12 +0000
(18:27 +0200)
CORE-15958
win32ss/gdi/eng/driverobj.c
patch
|
blob
|
history
diff --git
a/win32ss/gdi/eng/driverobj.c
b/win32ss/gdi/eng/driverobj.c
index
f1987df
..
1a4d772
100644
(file)
--- a/
win32ss/gdi/eng/driverobj.c
+++ b/
win32ss/gdi/eng/driverobj.c
@@
-120,7
+120,7
@@
EngLockDriverObj(
pedo = DRIVEROBJ_TryLockObject(hdo);
/* Return pointer to the DRIVEROBJ structure */
- return
&pedo->drvobj
;
+ return
pedo ? &pedo->drvobj : NULL
;
}