Skip to content

PyType_FromSpecWithBases: spec->name is dereferenced before checking for NULL #78682

@izbyshev

Description

@izbyshev
mannequin
BPO 34501
Nosy @benjaminp, @berkerpeksag, @serhiy-storchaka, @izbyshev, @enedil, @miss-islington
PRs
  • bpo-34501: PyType_FromSpecWithBases: Check spec->name before derefere… #8930
  • [3.7] closes bpo-34501: PyType_FromSpecWithBases: Check spec->name before dereferencing it. (GH-8930) #8931
  • [3.6] closes bpo-34501: PyType_FromSpecWithBases: Check spec->name before dereferencing it. (GH-8930) #8932
  • 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 2018-08-25.18:53:49.746>
    created_at = <Date 2018-08-25.15:26:40.523>
    labels = ['interpreter-core', '3.8', 'type-bug', '3.7']
    title = 'PyType_FromSpecWithBases: spec->name is dereferenced before checking for NULL'
    updated_at = <Date 2018-08-25.19:17:16.347>
    user = 'https://github.com/izbyshev'

    bugs.python.org fields:

    activity = <Date 2018-08-25.19:17:16.347>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-08-25.18:53:49.746>
    closer = 'benjamin.peterson'
    components = ['Interpreter Core']
    creation = <Date 2018-08-25.15:26:40.523>
    creator = 'izbyshev'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34501
    keywords = ['patch']
    message_count = 7.0
    messages = ['324073', '324088', '324090', '324091', '324092', '324093', '324094']
    nosy_count = 6.0
    nosy_names = ['benjamin.peterson', 'berker.peksag', 'serhiy.storchaka', 'izbyshev', 'enedil', 'miss-islington']
    pr_nums = ['8930', '8931', '8932']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34501'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions