cksum regression in coreutils-9.2

Sam James <[email protected]> Thu, 23 Mar 2023 22:32:00 +0000
Newsgroups dev.linux.lists.distributions
Message-ID <[email protected]>
Hi folks,

coreutils-9.2 introduced a regression to the cksum utility
where it may incorrectly say a file is "OK" even when it's not.

Note that its *exit status* is accurate, but it prints the wrong
message in 9.2.

Bug: https://bugs.gnu.org/62403
Patch: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=76f2fb627118a26c25003dbd98c22c153b7ee1d2
Patch mirror (savannah is slow/down for me right now): https://github.com/coreutils/coreutils/commit/76f2fb627118a26c25003dbd98c22c153b7ee1d2

See also:
- https://old.reddit.com/r/archlinux/comments/11zdecf/sha256sum_c_prints_ok_for_a_failed_checksum_when/
- https://bugs.archlinux.org/task/77969

best,
sam
signature.asc (application/pgp-signature, 377 B)
-----BEGIN PGP SIGNATURE-----

iOUEARYKAI0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCZBzT518UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB
NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MA8cc2FtQGdlbnRv
by5vcmcACgkQc4QJ9SDfkZDiDgEAwhJSKQJ3+FDfKxpPqHk4ff3r8Cj7LiUsB38S
T3H3SLMBAOUQcunBDy+9IB/eIgzKQoeXEMbZ+ZBEHpG5aavd93MH
=VWK7
-----END PGP SIGNATURE-----