1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/net-im/climm/files/patch-ac
Chris D. Faulhaber 086070ab85 - Update port to 0.4.6p1 (fixes remote buffer overflow)
- Add some additional buffer checks
2001-01-25 03:19:53 +00:00

12 lines
293 B
Plaintext

--- sendmsg.c.orig Tue Jan 23 11:49:05 2001
+++ sendmsg.c Wed Jan 24 22:02:47 2001
@@ -977,7 +977,7 @@
{
char buf[450];
- sprintf( buf, "%s\xFE%s", url, description );
+ snprintf( buf, sizeof(buf), "%s\xFE%s", url, description );
icq_sendmsg( sok, uin, buf, URL_MESS );
}