Skip to content

1.4.4: broken on big endian architectures #9521

Description

@ThomasWaldmann

In the new header value validation code, due to missing _le32toh() calls for num_buckets and num_entries, it crashes with this on big endian architectures, like s390x, hppa, sparc64:

E   ValueError: Expected 0 <= num_entries <= num_buckets, got 1660944384.

Activity

  1. added this to the 1.4.5 milestone on Mar 19, 2026
  2. added a commit that references this issue on Mar 19, 2026
    7fd6df2
  3. added a commit that references this issue on Mar 19, 2026
    477f987
  4. ThomasWaldmann commented on Mar 19, 2026

    @ThomasWaldmann
    MemberAuthor
  5. added 2 commits that reference this issue on Mar 19, 2026
    d2db21e
    3b9ccaa
  6. ThomasWaldmann commented on Mar 19, 2026

    @ThomasWaldmann
    MemberAuthor

    @FelixSchwarz @LocutusOfBorg @bket Yet another patch, see previous post.

  7. added 2 commits that reference this issue on Mar 19, 2026
    1488442
    428c26d
  8. ThomasWaldmann commented on Mar 19, 2026

    @ThomasWaldmann
    MemberAuthor

    Fixed, does not apply to master branch.

  9. LocutusOfBorg commented on Mar 19, 2026

    @LocutusOfBorg
    Contributor

    thanks!

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions