Article View: news.software.nntp
Article #15610nntpclnt-1.6.1 small auth bug
From: No spam please
Date: Fri, 07 Mar 1997 00:00
Date: Fri, 07 Mar 1997 00:00
42 lines
1567 bytes
1567 bytes
Just two buglets that have been there for a long time. The address in the
README file bounced. I got my copy from ftp.uu.net. Is there a newer
version?
Stephen
s l 1 4 @ c o r n e l l . e d u
diff -cr nntpclnt-1.6.1/postauth.c nntpclnt-1.6.1-sl/postauth.c
*** nntpclnt-1.6.1/postauth.c Thu Aug 11 17:37:52 1994
--- nntpclnt-1.6.1-sl/postauth.c Sun Mar 2 06:41:51 1997
***************
*** 31,37 ****
{
char authtype[NNTP_STRLEN];
int i, rcode;
! if((i = sscanf(response,"%d %s", rcode, authtype)) != 2)
return(-1);
#ifdef AUTHSIMPLE
if (!strcasecmp(authtype,"SIMPLE"))
--- 31,37 ----
{
char authtype[NNTP_STRLEN];
int i, rcode;
! if((i = sscanf(response,"%d %s", &rcode, authtype)) != 2)
return(-1);
#ifdef AUTHSIMPLE
if (!strcasecmp(authtype,"SIMPLE"))
***************
*** 155,160 ****
--- 155,162 ----
return(-1);
}
fclose(passfile);
+
+ return(0);
}
#endif
int
Technical Details
Message-ID:
<5foa53$mlf@newsstand.cit.cornell.edu>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: <5foa53$mlf@newsstand.cit.cornell.edu> Subject: nntpclnt-1.6.1 small auth bug Date: Fri, 07 Mar 1997 00:00:00 +0000 From: stop@spamming.the.net (No spam please) 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: 223740366 Sender: sl14@cornell.edu (Verified) Organization: Cornell University, Ithaca, NY Newsgroups: news.software.nntp Originator: slee@noor.graphics.cornell.edu