From f45f3cec2bb6d0cf49e021ab24004e7d7c15843f Mon Sep 17 00:00:00 2001 From: Jens Granseuer Date: Sat, 28 Mar 2009 09:30:21 +0000 Subject: if the sanitized array ends up having no members at all return a NULL 2009-03-28 Jens Granseuer * plugins/xrandr/gsd-xrandr-manager.c: (sanitize), (generate_fn_f7_configs): if the sanitized array ends up having no members at all return a NULL configuration since the following code assumes it has at least one valid setup if it's not NULL. Fixes a crash when closing the lid on some laptops (bug #576875) svn path=/trunk/; revision=806 --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 6099e243..7c6b818b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-03-28 Jens Granseuer + + * plugins/xrandr/gsd-xrandr-manager.c: (sanitize), + (generate_fn_f7_configs): if the sanitized array ends up having no + members at all return a NULL configuration since the following code + assumes it has at least one valid setup if it's not NULL. Fixes a + crash when closing the lid on some laptops (bug #576875) + 2009-03-27 Jens Granseuer * plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c: -- cgit v1.2.1