[Pkg-xfce-devel] Bug#367013: xfdesktop4: xfdesktop segfaults on start with non-JPEG background file

Thomas Perl thp at perli.net
Fri May 12 19:54:16 UTC 2006


Package: xfdesktop4
Version: 4.2.3-1
Severity: normal

While trying to set a wallpaper I accidentally happened to find a bug in
xfdesktop4: When xfdestkop starts and wants to load a JPEG background
image that doesn't contain JPEG data, it segfaults.

How to reproduce:

1. Put a real JPEG file in ~/wallpaper.jpg
2. Select this file as wallpaper in xfdesktop's menu
3. Close xfdesktop (killall xfdesktop)
4. Delete ~/wallpaper.jpg and create it again with the following
   1-line content:

# xfce backdrop list

5. Open up a xterm and try to run xfdeskop: it _should_ segfault

I guess there should be some sanity checks done while opening the image?


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (650, 'unstable'), (600, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=de_AT at euro, LC_CTYPE=de_AT at euro (charmap=ISO-8859-15)

Versions of packages xfdesktop4 depends on:
ii  libatk1.0-0               1.10.3-1       The ATK accessibility toolkit
ii  libc6                     2.3.6-7        GNU C Library: Shared libraries
ii  libglib2.0-0              2.10.2-2       The GLib library of C routines
ii  libgtk2.0-0               2.8.10-1       The GTK+ graphical user
interface
ii  libice6                   6.9.0.dfsg.1-4 Inter-Client Exchange library
ii  libpango1.0-0             1.12.1-3       Layout and rendering of
internatio
ii  libsm6                    6.9.0.dfsg.1-4 X Window System Session
Management
ii  libstartup-notification0  0.8-2          library for program launch
feedbac
ii  libx11-6                  6.9.0.dfsg.1-4 X Window System protocol
client li
ii  libxfce4mcs-client-2      4.2.3-1        Client library for Xfce4
configure
ii  libxfce4util-1            4.2.3.2-1      Utility functions library
for Xfce
ii  libxfcegui4-3             4.2.3-1        Basic GUI C functions for Xfce4
ii  libxml2                   2.6.24.dfsg-1  GNOME XML library
ii  procps                    1:3.2.6-2      /proc file system utilities
ii  xfce4-mcs-manager         4.2.3-1        Settings manager for Xfce4
ii  xfce4-utils               4.2.3-1        Various tools for Xfce
ii  xlibs                     6.9.0.dfsg.1-4 X Window System client
libraries m
ii  zlib1g                    1:1.2.3-9      compression library - runtime

xfdesktop4 recommends no packages.

-- no debconf information

-- 
Thomas Perl -- em: thp at perli.net
im: thp at jabber.org | ww: www.perli.net




More information about the Pkg-xfce-devel mailing list