diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-10-31 07:33:12 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-10-31 07:33:24 +0000 |
commit | 5ede648bb14d6fde854832d2c633b777797fb879 (patch) | |
tree | ed146050fc2c78b93d0754bc367cf68f21cbe711 /community/dircproxy/fix-segfault.patch | |
parent | 61d3fafd055aff8f7e62251ef583679536feb2a2 (diff) | |
download | aports-5ede648bb14d6fde854832d2c633b777797fb879.tar.bz2 aports-5ede648bb14d6fde854832d2c633b777797fb879.tar.xz |
community/dircproxy: move into community
Diffstat (limited to 'community/dircproxy/fix-segfault.patch')
-rw-r--r-- | community/dircproxy/fix-segfault.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/dircproxy/fix-segfault.patch b/community/dircproxy/fix-segfault.patch new file mode 100644 index 0000000000..2a0bd152db --- /dev/null +++ b/community/dircproxy/fix-segfault.patch @@ -0,0 +1,25 @@ +From ee9552214018abf79ec110cfb1c680776294c64e Mon Sep 17 00:00:00 2001 +From: fharvey <fharvey@36e7e03e-8437-11dd-8f23-d9c8888c2974> +Date: Sun, 1 Oct 2006 13:55:18 +0000 +Subject: [PATCH] Fix segfault. Close #15 and #44 + +--- + src/irc_server.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/irc_server.c b/src/irc_server.c +index 4ffdfca..a694ab2 100644 +--- a/src/irc_server.c ++++ b/src/irc_server.c +@@ -587,9 +587,10 @@ static int _ircserver_gotmsg(struct ircproxy *p, const char *str) { + ; + if (strcmp(ss->str,s->str)) // this line is not already present + ss->next = s; +- else ++ else { + free(s->str); + free(s); ++ } + } else { + p->serversupported = s; + } |