The number one super-guy!

Tuesday, 18 July 2006

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

 

 

Recent Posts

Recent Tags