Re: [PATCH] Bug in 1.4.18: undefined variable: aSpamIds

Paul Lesniewski <[email protected]>
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
On Mon, May 18, 2009 at 11:46 PM, Michal Hlavinka <[email protected]> wrote:
> Hi,
> we've found bug in squirrelmail/plugins/filters/filters.php causing :
> Undefined variable: aSpamIds in
> /usr/share/squirrelmail/plugins/filters/filters.php on line 458
>
> this prevents users from logging in.
>
> Problem is in if (count($aSpamIds))... because this variable isn't initialized
> always.
>
> We've used attached patch, which should fix this.

Thanks for spotting this.  It had been corrected in our development
code, but somehow did not make its way into the stable code.  Hrmph.
I've committed the fix.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.