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 crash in structseq.c's structseq_repr() #80579

Closed
ZackerySpytz mannequin opened this issue Mar 22, 2019 · 3 comments
Closed

A possible crash in structseq.c's structseq_repr() #80579

ZackerySpytz mannequin opened this issue Mar 22, 2019 · 3 comments
Labels
3.8 (EOL) end of life 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 22, 2019

BPO 36398
Nosy @serhiy-storchaka, @ZackerySpytz, @iritkatriel
PRs
  • bpo-36398: Fix a possible crash in structseq_repr() #12492
  • 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 2020-10-18.09:36:28.826>
    created_at = <Date 2019-03-22.04:18:26.080>
    labels = ['interpreter-core', '3.8', 'type-crash']
    title = "A possible crash in structseq.c's structseq_repr()"
    updated_at = <Date 2020-10-18.09:36:28.826>
    user = 'https://github.com/ZackerySpytz'

    bugs.python.org fields:

    activity = <Date 2020-10-18.09:36:28.826>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-10-18.09:36:28.826>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2019-03-22.04:18:26.080>
    creator = 'ZackerySpytz'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36398
    keywords = ['patch']
    message_count = 3.0
    messages = ['338584', '338586', '378768']
    nosy_count = 3.0
    nosy_names = ['serhiy.storchaka', 'ZackerySpytz', 'iritkatriel']
    pr_nums = ['12492']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue36398'
    versions = ['Python 3.8']

    @ZackerySpytz
    Copy link
    Mannequin Author

    ZackerySpytz mannequin commented Mar 22, 2019

    If the first PyUnicode_DecodeUTF8() call fails in structseq_repr(), _PyUnicodeWriter_Dealloc() will be called on an uninitialized _PyUnicodeWriter.

    @ZackerySpytz ZackerySpytz mannequin added 3.8 (EOL) end of life interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump labels Mar 22, 2019
    @serhiy-storchaka
    Copy link
    Member

    New changeset 93e8012 by Serhiy Storchaka (Zackery Spytz) in branch 'master':
    bpo-36398: Fix a possible crash in structseq_repr(). (GH-12492)
    93e8012

    @iritkatriel
    Copy link
    Member

    Can this be closed?

    @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 (EOL) end of life 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