[WS2_32][DNSAPI]
[reactos.git] / reactos / dll / win32 / dnsapi / dnsapi / query.c
index 38f25d3..4c2599b 100644 (file)
@@ -460,6 +460,7 @@ again:
     */
     if (*cp && *cp > ' ') return FALSE;
 
+    if (pp >= parts + 4) return FALSE;
     *pp++ = val;
     /*
     * Concoct the address according to