Skip to content

Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs #89164

@wbolster

Description

@wbolster
mannequin
BPO 45001
Nosy @warsaw, @ned-deily, @bitdancer, @ambv, @wbolster, @miss-islington
PRs
  • bpo-45001: Make email date parsing more robust against malformed input #27946
  • [3.10] bpo-45001: Make email date parsing more robust against malformed input (GH-27946) #27972
  • [3.9] bpo-45001: Make email date parsing more robust against malformed input (GH-27946) #27973
  • [3.8] bpo-45001: Make email date parsing more robust against malformed input (GH-27946) #27974
  • [3.7] bpo-45001: Make email date parsing more robust against malformed input (GH-27946) #27975
  • [3.6] bpo-45001: Make email date parsing more robust against malformed input (GH-27946) #27976
  • 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-08-30.18:58:53.311>
    created_at = <Date 2021-08-25.13:23:27.104>
    labels = ['3.8', 'expert-email', '3.10', '3.11', '3.7', 'type-crash', '3.9']
    title = 'Date parsing helpers in email module incorrectly raise IndexError for some malformed inputs'
    updated_at = <Date 2021-08-30.18:58:53.311>
    user = 'https://github.com/wbolster'

    bugs.python.org fields:

    activity = <Date 2021-08-30.18:58:53.311>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-08-30.18:58:53.311>
    closer = 'ned.deily'
    components = ['email']
    creation = <Date 2021-08-25.13:23:27.104>
    creator = 'wbolster'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45001
    keywords = ['patch']
    message_count = 9.0
    messages = ['400261', '400262', '400351', '400356', '400357', '400358', '400655', '400657', '400658']
    nosy_count = 6.0
    nosy_names = ['barry', 'ned.deily', 'r.david.murray', 'lukasz.langa', 'wbolster', 'miss-islington']
    pr_nums = ['27946', '27972', '27973', '27974', '27975', '27976']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue45001'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.7 (EOL)end of life3.8 (EOL)end of life3.9only security fixestopic-emailtype-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