On 12/09/2021 19:14, Pádraig Brady wrote:
> @@ -652,6 +692,21 @@ split_3 (char *s, size_t s_len,
>
>     /* Check for BSD-style checksum line. */
>
> +#if HASH_ALGO_CKSUM
> +  if (! algorithm_specified)
> +    {
> +      ptrdiff_t algo_tag = algorithm_from_tag (s);

The above should be s+i to handle '\' and whitespace prefixes.
I'll add a test.

cheers,
Pádraig

Reply via email to