On Fri, Jun 04, 2010 at 02:15:04PM +1000, Peter Hutterer wrote: > Classic strlen/strcpy mistake of > foo = malloc(strlen(bar)); > strcpy(foo, bar); Yeah, what a clanger. Reviewed-by-and-apologised-for: Daniel Stone <daniel at fooishbar.org>