-
Notifications
You must be signed in to change notification settings - Fork 561
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 in S_free_codeblocks (regcomp.c:6136) #15840
Comments
From @dur-randirCreated by @dur-randirWhile fuzzing perl v5.25.9-35-g32207c637b built with afl and run qr'(?{})\6' to perform an access outside of an allocated memory slot. ASAN diagnostics are: Reference to nonexistent group in regex; marked by <-- HERE in
|
From @tonycozOn Thu, 26 Jan 2017 05:01:17 -0800, randir wrote:
This requires feeding code to the parser (the (?{}} block) which is This isn't a security issue, so I've moved it to the public queue. I suspect regfree_internal() simply shouldn't free the code blocks. Tony |
The RT System itself - Status changed from 'new' to 'open' |
From @iabynOn Tue, Jan 31, 2017 at 06:50:15PM -0800, Tony Cook via RT wrote:
Fixed with the following: commit f8def6c avoid double-freeing regex code blocks -- |
@iabyn - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release today of Perl 5.26.0, this and 210 other issues have been Perl 5.26.0 may be downloaded via: If you find that the problem persists, feel free to reopen this ticket. |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#130650 (status was 'resolved')
Searchable as RT130650$
The text was updated successfully, but these errors were encountered: