diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2001-01-25 03:19:53 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2001-01-25 03:19:53 +0000 |
commit | 086070ab8556188fab9f146c914d269602e5caa4 (patch) | |
tree | cf3d923b518ab041b2e40d8ad34743ef5f64f217 /net-im/micq/files/patch-ad | |
parent | Another day. Another GNOME release. 1.2.10 here (diff) |
- Update port to 0.4.6p1 (fixes remote buffer overflow)
- Add some additional buffer checks
Diffstat (limited to '')
-rw-r--r-- | net-im/micq/files/patch-ad | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-im/micq/files/patch-ad b/net-im/micq/files/patch-ad new file mode 100644 index 000000000000..f4e5d68cd184 --- /dev/null +++ b/net-im/micq/files/patch-ad @@ -0,0 +1,20 @@ +--- util_ui.c.orig Tue Jan 23 11:49:05 2001 ++++ util_ui.c Wed Jan 24 22:09:24 2001 +@@ -102,7 +102,7 @@ + assert( 2048 >= strlen( str ) ); + + va_start( args, str ); +- vsprintf( buf, str, args ); ++ vsnprintf( buf, sizeof(buf), str, args ); + k = write( fd, buf, strlen( buf ) ); + if ( k != strlen( buf ) ) + { +@@ -292,7 +292,7 @@ + + va_start( args, str ); + #ifndef CURSES_UI +- vsprintf( buf, str, args ); ++ vsnprintf( buf, sizeof(buf), str, args ); + str2 = buf; + while ( (void *) NULL != ( str1 = strchr( str2, '\x1b' ) ) ) + { |