ntdll: Avoid crashing while tracing parameters to NtCreateNamedPipeFile().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 7dc459f3d1)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
oldstable
Zebediah Figura 2019-04-06 15:54:31 -05:00 committed by Michael Stefaniuc
parent 8ebf718134
commit e4b249f2e1
1 changed files with 3 additions and 3 deletions

View File

@ -3479,13 +3479,13 @@ NTSTATUS WINAPI NtCreateNamedPipeFile( PHANDLE handle, ULONG access,
data_size_t len;
struct object_attributes *objattr;
if (!attr) return STATUS_INVALID_PARAMETER;
TRACE("(%p %x %s %p %x %d %x %d %d %d %d %d %d %p)\n",
handle, access, debugstr_w(attr->ObjectName->Buffer), iosb, sharing, dispo,
handle, access, debugstr_us(attr->ObjectName), iosb, sharing, dispo,
options, pipe_type, read_mode, completion_mode, max_inst, inbound_quota,
outbound_quota, timeout);
if (!attr) return STATUS_INVALID_PARAMETER;
/* assume we only get relative timeout */
if (timeout->QuadPart > 0)
FIXME("Wrong time %s\n", wine_dbgstr_longlong(timeout->QuadPart));