diff options
| author | Masafumi Max NAKANE <max@FreeBSD.org> | 2003-08-18 01:42:20 +0000 |
|---|---|---|
| committer | Masafumi Max NAKANE <max@FreeBSD.org> | 2003-08-18 01:42:20 +0000 |
| commit | f4c47bb0961c08a196db469a6c4ca0ad6f00de2a (patch) | |
| tree | dee679060805447f028d4435474a90cb307cc8ef /mail/youbin/files/patch-ae | |
| parent | Add an entry for devel/gide. (diff) | |
Upgrade to 3.5. The PR submitter claims that buffer overrun issues have been eliminated, but I'll keep this port forbidden till I get a green light from the security tem.
PR: 55676
Submitted by: KIMURA Yasuhiro <yasu@utahime.org>
Diffstat (limited to 'mail/youbin/files/patch-ae')
| -rw-r--r-- | mail/youbin/files/patch-ae | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/mail/youbin/files/patch-ae b/mail/youbin/files/patch-ae index 3eb40ba079dd..51e0d11ddf7d 100644 --- a/mail/youbin/files/patch-ae +++ b/mail/youbin/files/patch-ae @@ -1,6 +1,6 @@ ---- server.c.orig Sun Apr 15 23:17:13 2001 -+++ server.c Tue May 15 12:26:12 2001 -@@ -48,6 +48,9 @@ +--- server.c.orig Thu May 8 12:34:45 2003 ++++ server.c Mon Aug 18 10:27:55 2003 +@@ -49,6 +49,9 @@ #include <pwd.h> /* For getpwuid(). */ #include <signal.h> #include <stdio.h> @@ -10,11 +10,10 @@ #include "youbin.h" #include "server.h" -@@ -148,6 +151,15 @@ - signal(SIGTERM, sig_quit); +@@ -151,6 +154,15 @@ signal(SIGHUP, sig_hup); signal(SIGALRM, sig_alarm); -+ + + /*Go to background. This part was modified locally by Masafumi NAKANE + <max@FreeBSD.org>, and is used only on FreeBSD.*/ +#ifdef __FreeBSD__ @@ -23,6 +22,16 @@ + kill(getpid(), SIGTERM); + } +#endif - ++ /* Dive into main loop. Don't use setjmp() and longjmp(), because list maintenance routines are in critical section. */ + alarm(UNIT_TIME); +@@ -359,7 +371,7 @@ + #endif + if( !(sp->mode.head_list) ) { + send_packet(buff, sp); /* Send header and so on. */ +- retrun; ++ return; + } + + line = buff + strlen(buff); |
