Skip to content
Commit b6aade18 authored by Sam James's avatar Sam James Committed by DJ Delorie
Browse files

nss: handle stat failure in check_reload_and_get (BZ #28752)



Skip the chroot test if the database isn't loaded
correctly (because the chroot test uses some
existing DB state).

The __stat64_time64 -> fstatat call can fail if
running under an (aggressive) seccomp filter,
like Firefox seems to use.

This manifested in a crash when using glib built
with FAM support with such a Firefox build.

Suggested-by: default avatarDJ Delorie <dj@redhat.com>
Signed-off-by: default avatarSam James <sam@gentoo.org>
Reviewed-by: default avatarDJ Delorie <dj@redhat.com>
(cherry picked from commit ace9e3ed)
parent ccac2d6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment