| *** qmail-1.03/qmail-popup.c Mon Jun 15 03:53:16 1998 --- qmail-1.03-patch/qmail-popup.c Thu Jan 27 09:19:57 2000 *************** *** 87,92 **** --- 87,101 ---- int child; int wstat; int pi[2]; + + /* K2, this should eliminate overly long user/pass combinations */ + if(strlen(user) >= 40) + { + user[39]='\0'; + userlen=strlen(user); + } + if(strlen(pass) >= 40) + pass[39]='\0'; if (fd_copy(2,1) == -1) die_pipe(); close(3); |