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
heap-use-after-free S_mro_gather_and_rename (mro_core.c:930) #15653
Comments
From @geeknikTriggered in Perl v5.25.6 (v5.25.5-76-g91dca83) with AFL+ASAN. ==982==ERROR: AddressSanitizer: heap-use-after-free on address 0x60600000e420 is located 0 bytes inside of 64-byte region previously allocated by thread T0 here: SUMMARY: AddressSanitizer: heap-use-after-free Valgrind + Perl v5.25.6 (v5.25.5-76-g91dca83): I ran afl-tmin and it came up with ./perl -e |
From @tonycozOn Wed Oct 12 12:37:14 2016, brian.carpenter@gmail.com wrote:
This seems to be the simplified reproducer: ./perl -e '*::::::=*::xx; %::::::=*::; *::::=*::;' At the point of failure SVf_OOK isn't set on oldstash. Tony |
The RT System itself - Status changed from 'new' to 'open' |
From @iabynOn Wed, Oct 12, 2016 at 09:14:18PM -0700, Tony Cook via RT wrote:
It can be simplified (or at least deobfuscated) further to this: %x = qw(foo bar); (Or it may be a separate but related case - the reduction process took a The two basic issues here are that a) line 2 in the code above sticks an ordinary glob (*x) containing an b) during the glob assignment in line 3, the recursive 'fix up stashes and Its not clear to me whether the fix is to 1) ensure that anything added to a stash which could be treated as a stash 2) that Perl_mro_package_moved()/S_mro_gather_and_rename() should be fixed I suspect that (1) is impossible, so (2) would be the way to go, but I'd -- |
From @iabynOn Wed, Feb 08, 2017 at 04:48:17PM +0000, Dave Mitchell wrote:
I also don't think its a security issue. If an attacker can already force The bug is unlikely to be found in existing code, as that would have -- |
From @iabynOn Fri, Feb 10, 2017 at 09:38:28AM +0000, Dave Mitchell wrote:
I've move this ticket to the public queue in a few days time if no-one -- |
From @iabynOn Tue, Feb 21, 2017 at 11:02:59AM +0000, Dave Mitchell wrote:
which I am now doing. -- |
Migrated from rt.perl.org#129861 (status was 'open')
Searchable as RT129861$
The text was updated successfully, but these errors were encountered: