diff options
Diffstat (limited to 'net/micq/files/patch-ae')
-rw-r--r-- | net/micq/files/patch-ae | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/net/micq/files/patch-ae b/net/micq/files/patch-ae deleted file mode 100644 index 6e71c2d80324..000000000000 --- a/net/micq/files/patch-ae +++ /dev/null @@ -1,32 +0,0 @@ ---- icq_response.c.orig Tue Jan 23 16:49:05 2001 -+++ icq_response.c Sun Mar 25 23:54:20 2001 -@@ -740,6 +740,7 @@ - return; - } - *tmp = 0; -+ char_conv ("wc",data); //By Kunia User's nick was not transcoded...;( - M_print( CONTACTCOL "\n%s" NOCOL " has added you to their contact list.\n", data ); - tmp++; - data = tmp; -@@ -871,19 +872,12 @@ - } - *tmp = 0; - char_conv ("wc",data); --// temporaryy fix to buffer overflow --// should be solved better -mc --// strcpy (url_desc,data); -- url_desc[0] = '\0'; -- strncat(url_desc,data,sizeof(url_data)-1); -+ strlcpy(url_desc,data,sizeof(url_data)); - - tmp++; - data = tmp; - char_conv ("wc",data); --// same apllies here --mc --// strcpy (url_data,data); -- url_data[0] = '\0'; -- strncat (url_data,data,sizeof(url_data)-1); -+ strlcpy(url_data,data,sizeof(url_data)); - - // and again - // sprintf (message,"Description: %s \n URL: %s",url_desc,url_data); |