GNOME Bugzilla – Bug 359831
[patch] gdm crashes when home directory is not world-executable
Last modified: 2006-10-06 00:56:58 UTC
Please describe the problem: In our setup the home directories are on NFS with root squashing. When a user whose home directory is not world-executable tries to login, gdm sometimes crashes with a segfault. Steps to reproduce: 1. chmod o-x ~ 2. Try to login Actual results: About 1 in 2 times, gdm crashes, the user's xsession isn't started and the login screen is re-displayed. The log says the daemon received signal 11. Expected results: Does this happen every time? Other information: This doesn't happen with the default configuration (I think setting NeverPlaceCookiesOnNFS=false triggers the bug). The program crashes in gdm_auth_user_add() due to a reference to a freed pointer. The attached patch fixes the problem.
Created attachment 74037 [details] [review] patch to fix the problem
Thanks, good catch. Fixed in 2.14, 2.16 and CVS head branches.