On Mon, Apr 11, 2016 at 04:39:59AM -0700, H. Merijn Brand wrote:

> In a one-liner:
> 
> $ p6 -e'my$b=Buf.new(61,^2048 .map({256.rand.Int}));my Str 
> $u=$b.decode("utf8-c8");$u.=subst(/("a"|"b")/,{"c$0"},:g);'
> Segmentation fault
> 
> or (same code)

With timotimo's commit from this afternoon:

commit 808fd05041b3d846b0a54acc4297299af2a1b71d
Author: Timo Paulssen <timona...@perpetuum-immobile.de>
Date:   Mon Apr 11 14:05:57 2016 +0200

    cope with buffers being too small in re_nfg

    fixes a crash when working with utf8-c8 strings.


that one liner changes from ASAN barfage to no output.
(which means that the SEGV is fixed).

That means it's now "tests needed" ?

Nicholas Clark

Reply via email to