Skip to content

input function truncates prompt by NULL byte #74616

Closed
@ghost

Description

@ghost
BPO 30431
Nosy @terryjreedy, @serhiy-storchaka, @kushaldas, @eryksun
PRs
  • gh-74616: Raise ValueError in case of NULL in input prompt #1738
  • 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 = 'https://github.com/kushaldas'
    closed_at = None
    created_at = <Date 2017-05-22.15:09:04.110>
    labels = ['interpreter-core', 'type-bug', '3.8', '3.9', '3.10']
    title = 'input function truncates prompt by NULL byte'
    updated_at = <Date 2021-03-04.19:49:59.064>
    user = None

    bugs.python.org fields:

    activity = <Date 2021-03-04.19:49:59.064>
    actor = 'eryksun'
    assignee = 'kushal.das'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2017-05-22.15:09:04.110>
    creator = '\xd0\x9a\xd0\xbe\xd1\x81\xd1\x82\xd1\x8f \xd0\xa7\xd0\xbe\xd0\xbb\xd0\xb0\xd0\xba'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30431
    keywords = []
    message_count = 7.0
    messages = ['294153', '294176', '294179', '294589', '294595', '294612', '294630']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'serhiy.storchaka', 'kushal.das', 'eryksun', '\xd0\x9a\xd0\xbe\xd1\x81\xd1\x82\xd1\x8f \xd0\xa7\xd0\xbe\xd0\xbb\xd0\xb0\xd0\xba']
    pr_nums = ['1738']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue30431'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.8 (EOL)end of life3.9only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions