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

Parser can segfault if an error happens before reading any input #89978

Closed
pablogsal opened this issue Nov 16, 2021 · 4 comments
Closed

Parser can segfault if an error happens before reading any input #89978

pablogsal opened this issue Nov 16, 2021 · 4 comments
Labels
3.9 only security fixes 3.10 only security fixes 3.11 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@pablogsal
Copy link
Member

BPO 45820
Nosy @ambv, @lysnikolaou, @pablogsal, @miss-islington
PRs
  • bpo-45820: Fix a segfault when the parser fails without reading any input #29580
  • [3.10] bpo-45820: Fix a segfault when the parser fails without reading any input (GH-29580) #29583
  • [3.9] bpo-45820: Fix a segfault when the parser fails without reading any input (GH-29580) #29584
  • 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 2021-11-18.00:25:31.235>
    created_at = <Date 2021-11-16.18:58:10.202>
    labels = ['interpreter-core', '3.9', '3.10', '3.11']
    title = 'Parser can segfault if an error happens before reading any input'
    updated_at = <Date 2021-11-18.00:25:31.234>
    user = 'https://github.com/pablogsal'

    bugs.python.org fields:

    activity = <Date 2021-11-18.00:25:31.234>
    actor = 'lukasz.langa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-11-18.00:25:31.235>
    closer = 'lukasz.langa'
    components = ['Parser']
    creation = <Date 2021-11-16.18:58:10.202>
    creator = 'pablogsal'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45820
    keywords = ['patch']
    message_count = 4.0
    messages = ['406428', '406509', '406510', '406511']
    nosy_count = 4.0
    nosy_names = ['lukasz.langa', 'lys.nikolaou', 'pablogsal', 'miss-islington']
    pr_nums = ['29580', '29583', '29584']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45820'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    @pablogsal pablogsal added interpreter-core (Objects, Python, Grammar, and Parser dirs) 3.9 only security fixes 3.10 only security fixes 3.11 only security fixes labels Nov 16, 2021
    @pablogsal
    Copy link
    Member Author

    New changeset df4ae55 by Pablo Galindo Salgado in branch 'main':
    bpo-45820: Fix a segfault when the parser fails without reading any input (GH-29580)
    df4ae55

    @miss-islington
    Copy link
    Contributor

    New changeset b455df5 by Miss Islington (bot) in branch '3.10':
    bpo-45820: Fix a segfault when the parser fails without reading any input (GH-29580)
    b455df5

    @ambv
    Copy link
    Contributor

    ambv commented Nov 18, 2021

    New changeset 00ee14e by Miss Islington (bot) in branch '3.9':
    [3.9] bpo-45820: Fix a segfault when the parser fails without reading any input (GH-29580) (GH-29584)
    00ee14e

    @ambv
    Copy link
    Contributor

    ambv commented Nov 18, 2021

    Thanks, Pablo! ✨ 🍰 ✨

    @ambv ambv closed this as completed Nov 18, 2021
    @ambv ambv closed this as completed Nov 18, 2021
    @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.9 only security fixes 3.10 only security fixes 3.11 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants