Debian Patches
Status for rust-dmidecode/1.0.0-2
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| fix-s390x.patch | Fix endianness bugs on big-endian architectures (s390x) The SMBIOS specification defines all multi-byte fields as little-endian. The crate used unsafe ptr::read casts on #[repr(C,packed)] structs to deserialise binary data, which reads fields in native byte order. This is correct on little-endian hosts but produces wrong values on big-endian hosts such as s390x, causing test failures and incorrect parsed output . Fix by applying u{16,32,64}::from_le() to every multi-byte field read from a packed struct or via the generic read_bytes helper |
Nadzeya Hutsko <nadzya.info@gmail.com> | yes | 2026-03-23 | ||
| fix-assert_eq-import.patch | Fix ambiguous assert_eq import in structure_strings test Drop pretty_assertions::assert_eq from the test that also imports std::prelude::v1::*, which causes an ambiguous name error. Upstream fixed this differently in commit 31f7642ea8116a86ce13e937edbe045a0e89b71d, but that commit changes too much between 1.0.0 and HEAD to cherry-pick cleanly |
Nadzeya Hutsko <nadzya.info@gmail.com> | not-needed | 2026-03-23 |
All known versions for source package 'rust-dmidecode'
- 1.0.0-2 (sid, forky)
