Skip to content

socket.getaddrinfo(host) doesn't ensure that host.encode() returns a byte string #68872

@pkt

Description

@pkt
mannequin
BPO 24684
Nosy @vstinner, @Rosuav
Files
  • poc_getaddr.py
  • dont_assert.patch
  • dont_assert_with_test.patch
  • 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 2015-09-11.10:45:32.212>
    created_at = <Date 2015-07-22.07:02:51.998>
    labels = ['type-crash']
    title = "socket.getaddrinfo(host) doesn't ensure that host.encode() returns a byte string"
    updated_at = <Date 2015-09-11.10:45:32.211>
    user = 'https://bugs.python.org/pkt'

    bugs.python.org fields:

    activity = <Date 2015-09-11.10:45:32.211>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-09-11.10:45:32.212>
    closer = 'vstinner'
    components = []
    creation = <Date 2015-07-22.07:02:51.998>
    creator = 'pkt'
    dependencies = []
    files = ['39974', '40434', '40435']
    hgrepos = []
    issue_num = 24684
    keywords = ['patch']
    message_count = 8.0
    messages = ['247094', '247097', '247098', '247101', '250456', '250457', '250461', '250462']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'python-dev', 'Rosuav', 'pkt']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue24684'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      type-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