Changeset 2fec14b for t/completion.t

Timestamp:
Jan 19, 2010, 10:53:08 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
Children:
fde6d80
Parents:
0f8efe0
Message:
perlglue.xs: Copy passed-in SV*s before storing them.

Perl gives us a pointer to the same SV* that the caller was using, so
if the caller mutates it in some way after the call, it affects our
saved copy. This is definitely not what we want.

Reported-by: William Throwe <wthrowe@MIT.EDU>
(No files)

Note: See TracChangeset for help on using the changeset viewer.