8ceb6f5eaf6d18eb6028e68063cdbfeaea6c5c59 max Mon Nov 23 07:43:13 2015 -0800 increasing buf size, refs #16406 diff --git src/lib/net.c src/lib/net.c index 96506ff..00a652f 100644 --- src/lib/net.c +++ src/lib/net.c @@ -437,31 +437,31 @@ *rangeEnd = atoll(z); } } } } void netParseUrl(char *url, struct netParsedUrl *parsed) /* Parse a URL into components. A full URL is made up as so: * http://user:password@hostName:port/file;byterange=0-499 * User and password may be cgi-encoded. * This is set up so that the http:// and the port are optional. */ { char *s, *t, *u, *v, *w; -char buf[2048]; +char buf[4096]; /* Make local copy of URL. */ if (strlen(url) >= sizeof(buf)) errAbort("Url too long: '%s'", url); strcpy(buf, url); url = buf; /* Find out protocol - default to http. */ s = trimSpaces(url); s = stringIn("://", url); if (s == NULL) { strcpy(parsed->protocol, "http"); s = url; }