[WS2_32][DNSAPI]
[reactos.git] / reactos / dll / win32 / ws2_32 / src / addrinfo.c
index 19f492d..285e945 100644 (file)
@@ -148,6 +148,7 @@ again:
     */
     if (*cp) return FALSE;
 
+    if (pp >= parts + 4) return FALSE;
     *pp++ = val;
     /*
     * Concoct the address according to