Skip to content

base64.b32decode() leads into UnboundLocalError and OverflowError on some data #78345

@Barro

Description

@Barro
mannequin
BPO 34164
Nosy @serhiy-storchaka, @Barro
PRs
  • bpo-34164: Fix handling of incorrect padding in base64.b32decode(). #8351
  • [3.7] bpo-34164: Fix handling of incorrect padding in base64.b32decode(). (GH-8351) #8435
  • [3.6] bpo-34164: Fix handling of incorrect padding in base64.b32decode(). (GH-8351) #8436
  • 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 2018-07-24.12:12:19.397>
    created_at = <Date 2018-07-20.09:21:09.721>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'base64.b32decode() leads into UnboundLocalError and OverflowError on some data'
    updated_at = <Date 2018-07-24.12:12:19.396>
    user = 'https://github.com/Barro'

    bugs.python.org fields:

    activity = <Date 2018-07-24.12:12:19.396>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-07-24.12:12:19.397>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2018-07-20.09:21:09.721>
    creator = 'Barro'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34164
    keywords = ['patch']
    message_count = 6.0
    messages = ['321991', '321992', '322012', '322284', '322289', '322294']
    nosy_count = 2.0
    nosy_names = ['serhiy.storchaka', 'Barro']
    pr_nums = ['8351', '8435', '8436']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34164'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions