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

A possible null pointer dereference in compile.c's merge_consts_recursive() #80555

Closed
ZackerySpytz mannequin opened this issue Mar 19, 2019 · 2 comments
Closed

A possible null pointer dereference in compile.c's merge_consts_recursive() #80555

ZackerySpytz mannequin opened this issue Mar 19, 2019 · 2 comments
Labels
3.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@ZackerySpytz
Copy link
Mannequin

ZackerySpytz mannequin commented Mar 19, 2019

BPO 36374
Nosy @methane, @ZackerySpytz, @miss-islington
PRs
  • bpo-36374: Fix a possible null pointer dereference #12449
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-03-20.09:18:50.115>
    created_at = <Date 2019-03-19.21:45:28.738>
    labels = ['interpreter-core', '3.8', 'type-crash']
    title = "A possible null pointer dereference in compile.c's merge_consts_recursive()"
    updated_at = <Date 2019-03-20.09:18:50.114>
    user = 'https://github.com/ZackerySpytz'

    bugs.python.org fields:

    activity = <Date 2019-03-20.09:18:50.114>
    actor = 'methane'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-03-20.09:18:50.115>
    closer = 'methane'
    components = ['Interpreter Core']
    creation = <Date 2019-03-19.21:45:28.738>
    creator = 'ZackerySpytz'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36374
    keywords = ['patch']
    message_count = 2.0
    messages = ['338411', '338444']
    nosy_count = 3.0
    nosy_names = ['methane', 'ZackerySpytz', 'miss-islington']
    pr_nums = ['12449']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue36374'
    versions = ['Python 3.8']

    @ZackerySpytz
    Copy link
    Mannequin Author

    ZackerySpytz mannequin commented Mar 19, 2019

    If PyDict_SetDefault() fails in merge_consts_recursive(), Py_INCREF() will be called on a null pointer.

    @ZackerySpytz ZackerySpytz mannequin added 3.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump labels Mar 19, 2019
    @miss-islington
    Copy link
    Contributor

    New changeset 9b4a1b1 by Miss Islington (bot) (Zackery Spytz) in branch 'master':
    bpo-36374: Fix a possible null pointer dereference (GH-12449)
    9b4a1b1

    @methane methane closed this as completed Mar 20, 2019
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants