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

Fix invalid allocation bug in runtime that allows for segfaults #2896

Merged
merged 1 commit into from
Oct 12, 2018

Commits on Oct 12, 2018

  1. Fix invalid allocation bug in runtime that allows for segfaults

    Thanks to @malte for identifying the root cause of ponylang#2013.
    
    This PR fixes things so that if there's a request for a `size_t`
    sized allocation, it actually tries to allocate it instead of
    pretending that it allocated it while not actually allocating
    anything which results in memory clobbering and segfaults.
    
    resolves ponylang#2013
    dipinhora committed Oct 12, 2018
    Configuration menu
    Copy the full SHA
    d119ccd View commit details
    Browse the repository at this point in the history