mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
086070ab85
- Add some additional buffer checks
12 lines
293 B
Plaintext
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 );
|
|
}
|
|
|