[Po4a-devel] Fuzzing results

Nicolas François nicolas.francois at centraliens.net
Thu Nov 13 20:55:41 UTC 2008


On Thu, Nov 13, 2008 at 06:24:00PM +0100, intrigeri at boum.org wrote:
> Hi,
> 
> Nicolas François wrote (12 Nov 2008 20:10:39 GMT) :
> > If you can produce a infinite loop, can you ask zzuf to reproduce
> > this test vector?
> 
> Yes. zzuf's behaviour is deterministic, so this should be reproducible
> anywhere, at least using zzuf 0.12-1.

Nice.
I'm also using zzuf 0.12-1.

> Ok, I managed to find a reproducible test that should be run at the
> root of the current po4a CVS source:
> 
> zzuf -I po/pod/ po4a po/pod.cfg
> 
> I let it run (and use one of my two CPU cores) for a while, and lost
> patience, considering it was really deadlocked or lost inside an
> infinite loop.
[...]
> Running "zzuf -I po/pod/ this_script.pl" at the root of the CVS source
> reproduces this deadlock / infinite loop behavior after processing
> po/pod/fr.po:1744.

I could not reproduce these until I remember that I fixed 470250 locally.

(This is the infinite loop I mentioned earlier with WrapI18N)

You can avoid this issue by prepending COLUMNS=1000 before the commands.

Best Regards,
-- 
Nekral



More information about the Po4a-devel mailing list