summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2016-12-05 11:48:14 +1100
committerTony Cook <tony@develop-help.com>2017-01-16 15:43:31 +1100
commit02c161ef974f8f1efbb5632f741c1164adb6ca75 (patch)
tree667e7c8df37a0a3f30388aaacb6ab4abd55a04cd /pp.c
parentfbceb79751d97a15e33501de097e506ae24c0e58 (diff)
downloadperl-02c161ef974f8f1efbb5632f741c1164adb6ca75.tar.gz
(perl #130262) split scalar context stack overflow fix
pp_split didn't ensure there was space for its return value in scalar context.
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index adda6c9945..657abf7450 100644
--- a/pp.c
+++ b/pp.c
@@ -6142,7 +6142,7 @@ PP(pp_split)
}
GETTARGET;
- PUSHi(iters);
+ XPUSHi(iters);
RETURN;
}