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 /proto.h | |
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 'proto.h')
-rw-r--r-- | proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4635,7 +4635,7 @@ PERL_CALLCONV SV* Perl_vstringify(pTHX_ SV *vs) #define PERL_ARGS_ASSERT_VSTRINGIFY \ assert(vs) -PERL_CALLCONV bool Perl_vverify(pTHX_ SV *vs) +PERL_CALLCONV SV* Perl_vverify(pTHX_ SV *vs) __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_VVERIFY \ assert(vs) |