diff options
author | Don Seiler <rizzo@gentoo.org> | 2004-08-26 15:04:18 +0000 |
---|---|---|
committer | Don Seiler <rizzo@gentoo.org> | 2004-08-26 15:04:18 +0000 |
commit | 64eba093a27b1a0295f4f8f7a5c9bf2ddb2d1dff (patch) | |
tree | 03552204e9b582cb5466fee317520b97f18df54e /net-im | |
parent | Fixed missing ../../etc/ess directory. (Manifest recommit) (diff) | |
download | gentoo-2-64eba093a27b1a0295f4f8f7a5c9bf2ddb2d1dff.tar.gz gentoo-2-64eba093a27b1a0295f4f8f7a5c9bf2ddb2d1dff.tar.bz2 gentoo-2-64eba093a27b1a0295f4f8f7a5c9bf2ddb2d1dff.zip |
Removing obsolete patch
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/gaim/files/gaim-0.81_msn-slp.diff | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/net-im/gaim/files/gaim-0.81_msn-slp.diff b/net-im/gaim/files/gaim-0.81_msn-slp.diff deleted file mode 100644 index f58cadd8bd4b..000000000000 --- a/net-im/gaim/files/gaim-0.81_msn-slp.diff +++ /dev/null @@ -1,24 +0,0 @@ -Index: slp.c -=================================================================== -RCS file: /cvsroot/gaim/gaim/src/protocols/msn/slp.c,v -retrieving revision 1.7 -retrieving revision 1.8 -diff -u -d -p -r1.7 -r1.8 ---- slp.c 15 Jun 2004 02:37:25 -0000 1.7 -+++ slp.c 11 Aug 2004 18:05:10 -0000 1.8 -@@ -645,8 +645,12 @@ msn_slp_sip_recv(MsnSlpLink *slplink, co - if ((c = strchr(status, '\r')) || (c = strchr(status, '\n')) || - (c = strchr(status, '\0'))) - { -- strncpy(temp, status, c - status); -- temp[c - status] = '\0'; -+ size_t offset = c - status; -+ if (offset >= sizeof(temp)) -+ offset = sizeof(temp) - 1; -+ -+ strncpy(temp, status, offset); -+ temp[offset] = '\0'; - } - - gaim_debug_error("msn", "Received non-OK result: %s\n", temp); - |