[PATCH] nscd: avoid assertion failure during persistent db check

Florian Weimer fweimer@redhat.com
Tue May 15 13:35:00 GMT 2018


On 05/15/2018 03:24 PM, Andreas Schwab wrote:
> -  assert (len >= 2);
> +  if (len < 2)
> +    return 0;

Shouldn't it log a warning at least?  Something went very wrong, after all.

Does this need a bug?

Thanks,
Florian



More information about the Libc-alpha mailing list