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 — qidarg_converter_data Values Not Properly Initialized · Issue #125667 · python/cpython

qidarg_converter_data Values Not Properly Initialized #125667

New issue
Copy link
New issue
Copy link
Closed
Closed
qidarg_converter_data Values Not Properly Initialized#125667
Copy link
Assignees
ericsnowcurrently
Labels
3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@ericsnowcurrently
ericsnowcurrently
opened on Oct 17, 2024
Issue body actions

Bug report

Bug description:

In #124548 (comment), @ZeroIntensity noted that the various locals of type qidarg_converter_data in _interpqueuesmodule.c are not statically initialized. Whether or not they are initialized to zeros by default is "undefined behavior, ergo depends on the compiler. This could be a problem since the corresponding arg converter func branches on whether or the "label" field is NULL. This may (or may not) be related to the buildbot failures noted in that other issue.

Fixing this will be fairly trivial.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

  • gh-125667: Statically Initialize the Arg Converter Data Values in _interpqueuesmodule.c #125668
  • [3.13] gh-125667: Statically Initialize the Arg Converter Data Values in _interpqueuesmodule.c (gh-125668) #125670

Activity

  1. ericsnowcurrently
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    extension-modulesC modules in the Modules dirC modules in the Modules dir
    topic-subinterpreters
    3.13only security fixesonly security fixes
    3.14bugs and security fixesbugs and security fixes
    on Oct 17, 2024
  2. ericsnowcurrently
    self-assigned this
    on Oct 17, 2024
  3. github-project-automation
    added this to Subinterpreterson Oct 17, 2024
  4. github-project-automation
    moved this to Todo in Subinterpreterson Oct 17, 2024
  5. ericsnowcurrently
    added a commit that references this issue on Oct 17, 2024

    gh-125667: Statically Initialize the Arg Converter Data Values in _in…

    7cf2dbc
  6. miss-islington
    added a commit that references this issue on Oct 17, 2024

    pythongh-125667: Statically Initialize the Arg Converter Data Values …

    70526e7
  7. ericsnowcurrently
    added a commit that references this issue on Oct 18, 2024

    [3.13] gh-125667: Statically Initialize the Arg Converter Data Values…

    e57831f
  8. ericsnowcurrently
    closed this as completedon Oct 18, 2024
  9. github-project-automation
    moved this from Todo to Done in Subinterpreterson Oct 18, 2024
  10. ebonnal
    added a commit that references this issue on Jan 12, 2025

    pythongh-125667: Statically Initialize the Arg Converter Data Values …

    5c41fa6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @ericsnowcurrently
    ericsnowcurrently

Labels

3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

  • Subinterpreters
    Status
    Done
    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.