Path: utzoo!attcan!uunet!husc6!mailrus!cornell!batcomputer!itsgw!imagine!pawl2.pawl.rpi.edu!night From: night@pawl2.pawl.rpi.edu (Trip Martin) Newsgroups: news.sysadmin Subject: Re: THE SENDMAIL BUG LIVES ON Keywords: sendmail, bug Message-ID: <1792@imagine.PAWL.RPI.EDU> Date: 21 Nov 88 00:47:12 GMT References: <402@kl-cs.UUCP> <403@kl-cs.UUCP> Sender: news@imagine.PAWL.RPI.EDU Reply-To: night@pawl2.pawl.rpi.edu (Trip Martin) Organization: ECSE Dept, RPI, Troy, NY Lines: 24 In article <403@kl-cs.UUCP> jonathan@cs.keele.ac.uk (Jonathan Knight) writes: >In article <402@kl-cs.UUCP>, I wrote >> A little experimentation with a Ultrix machine >> using telnet to a sun revealed that if I used the command >> "^@^@BUG" I could still get the debug option set. > >Actually as the debug command has been replaced with a string starting >with a null, simply hitting return will set the debug option. No >need for any clever way of getting nulls to sendmail. Not much of a fix >really, anybody got something better? I found this one too. My first idea was to change the string to uppercase assuming that sendmail mapped the string to lowercase before doing the comparison. Strangely enough that didn't work. What did work was to put a space in the string. Since the parser uses spaces to delimit words, sendmail will never return a space inside the command word (I'm not positive on this point, but it seems to be the case). Anyhow, I changed "debug" to "a bug". :-) -- Trip Martin night@paraguay.acm.rpi.edu night@pawl.rpi.edu