Skip to content

_zstd: Fix printf format for pledged size errors #146578

Description

@cuiweixie

Problem

In zstd_contentsize_converter (Modules/_zstd/compressor.c), ValueError messages use the format specifier %ull when printing ZSTD_CONTENTSIZE_ERROR. The correct C99 format for unsigned long long is %llu; %ull is invalid.

Proposed fix

Replace %ull with %llu in both error paths.

Linked PRs

Activity

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

    3.14bugs and security fixes3.15pre-release feature fixes, bugs and security fixesextension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions