Alex Henrie : ntdll: Increase size of IPv6 address string buffers.

Alexandre Julliard julliard at winehq.org
Tue May 26 17:17:06 CDT 2020


Module: wine
Branch: master
Commit: bab2de00aaffc974bdc1be44dc8d006075c4c9cb
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bab2de00aaffc974bdc1be44dc8d006075c4c9cb

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Mon May 25 22:36:18 2020 -0600

ntdll: Increase size of IPv6 address string buffers.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/rtl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c
index 6134a5e702..bccf26d7d6 100644
--- a/dlls/ntdll/rtl.c
+++ b/dlls/ntdll/rtl.c
@@ -1269,7 +1269,7 @@ NTSTATUS WINAPI RtlIpv6StringToAddressW(const WCHAR *str, const WCHAR **terminat
  */
 NTSTATUS WINAPI RtlIpv6StringToAddressExA(const char *str, IN6_ADDR *address, ULONG *scope, USHORT *port)
 {
-    WCHAR wstr[64];
+    WCHAR wstr[128];
 
     TRACE("(%s, %p, %p, %p)\n", debugstr_a(str), address, scope, port);
 
@@ -1286,7 +1286,7 @@ NTSTATUS WINAPI RtlIpv6StringToAddressExA(const char *str, IN6_ADDR *address, UL
  */
 NTSTATUS WINAPI RtlIpv6StringToAddressA(const char *str, const char **terminator, IN6_ADDR *address)
 {
-    WCHAR wstr[64];
+    WCHAR wstr[128];
     const WCHAR *wterminator = NULL;
     NTSTATUS ret;
 




More information about the wine-cvs mailing list