Bruno Haible via GNU coreutils General Discussion <[email protected]>
writes:

> On Slackware 15 (32-bit x86), one test fails:
> FAIL: tests/cksum/b2sum
[...]
>  cksum: invalid length: '18446744073709551616'
> -cksum: maximum digest length for 'BLAKE2b' is 512 bits
> +cksum: length is not a multiple of 8

I'm seeing the same failure on 32-bit ARM. digest_length is type idx_t,
which is a typedef for ptrdiff_t, so it'll be 32 bits on i386 and ARM.
So in the code that handles the -l option, the upper limit probably
shouldn't be INTMAX_MAX?

-- 
Adam Sampson <[email protected]>                         <http://offog.org/>

Reply via email to