diff options
author | David Golden <dagolden@cpan.org> | 2010-10-08 11:39:52 -0400 |
---|---|---|
committer | David Golden <dagolden@cpan.org> | 2010-10-08 11:53:20 -0400 |
commit | 5de8bffdbc0d73b6750568e36033f7168cd88f51 (patch) | |
tree | a67b09b9ffcf76a37d90caf843615285c6c33690 /embed.fnc | |
parent | e771aaa95f65a9c44af94b9391ba49f4fcbfda43 (diff) | |
download | perl-5de8bffdbc0d73b6750568e36033f7168cd88f51.tar.gz |
Change vverify() to return HV or NULL (RT#78286)
Multiple code paths were dereferencing version objects without
checking the underlying type, which could result in segmentation
faults per RT#78286
This patch consolidates all dereferencing into vverify() and
has vverify return the underlying HV or NULL instead of
a boolean value.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -853,7 +853,7 @@ Apd |const char* |prescan_version |NN const char *s\ |NULLOK int *ssaw_decimal|NULLOK int *swidth|NULLOK bool *salpha Apd |SV* |new_version |NN SV *ver Apd |SV* |upg_version |NN SV *ver|bool qv -Apd |bool |vverify |NN SV *vs +Apd |SV* |vverify |NN SV *vs Apd |SV* |vnumify |NN SV *vs Apd |SV* |vnormal |NN SV *vs Apd |SV* |vstringify |NN SV *vs |