projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b3f28
)
initialize StringBuffer to NULL, as some code paths lead to it being tested without...
author
Royce Mitchell III
<royce3@ev1.net>
Thu, 11 Aug 2005 02:51:51 +0000
(
02:51
+0000)
committer
Royce Mitchell III
<royce3@ev1.net>
Thu, 11 Aug 2005 02:51:51 +0000
(
02:51
+0000)
svn path=/trunk/; revision=17274
reactos/ntoskrnl/ob/object.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/ob/object.c
b/reactos/ntoskrnl/ob/object.c
index
6bd1b7a
..
f931029
100644
(file)
--- a/
reactos/ntoskrnl/ob/object.c
+++ b/
reactos/ntoskrnl/ob/object.c
@@
-35,7
+35,7
@@
ObpCaptureObjectName(IN OUT PUNICODE_STRING CapturedName,
{
NTSTATUS Status = STATUS_SUCCESS;
ULONG StringLength;
- PWCHAR StringBuffer;
+ PWCHAR StringBuffer
= NULL
;
UNICODE_STRING LocalName = {}; /* <= GCC 4.0 + Optimizer */
/* Initialize the Input String */