About Archive Tags RSS Feed

 

The number one super-guy!

18 July 2006 21:50

How not to prompt for passwords in your code:

skx@desktop:/tmp/retchmail-1.0$ grep system\( *.cc
retchmail.cc:           system("stty -echo 2>/dev/null");
retchmail.cc:           system("stty echo 2>/dev/null");

(Since anybody can trojan PATH.)

Still otherwise the code looks good :)

| No comments