From: Sam J. <sa...@sa...> - 2002-01-19 19:57:49
|
Anyone care to comment on this? #127104: squirrelmail is buggy with empty INBOX (very very nasty) <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=127104&repeatmerged=yes> I'm fairly sure I forwarded this before... but I don't have time right now to check... Package: squirrelmail Version: 1.2.0-1 Dear programmers, If I log in to squirrelmail with a user who hasn't got any mail at INBOX actually (so the /var/mail/user is 0 byte long), and after that she receives a mail, and I refresh the page (so the list show the one mail), and I click on this mail, I will got a lot of these messages: Warning: Variable passed to reset() is not an array or object in /usr/share/squirrelmail/src/read_body.php on line 87 Warning: Variable passed to key() is not an array or object in /usr/share/squirrelmail/src/read_body.php on line 87 Warning: Variable passed to prev() is not an array or object in /usr/share/squirrelmail/src/read_body.php on line 89 Warning: Variable passed to key() is not an array or object in /usr/share/squirrelmail/src/read_body.php on line 90 Warning: Variable passed to reset() is not an array or object in /usr/share/squirrelmail/src/read_body.php on line 53 Warning: Variable passed to key() is not an array or object in /usr/share/squirrelmail/src/read_body.php on line 53 Warning: Variable passed to next() is not an array or object in /usr/share/squirrelmail/src/read_body.php on line 55 Warning: Variable passed to key() is not an array or object in /usr/share/squirrelmail/src/read_body.php on line 56 And MBs of this message come from squirrelmail (yeah, my lynx eaten up all of my memory in a minute ;) ). Oh, and the worst: If I start with an empty INBOX, and I switch the folder, and I click on any mail in any other folder, the same thing happens! SO A USER WITH NO MAIL CAN'T HANDLE HER PREVIOUS MAILS, ONLY IF SHE SENDS A DUMMY MAIL TO HERSELF BEFORE! I have tested it with uw-imapd and mailutils-imapd also, however I can do the same thing with my pretty mutt, so this isn't a bug in the imapd. Sorry for the capitals, but squirrelmail is an another GNU program, which occupied two hours from my life. Oh, and the bug also come if I have got the hidden mail in the users mail dir: |