mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:12:56 +00:00
[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:
parent
274daad96e
commit
7fb10cb4d0
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue