Skip to content
Snippets Groups Projects
Commit 74304fc3 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Fixed bug in CreateFileMapping when name is not NULL.

parent a6ac379b
No related branches found
No related tags found
No related merge requests found
......@@ -1191,7 +1191,7 @@ HANDLE32 WINAPI CreateFileMapping32A(
req.protect = vprot;
CLIENT_SendRequest( REQ_CREATE_MAPPING, -1, 2,
&req, sizeof(req),
name, name ? strlen(name) : 0 );
name, name ? strlen(name) + 1 : 0 );
if (CLIENT_WaitSimpleReply( &reply, sizeof(reply), NULL ))
goto error;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment