GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Unchecked return in Modules/posixmodule.c from multiple function calls · Issue #86202 · python/cpython

Unchecked return in Modules/posixmodule.c from multiple function calls #86202

New issue
Copy link
New issue
Copy link
Open
Open
Unchecked return in Modules/posixmodule.c from multiple function calls#86202
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

monocle-ai
mannequin
opened on Oct 14, 2020
Issue body actions
BPO 42036
PRs
  • bpo-42036:Fixed unchecked return in Modules/posixmodule.c #22696
  • 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 = None
    created_at = <Date 2020-10-14.15:21:10.723>
    labels = ['type-feature', 'library']
    title = 'Unchecked return in Modules/posixmodule.c from multiple function calls'
    updated_at = <Date 2020-10-27.17:36:50.729>
    user = 'https://bugs.python.org/monocle-ai'

    bugs.python.org fields:

    activity = <Date 2020-10-27.17:36:50.729>
    actor = 'monocle-ai'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2020-10-14.15:21:10.723>
    creator = 'monocle-ai'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42036
    keywords = ['patch']
    message_count = 2.0
    messages = ['378623', '379782']
    nosy_count = 2.0
    nosy_names = ['python-dev', 'monocle-ai']
    pr_nums = ['22696']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue42036'
    versions = []

    Activity

    1. monocle-ai commented on Oct 14, 2020

      @monocle-ai
      monocle-aimannequin
      on Oct 14, 2020
      MannequinAuthor
      More actions

      The return value of a function that is potentially used to initialize a local variable is not checked. Therefore, reading the local variable may result in undefined behavior.

      Our AI analyzer flagged it to be a potential bug as it found another usage of the function in the codebase where the return value of the function was checked for success/failure before using it’s parameters.

    2. monocle-ai
      added
      topic-C-API
      type-featureA feature request or enhancementA feature request or enhancement
      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
      and removed
      topic-C-API
      on Oct 14, 2020
    3. monocle-ai commented on Oct 27, 2020

      @monocle-ai
      monocle-aimannequin
      on Oct 27, 2020
      MannequinAuthor
      More actions

      Bumping this up for updates.

    4. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    5. serhiy-storchaka
      added this to OS issues 💻on Jul 3, 2026
    6. github-project-automation
      moved this to Todo in OS issues 💻on Jul 3, 2026
    7. serhiy-storchaka
      added
      type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
      and removed
      type-featureA feature request or enhancementA feature request or enhancement
      on Jul 3, 2026
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

      Projects

      • OS issues 💻
        Status
        Todo
        Show more project fields

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.