Commit 4fee5268 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

Fix size passed to lstrcpynA function - sizeof(string) == 4 not 16 as

needed.
parent 7bb1757e
......@@ -932,7 +932,7 @@ char *toIPAddressString(unsigned int addr, char string[16])
iAddr.s_addr = addr;
/* extra-anal, just to make auditors happy */
lstrcpynA(string, inet_ntoa(iAddr), sizeof(string));
lstrcpynA(string, inet_ntoa(iAddr), 16);
}
return string;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment