🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Satoru HATAYA Sun, 14 Sep 1997 00:00
Fix for innd-1.6b3 (innd/art.c)
#21517
Author: Satoru HATAYA
Date: Sun, 14 Sep 1997 00:00
34 lines
1451 bytes

Under Xrefslave-mode, receiving articles without "Xref:" header may
cause innd to crash. The fix is following.

*** art.c.970914	Sun Sep 14 09:19:43 1997
--- art.c	Sun Sep 14 09:20:04 1997
***************
*** 2579,2585 ****
          char *q;
          p=HDR(_xref);
          q=strchr(p, ' ') + 1;
!         j = ARTheaders[_xref].Length - (q - p) + 1;
      } else {
          j++;
      }
--- 2579,2589 ----
          char *q;
          p=HDR(_xref);
          q=strchr(p, ' ') + 1;
!         if (ARTheaders[_xref].Found) {
!             j = ARTheaders[_xref].Length - (q - p) + 1;
!         } else {
!             j = 0;
!         }
      } else {
          j++;
      }

--
Satoru Hataya	Engineering Gp., Sony Communication Network Corp.
	E-Mail: hataya@scn.co.jp

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads