diff options
| author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-07-15 21:40:22 +0000 |
|---|---|---|
| committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-07-15 21:40:22 +0000 |
| commit | 60d7a78b6066e5673783ad0dbfe91bb5d7e2e310 (patch) | |
| tree | 06ce20c5e315fed887daa6cc39a53bf64c9cd977 /devel/libgtop/files/patch-src::daemon::gnuserv.c | |
| parent | Remove gtkgrepmail. (diff) | |
Re-add libgtop. It should not have been deleted in this phase of the GNOME 1.4
removal.
Diffstat (limited to 'devel/libgtop/files/patch-src::daemon::gnuserv.c')
| -rw-r--r-- | devel/libgtop/files/patch-src::daemon::gnuserv.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/libgtop/files/patch-src::daemon::gnuserv.c b/devel/libgtop/files/patch-src::daemon::gnuserv.c new file mode 100644 index 000000000000..8b0712a8d041 --- /dev/null +++ b/devel/libgtop/files/patch-src::daemon::gnuserv.c @@ -0,0 +1,15 @@ +--- src/daemon/gnuserv.c.orig Thu Nov 29 08:58:40 2001 ++++ src/daemon/gnuserv.c Thu Nov 29 08:58:17 2001 +@@ -200,6 +200,12 @@ + + auth_data_len = atoi (buf); + ++ if (auth_data_len < 1 || auth_data_len > sizeof(buf)) { ++ syslog_message(LOG_WARNING, ++ "Invalid data length supplied by client"); ++ return FALSE; ++ } ++ + if (timed_read (fd, buf, auth_data_len, AUTH_TIMEOUT, 0) != auth_data_len) + return FALSE; + |
