Skip to content

builtin_sum() doesn't check return value of PyLong_FromLong() #62760

@tiran

Description

@tiran
BPO 18560
Nosy @vstinner, @tiran, @benjaminp
PRs
  • [2.7] bpo-18560: Fix potential NULL pointer dereference in sum(). #8892
  • Files
  • builtin_sum.patch
  • 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 2013-07-26.20:52:05.996>
    created_at = <Date 2013-07-26.14:52:26.170>
    labels = ['interpreter-core', 'type-crash']
    title = "builtin_sum() doesn't check return value of PyLong_FromLong()"
    updated_at = <Date 2018-08-24.05:31:37.301>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2018-08-24.05:31:37.301>
    actor = 'benjamin.peterson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-07-26.20:52:05.996>
    closer = 'christian.heimes'
    components = ['Interpreter Core']
    creation = <Date 2013-07-26.14:52:26.170>
    creator = 'christian.heimes'
    dependencies = []
    files = ['31038']
    hgrepos = []
    issue_num = 18560
    keywords = ['patch']
    message_count = 5.0
    messages = ['193730', '193746', '193748', '193750', '323993']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'christian.heimes', 'benjamin.peterson', 'python-dev']
    pr_nums = ['8892']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue18560'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions