🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24181

inn 1.7.2 and expireover-defect.patch

#24181
From: Joerg Pichel
Date: Tue, 09 Dec 1997 00:00
78 lines
2980 bytes
(btw: It seems there is no 1.7.1. It's only a symlink to 1.7.2 ?)

I downloaded inn 1.7.2 and now my question is whether the 
       expireover-defect.patch
patch in 
       ftp://ftp.isc.org/isc/inn/unoff-patches/

still is a good recommendation? I would say yes. But what's the boss'
opinion :-)) ?


patched version:

:> diff -c inn-1.7.2/expire/expireover.c inn-1.7/expire/expireover.c                            
*** inn-1.7.2/expire/expireover.c       Tue Dec  9 00:48:50 1997
--- inn-1.7/expire/expireover.c Mon Dec  1 14:43:14 1997
***************
*** 438,444 ****
           caller's use.  mibsoft 8/22/97
         */
        for (hp = Headers, i = ARTfieldsize; --i >= 0; hp++) {
!           if (hp->HasHeader) {
                DISPOSE(hp->Header);
                hp->Header = 0;
            }
--- 438,444 ----
           caller's use.  mibsoft 8/22/97
         */
        for (hp = Headers, i = ARTfieldsize; --i >= 0; hp++) {
!           if (hp->Length) { /* Was hp->Header. Fix due to pmb1@york.ac.uk 11/3/97 */
                DISPOSE(hp->Header);
                hp->Header = 0;
            }
***************
*** 481,486 ****
--- 481,491 ----
                for (p = colon; *++p && ISWHITE(*p); )
                    continue;
            size = strlen(p);
+           if (!size) { /* Ignore empty headers 11/5/97 due to pmb1@york.ac.uk */
+               i = -1; /* Abort */
+               lasthp = 0;
+               break;
+           }
              hp->Length = size;
              hp->Header = NEW(char, hp->Length + 1);
            (void)strcpy(hp->Header, p);


original version:

:> diff -c inn-1.7.2/expire/expireover.c inn-1.7/expire/expireover.c.orig 
*** inn-1.7.2/expire/expireover.c       Tue Dec  9 00:48:50 1997
--- inn-1.7/expire/expireover.c.orig    Tue Oct  7 17:17:57 1997
***************
*** 438,444 ****
           caller's use.  mibsoft 8/22/97
         */
        for (hp = Headers, i = ARTfieldsize; --i >= 0; hp++) {
!           if (hp->HasHeader) {
                DISPOSE(hp->Header);
                hp->Header = 0;
            }
--- 438,444 ----
           caller's use.  mibsoft 8/22/97
         */
        for (hp = Headers, i = ARTfieldsize; --i >= 0; hp++) {
!           if (hp->Header) {
                DISPOSE(hp->Header);
                hp->Header = 0;
            }

There are no other changes in the expire directory.

J"org.

Technical Details
Message-ID: <66jeul$f9g$1@bsdti6.sdm.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <66jeul$f9g$1@bsdti6.sdm.de>
Subject: inn 1.7.2 and expireover-defect.patch
Date: Tue, 09 Dec 1997 00:00:00 +0000
From: Joerg Pichel <pichel@bsdti1.sdm.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 296584886
Organization: sd&m GmbH & Co. KG, Muenchen, Germany
Newsgroups: news.software.nntp