Re: [PATCH] nsss_unix_shadow_get: parse null/empty fields

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Fri, 28 Sep 2018 22:31:25 +0000

>nsss_unix_shadow_get experiences a bug where entries with null
>values aren't returned. This patch instead treats empty fields
>as a null string or -1.

  I agree that nsss_unix_shadow_get should be fixed, but I
disagree with the patch, because the patched version will also
accept entries with invalid numeric values (if you have letters
in them, for instance).
  I'll come up with a fix that accepts empty fields but still rejects
invalid ones.
  Thanks for the report!

--
  Laurent
Received on Fri Sep 28 2018 - 22:31:25 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC