On Mon, 2014-06-09 at 05:49 +0200, Karsten Bräckelmann wrote:
> Found the culprit after some digging. Bug 6915 [1], revision 1453407. As
> a band-aid, the following trivial one-line patch fixes it. Can easily be
> applied manually.
> 
> Since it is kind of way past "getting late" here, and there may be other
> Template Tags affected, I'll defer proper bug handling and committing
> code changes for tomorrow.

Bug 7050 [1]. Fixed in trunk, to be committed to 3.4 branch after RTC
mode review and voting.

While the quick fix I posted yesterday does work, it does so only
because all occurrences want the current time formatted. It will not
work in general for other dates than now (which SA does not use with
that function).

A proper M::SA::PerMsgStatus.pm fix can be found in bug 7050 comment 1,
linked to the svn revision.


[1] https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7050

-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to