[PATCH] nscd: avoid assertion failure during persistent db check
Andreas Schwab
schwab@suse.de
Tue May 15 13:45:00 GMT 2018
On Mai 15 2018, Florian Weimer <fweimer@redhat.com> wrote:
> 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?
The caller does.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list