Skip to content

ASAN/UBSAN: heap-buffer-overflow in pegen.c #85130

@tiran

Description

@tiran
BPO 40958
Nosy @tiran, @lysnikolaou, @pablogsal, @miss-islington
PRs
  • bpo-40958: Avoid buffer overflow in the parser when indexing the current line #20842
  • bpo-40958: Avoid buffer overflow in the parser when indexing the current line #20875
  • [3.9] bpo-40958: Avoid buffer overflow in the parser when indexing the current line (GH-20875) #20919
  • bpo-40958: Avoid 'possible loss of data' build warning on Windows #20968
  • bpo-40958: Avoid 'possible loss of data' warning on Windows #20970
  • [3.9] bpo-40958: Avoid 'possible loss of data' warning on Windows (GH-20970) #21001
  • 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-06-16.15:51:14.172>
    created_at = <Date 2020-06-12.10:42:31.032>
    labels = ['type-security', 'interpreter-core', '3.9', '3.10']
    title = 'ASAN/UBSAN: heap-buffer-overflow in pegen.c'
    updated_at = <Date 2020-06-20.17:35:07.180>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2020-06-20.17:35:07.180>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-06-16.15:51:14.172>
    closer = 'pablogsal'
    components = ['Interpreter Core']
    creation = <Date 2020-06-12.10:42:31.032>
    creator = 'christian.heimes'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40958
    keywords = ['patch']
    message_count = 37.0
    messages = ['371351', '371358', '371359', '371360', '371361', '371362', '371363', '371365', '371366', '371368', '371369', '371370', '371371', '371372', '371373', '371374', '371375', '371376', '371378', '371379', '371381', '371382', '371384', '371388', '371389', '371391', '371393', '371395', '371399', '371405', '371675', '371686', '371831', '371837', '371838', '371936', '371945']
    nosy_count = 4.0
    nosy_names = ['christian.heimes', 'lys.nikolaou', 'pablogsal', 'miss-islington']
    pr_nums = ['20842', '20875', '20919', '20968', '20970', '21001']
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue40958'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-securityA security issue

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions