New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic dereferencing in the version object code allows SEGVs #10705
Comments
From @nwc10Created by @nwc10Perl_vverify contains if ( SvROK(vs) ) before it verifies whether what it is passed meets the structural However, vverify is called after a similar automatic dereferencing in The result is that vverify will *pass* something that should *fail*, $ ./perl -lwe '$a = \\version->new(1); bless $a, "version"; print $a' Whilst the "obvious" fix is to re-order the automatic dereference and the (The current code has paths that revalidate. This is wasteful.) Nicholas Clark Perl Info
|
From @xdgFixed with the commit 5de8bff Change vverify() to return HV or NULL (RT#78286) |
From [Unknown Contact. See original ticket]Fixed with the commit 5de8bff Change vverify() to return HV or NULL (RT#78286) |
@xdg - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#78286 (status was 'resolved')
Searchable as RT78286$
The text was updated successfully, but these errors were encountered: