diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2002-11-18 23:19:46 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2002-11-18 23:19:46 +0000 |
commit | b5d7cf3828bcb18fb349159bb5d61643349e7a52 (patch) | |
tree | 32935d36184d8eadc962e19de25939dc79dcf274 /irc/ezbounce | |
parent | Update to 8.0.206: bugfix release. (diff) |
Fix a security hole with a patch from the ezbounce Homepage.
Bump PORTREVISION.
PR: 43437
Notes
Notes:
svn path=/head/; revision=70439
Diffstat (limited to 'irc/ezbounce')
-rw-r--r-- | irc/ezbounce/Makefile | 1 | ||||
-rw-r--r-- | irc/ezbounce/files/patch-src-server.cpp | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/irc/ezbounce/Makefile b/irc/ezbounce/Makefile index af857dd89186..9298d47cce67 100644 --- a/irc/ezbounce/Makefile +++ b/irc/ezbounce/Makefile @@ -7,6 +7,7 @@ PORTNAME= ezbounce PORTVERSION= 1.02 +PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= http://druglord.freelsd.org/ezbounce/ diff --git a/irc/ezbounce/files/patch-src-server.cpp b/irc/ezbounce/files/patch-src-server.cpp new file mode 100644 index 000000000000..8d9417a4fcf7 --- /dev/null +++ b/irc/ezbounce/files/patch-src-server.cpp @@ -0,0 +1,20 @@ +--- src/server.cpp Sun May 5 17:53:00 2002 ++++ src/server.cpp Mon Jul 22 04:27:26 2002 +@@ -204,7 +204,7 @@ + if (now) + { + strcpy(buff, "Server terminating: "); +- strncat(buff, reason, (sizeof buff) - strlen(buff) + 1); ++ strncat(buff, reason, (sizeof buff) - (strlen(buff) + 1)); + conn::broadcast(&conns,buff); + ircproxy_save_prefs(users, pcfg.userfile); + kill_conns(); +@@ -213,7 +213,7 @@ + } + terminate_request = 1; + strcpy(buff, "Terminate request: "); +- strncat(buff, reason, (sizeof buff) - strlen(buff) + 1); ++ strncat(buff, reason, (sizeof buff) - (strlen(buff) + 1)); + conn::broadcast(&conns,buff); + ircproxy_save_prefs(users, pcfg.userfile); + return 1; |