initialize StringBuffer to NULL, as some code paths lead to it being tested without ever being set.
Modified: trunk/reactos/ntoskrnl/ob/object.c
--- trunk/reactos/ntoskrnl/ob/object.c 2005-08-11 01:18:22 UTC (rev 17273) +++ trunk/reactos/ntoskrnl/ob/object.c 2005-08-11 02:51:51 UTC (rev 17274) @@ -35,7 +35,7 @@
{ NTSTATUS Status = STATUS_SUCCESS; ULONG StringLength;
- PWCHAR StringBuffer;
+ PWCHAR StringBuffer = NULL;
UNICODE_STRING LocalName = {}; /* <= GCC 4.0 + Optimizer */ /* Initialize the Input String */