Skip to content
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

Re: Corrupting the sv arena #434

Closed
p5pRT opened this issue Aug 25, 1999 · 3 comments
Closed

Re: Corrupting the sv arena #434

p5pRT opened this issue Aug 25, 1999 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 25, 1999

Migrated from rt.perl.org#1275 (status was 'resolved')

Searchable as RT1275$

@p5pRT
Copy link
Author

p5pRT commented Aug 25, 1999

From ilya@math.ohio-state.edu

Thanks,
Ilya

On Wed, Aug 25, 1999 at 10​:01​:25AM -0600, Bruno Melli wrote​:

Hi Ilya,

You mentioned "esoteric" ways to corrupt the sv arena and I think I
have found one although I don't know enough of the perl
internals to know if that is the real cause​:

      \.\.\.

my %prelim_conf;
tie %prelim_conf, 'FOCS', $global_conf;
# untie %prelim_conf;
undef %prelim_conf;

exit 1;

(I added then commented out the untie call)
Seems that if you tie a variable then undef it without untying it
you cause damage to whatever you tied to.
In this case the actual damage occurs during the exit operation so I
assume that some sort of cleanup is done at that level on a
corrupted global_conf.
Does that sound plausible ?

thanks,

bruno.

@p5pRT
Copy link
Author

p5pRT commented Aug 12, 2002

From @gbarr

Cannot reproduce

@p5pRT
Copy link
Author

p5pRT commented Aug 12, 2002

@gbarr - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant