git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ff5ab91) | patch
Use SvROK(sv) rather than directly checking SvTYPE(sv) == SVt_RV in plperl.
Tue, 9 Mar 2010 22:34:38 +0000 (22:34 +0000)
Tue, 9 Mar 2010 22:34:38 +0000 (22:34 +0000)
commit dac7a37dd3c66ba8cf120d997ea1a1c9d6a0d99d
Use SvROK(sv) rather than directly checking SvTYPE(sv) == SVt_RV in plperl.
The latter is considered unwarranted chumminess with the implementation,
and can lead to crashes with recent Perl versions.

Report and fix by Tim Bunce. Back-patch to all versions containing the
questionable coding pattern.
src/pl/plperl/plperl.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /