Bug 26005

Summary: Don't fail when reading and invalid seats file
Product: ConsoleKit Reporter: Michael Biebl <mbiebl>
Component: DaemonAssignee: william.jon.mccann
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: com.d2
Version: unspecified   
Hardware: Other   
OS: All   
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561106
Whiteboard:
i915 platform: i915 features:
Attachments: Don't fail when reading an invalid seats file

Description Michael Biebl 2010-01-12 04:55:41 UTC
Created attachment 32586 [details] [review]
Don't fail when reading an invalid seats file

When reading an invalid seats file, ck_seat_new_from_file() will return NULL.
In that case, check for NULL before using the seat variable in add_seat_for_file()
Comment 1 william.jon.mccann 2010-01-28 15:12:33 UTC
Great!  Applied.  Thanks.
Comment 2 william.jon.mccann 2010-01-28 15:14:04 UTC
*** Bug 25097 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.