Skip to content

qidarg_converter_data Values Not Properly Initialized #125667

Closed
@ericsnowcurrently

Description

@ericsnowcurrently

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

Metadata

Metadata

Labels

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

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions