From: "Weiqi Gao" Newsgroups: comp.os.msdos.djgpp Subject: security hole in "cat" Date: 18 Dec 1996 04:27:06 GMT Organization: CRL Dialup Internet Access Lines: 15 Message-ID: <01bbec9b$9b112a20$0f0171a5@weiqigao> NNTP-Posting-Host: crl13.crl.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Of course it's not a security hole. How could there be? However, I had the following peculiar experience with bash and cat in a DOS box under Windows 3.1: =========================================================== weiqi: ~$ cat << EOF >EOF d:/USR/BIN/cat.exe: -: Bad file descriptor (EBADF) =========================================================== Any insights? -- Weiqi Gao weiqigao AT crl DOT com