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

compiler: Fix crash in beam_ssa_private_append #8633

Merged
merged 1 commit into from
Sep 5, 2024

Commits on Jul 2, 2024

  1. compiler: Fix crash in beam_ssa_private_append

    With the right input, the beam_ssa_private_append pass could crash
    when it, during the initial value tracking phase, selected literals
    which were not compatible with the tracked element structure for later
    patching. This patch ensures that only compatible literals are
    scheduled for later patching.
    
    This crash is only present in OTP versions >= 26 && <= 27 and this fix
    should not be merged to master as dce585f ("compiler: In-place
    update of tuples/records"), merged for OTP 27, includes essentially
    the same functionality.
    
    Closes erlang#8630
    frej committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    6b00105 View commit details
    Browse the repository at this point in the history