Content-Length: 266088 | pFad | https://github.com/python/cpython/issues/146388

F8 `optimizer_symbols.c`: `make_bottom` NULL deref when arena full · Issue #146388 · python/cpython · GitHub
Skip to content

optimizer_symbols.c: make_bottom NULL deref when arena full #146388

@A0su

Description

@A0su

Bug report

Bug description:

optimizer_symbols.c: make_bottom NULL deref when arena full

sym_new(ctx) at line 1535 can return NULL when the type arena is full. Result immediately dereferenced without check. Every other sym_new call site checks for NULL.

This is a sub-issue of #146102 with gist details

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)topic-JITtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/146388

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy