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:DJ Delorie <dj@redhat.com> Signed-off-by:
Sam James <sam@gentoo.org> Reviewed-by:
DJ Delorie <dj@redhat.com> (cherry picked from commit ace9e3ed)
Loading
Please register or sign in to comment