Skip to content
Snippets Groups Projects
Commit 84c28fc1 authored by Alexander Frink's avatar Alexander Frink Committed by Alexandre Julliard
Browse files

Prevent possible NULL pointer access.

parent 70cc169d
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ DWORD WINAPI VerQueryValue16( SEGPTR spvBlock, LPCSTR lpszSubBlock,
return FALSE;
}
*lpcb = buflen;
if (lpcb) *lpcb = buflen;
*lpspBuffer = (SEGPTR) ((char *) spvBlock + ((char *) buffer - (char *) lpvBlock));
return retv;
......
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