Hello community, here is the log from the commit of package lxlauncher for openSUSE:Factory checked in at Fri Apr 16 01:01:17 CEST 2010. -------- --- lxlauncher/lxlauncher.changes 2010-04-06 10:52:50.000000000 +0200 +++ /mounts/work_src_done/STABLE/lxlauncher/lxlauncher.changes 2010-04-12 17:02:31.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Apr 12 15:02:26 UTC 2010 - andrea@opensuse.org + +- added lxlauncher-0.2.1-fix-segfault.patch (from upstream) + to fix segfault if a window manager returns no data + for current desktop + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- lxlauncher-0.2.1-fix-segfault.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxlauncher.spec ++++++ --- /var/tmp/diff_new_pack.LqxHIL/_old 2010-04-16 00:59:35.000000000 +0200 +++ /var/tmp/diff_new_pack.LqxHIL/_new 2010-04-16 00:59:35.000000000 +0200 @@ -20,11 +20,12 @@ Name: lxlauncher Version: 0.2.1 -Release: 3 +Release: 4 License: GPLv3 Source0: %{name}-%{version}.tar.bz2 Patch0: %name-0.2.1-no-return.patch Patch1: %name-0.2.1-menu-cache-changes.patch +Patch2: %name-0.2.1-fix-segfault.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gnome-menus-devel gtk2-devel startup-notification-devel BuildRequires: autoconf automake fdupes intltool menu-cache-devel pkgconfig @@ -40,6 +41,7 @@ %setup -q %patch0 -p2 %patch1 -p1 +%patch2 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" ++++++ lxlauncher-0.2.1-fix-segfault.patch ++++++ diff --git a/src/working-area.c b/src/working-area.c --- a/src/working-area.c +++ b/src/working-area.c @@ -94,7 +94,10 @@ gf_display_get_workarea(GdkScreen* g_screen, GdkRectangle *rect) { if(!data) return FALSE; - current = *(guint32 *)data; + if (len == 0) + current = 0; + else + current = *(guint32 *)data; XFree(data); /* find the _NET_WORKAREA atom */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org