Home page logo
/

bugtraq logo Bugtraq mailing list archives

format bug in agetty ??
From: Carlos Eduardo Gorges <carlos () TECHLINUX COM BR>
Date: Tue, 19 Sep 2000 22:18:38 -0300

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 informática LTDA
         Brazil
         _________________________


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]