1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/www/chimera2/files/patch-ad
Satoshi Asami c2065bdf57 Fix core dump due to miscalucalting length of malloc() string. Bug
already reported to original authors.
1995-09-23 07:30:03 +00:00

12 lines
342 B
Plaintext

--- ./src/url.c.org Sun Mar 26 01:26:06 1995
+++ ./src/url.c Fri Sep 22 23:53:00 1995
@@ -173,7 +173,7 @@
}
len = strlen(protocol) + strlen(hostname) + strlen(filename) +
- strlen(delim) + 11;
+ strlen(anchor) + strlen(delim) + strlen(delim2) + strlen(delim3) + 11;
u = alloc_mem(len + 1);
if (up->port == 0)
{