[16848] in bugtraq
format bug in agetty ??
daemon@ATHENA.MIT.EDU (Carlos Eduardo Gorges)
Wed Sep 20 14:09:59 2000
Content-Type: text/plain
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <00091922270900.04194@quarks.techlinux>
Date: Tue, 19 Sep 2000 22:18:38 -0300
Reply-To: Carlos Eduardo Gorges <carlos@TECHLINUX.COM.BR>
From: Carlos Eduardo Gorges <carlos@TECHLINUX.COM.BR>
To: BUGTRAQ@SECURITYFOCUS.COM
util-linux-2.10h/login-utils
agetty.c:244
#ifdef DEBUGGING
#define debug(s) fprintf(dbf,s); fflush(dbf)
FILE *dbf;
#else
#define debug(s) /* nothing */
#endif
agetty.c:281
#ifdef DEBUGGING
dbf = fopen("/dev/ttyp0", "w");
{ int i;
for(i = 1; i < argc; i++) {
debug(argv[i]);
}
}
#endif
w/ -DDEBUGGING is bogus.
--
_________________________
Carlos E Gorges
(carlos@techlinux.com.br)
Tech informatica LTDA
Brazil
_________________________