Article View: news.software.nntp
Article #21517Fix for innd-1.6b3 (innd/art.c)
From: Satoru HATAYA
Date: Sun, 14 Sep 1997 00:00
Date: Sun, 14 Sep 1997 00:00
34 lines
1451 bytes
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
Technical Details
Message-ID:
<HATAYA.97Sep14095537@libra.scn.co.jp>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-mailShow Full Headers
Complete Article Headers
Message-ID: <HATAYA.97Sep14095537@libra.scn.co.jp> Subject: Fix for innd-1.6b3 (innd/art.c) Date: Sun, 14 Sep 1997 00:00:00 +0000 From: hataya@scn.co.jp (Satoru HATAYA) 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: 272262314 Distribution: world X-Complaints-To: usenet@news01z.so-net.or.jp X-Trace: news01z.so-net.or.jp 874198538 7559 (None) 202.213.234.199 Organization: Sony Communication Network, Corp. Newsgroups: news.software.nntp