Skip to content

undefined behaviour: signed integer overflow in threadmodule.c #77813

@pitrou

Description

@pitrou
BPO 33632
Nosy @pitrou, @vstinner, @vadmium, @pganssle, @ZackerySpytz, @hongweipeng
PRs
  • bpo-33632: Avoid signed integer overflow in the _thread module #12729
  • Superseder
  • bpo-41710: threading.Lock.acquire(timeout) should use sem_clockwait(CLOCK_MONOTONIC)
  • 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-12-06.13:26:08.534>
    created_at = <Date 2018-05-24.08:39:55.148>
    labels = ['extension-modules', '3.8', 'type-bug', '3.7']
    title = 'undefined behaviour: signed integer overflow in threadmodule.c'
    updated_at = <Date 2021-12-06.13:26:08.533>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2021-12-06.13:26:08.533>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-12-06.13:26:08.534>
    closer = 'vstinner'
    components = ['Extension Modules']
    creation = <Date 2018-05-24.08:39:55.148>
    creator = 'pitrou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33632
    keywords = ['patch']
    message_count = 9.0
    messages = ['317545', '317554', '317556', '339644', '340184', '340255', '340284', '407712', '407800']
    nosy_count = 6.0
    nosy_names = ['pitrou', 'vstinner', 'martin.panter', 'p-ganssle', 'ZackerySpytz', 'hongweipeng']
    pr_nums = ['12729']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = '41710'
    type = 'behavior'
    url = 'https://bugs.python.org/issue33632'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifeextension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions