This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
setpgrp() should extend the stack before modifying it
authorNiko Tyni <ntyni@debian.org>
Mon, 26 Jan 2009 12:14:36 +0000 (14:14 +0200)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 4 Feb 2009 13:37:44 +0000 (14:37 +0100)
commit1f200948c4c45a9bc088451dd377e4ab8733c722
treea7731f2059f4ba1952fc01c1da32482a01c5c6ad
parent21afb10428b3f731e6a7c83892bed088deaea137
setpgrp() should extend the stack before modifying it

As reported by Marcin Owsiany in <http://bugs.debian.org/512796>,
invoking setpgrp without any arguments could corrupt the stack.
MANIFEST
pp_sys.c
t/op/setpgrpstack.t [new file with mode: 0644]