[8414] in Athena Bugs
[haynes@cats.UCSC.EDU: Here's the patch for attach, or, the attach patch]
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Wed Oct 16 12:37:02 1991
Date: Wed, 16 Oct 91 12:37:47 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bugs@Athena.MIT.EDU
In-Reply-To: [8119]
----- Forwarded message
To: jik@ATHENA.MIT.EDU, probe@ATHENA.MIT.EDU
Subject: Here's the patch for attach, or, the attach patch
Date: Sat, 21 Sep 91 20:35:10 +45722824
From: haynes@cats.ucsc.edu <haynes@cats.UCSC.EDU>
Haven't seen any more garbage in attachtabs since this went in;
but Monday's onslaught should tell us for sure. You'll probably need to
put this into the current release, as the dialup servers are likely
to get pretty grody without it. This is Tim Kolar's work, not mine.
*** 1.6 1991/07/01 09:47:29
--- 1.7 1991/09/21 05:02:24
***************
*** 1,7 ****
/* Created by: Theodore Ts'o
*
* $Source: /sysdev/source/athena/athena/athena.bin/attach/RCS/attachtab.c,v $
! * $Author: probe $
*
* Copyright (c) 1989 by the Massachusetts Institute of Technology.
*
--- 1,7 ----
/* Created by: Theodore Ts'o
*
* $Source: /sysdev/source/athena/athena/athena.bin/attach/RCS/attachtab.c,v $
! * $Author: shandon $
*
* Copyright (c) 1989 by the Massachusetts Institute of Technology.
*
***************
*** 9,15 ****
*/
#ifndef lint
! static char rcsid_attachtab_c[] = "$Header: /sysdev/source/athena/athena/athena.bin/attach/RCS/attachtab.c,v 1.6 1991/07/01 09:47:29 probe Exp $";
#endif lint
#include "attach.h"
--- 9,15 ----
*/
#ifndef lint
! static char rcsid_attachtab_c[] = "$Header: /sysdev/source/athena/athena/athena.bin/attach/RCS/attachtab.c,v 1.7 1991/09/21 05:02:24 shandon Exp $";
#endif lint
#include "attach.h"
***************
*** 288,293 ****
--- 288,294 ----
at->hostaddr[i].s_addr = inet_addr(cp);
cp = dp;
}
+ at->hostaddr[i].s_addr = 0;
if (!(cp = strtok(NULL, TOKSEP)))
goto bad_line;
----- End of forwarded message