Timestamp:
Mar 1, 2010, 8:33:47 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
release-1.5
Children:
7d6a751
Parents:
65fca7a0
git-author:
Nelson Elhage <nelhage@mit.edu> (01/19/10 22:53:08)
git-committer:
Nelson Elhage <nelhage@mit.edu> (03/01/10 20:33:47)
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.