diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1995-09-23 07:30:03 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1995-09-23 07:30:03 +0000 |
commit | c2065bdf57a30b0f747e020ef3873c761b638743 (patch) | |
tree | 84a007cbc6de83211a2d992328c6e676d5bc68f5 | |
parent | c04dd7bbad92a59497c2a0d6d53d7342af946f35 (diff) | |
download | freebsd-ports-c2065bdf57a30b0f747e020ef3873c761b638743.zip |
Fix core dump due to miscalucalting length of malloc() string. Bug
already reported to original authors.
-rw-r--r-- | www/chimera2/files/patch-ad | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chimera2/files/patch-ad b/www/chimera2/files/patch-ad new file mode 100644 index 000000000000..7a67c9b1c42c --- /dev/null +++ b/www/chimera2/files/patch-ad @@ -0,0 +1,11 @@ +--- ./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) + { |