fix SEGV in /\N{...}/
authorDavid Mitchell <davem@iabyn.com>
Fri, 22 Jan 2010 12:57:27 +0000 (12:57 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 22 Jan 2010 12:57:27 +0000 (12:57 +0000)
commit2628941b2d252f43f51dd0bcf09e95facb046886
tree4824b88a487eb0688e8323d28cd86ac708c60a1d
parent8082ad347d85cc7321629f754ef52c1279698c1d
fix SEGV in /\N{...}/

A simple program like the following could coredump:

    use charnames ':full';
    /\N{LATIN SMALL LETTER E}/;

The moral being, make sure sp is synced on return from call_sv()
*before* using the stack!

(Was a regression since 5.10)
regcomp.c