[WS2_32_NEW]

- Use the correct size of ServiceBuffer in getnameinfo. Patch by Víctor Martínez Calvo. CID 716150
CORE-11214 #resolve

svn path=/trunk/; revision=71293
This commit is contained in:
Thomas Faber 2016-05-09 07:49:58 +00:00
parent 274daad96e
commit 7fb10cb4d0

View file

@ -937,7 +937,7 @@ getnameinfo(const struct sockaddr FAR *sa,
{ {
/* Setup the data for it */ /* Setup the data for it */
ServiceString = ServiceBuffer; ServiceString = ServiceBuffer;
ServLength = sizeof(ServiceBuffer) - 1; ServLength = sizeof(ServiceBuffer) / sizeof(WCHAR);
} }
/* Now call the unicode function */ /* Now call the unicode function */