https://git.reactos.org/?p=reactos.git;a=commitdiff;h=40288a7032e1082e80abe…
commit 40288a7032e1082e80abe9600c85b412451438f4
Author: Pako Smith <pakosmth(a)gmail.com>
AuthorDate: Thu Nov 15 16:15:23 2018 +0300
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Nov 15 14:15:23 2018 +0100
[TRACERT] Fix Coverity #1434258 "Out-of-Bounds access" (#1038)
---
base/applications/network/tracert/tracert.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/network/tracert/tracert.cpp
b/base/applications/network/tracert/tracert.cpp
index d90a78a52a..da026a65d0 100644
--- a/base/applications/network/tracert/tracert.cpp
+++ b/base/applications/network/tracert/tracert.cpp
@@ -256,7 +256,7 @@ PrintHopInfo(_In_ PVOID Buffer)
Status = GetNameInfoW(SockAddr,
Size,
IpAddress,
- NI_MAXHOST,
+ MAX_IPADDRESS,
NULL,
0,
NI_NUMERICHOST);