]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cksum: fix failure to diagnose read errors with crc32
authorPádraig Brady <P@draigBrady.com>
Sat, 22 Apr 2023 14:59:48 +0000 (15:59 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 24 Apr 2023 10:46:28 +0000 (11:46 +0100)
commit9d333aca433c5c7ae988d262130eb7e0c81819cf
tree96a1cf8cfec210a4128aabc6514b38d802b58c90
parente29f4411c80b38a8d146de9ceb0d7e85831b72f3
cksum: fix failure to diagnose read errors with crc32

The default crc32 mode fails to diagnose read errors.

* src/cksum.c (cksum_slice8): Fix the check for read errors.
(cksum_pclmul): Likewise.
* NEWS: Mention the bug fix.
NEWS
src/cksum.c
src/cksum_pclmul.c