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

Yves-Alexis Perez corsac at corsac.net
Fri May 12 20:54:59 UTC 2006


On Fri, 2006-05-12 at 21:54 +0200, Thomas Perl wrote:
> 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?

I can't reproduce this on xfce 4.4 (xfdesktop loads fine and display as
if no picture was selected) so I guess there are no sanity checks. Thank
you for reporting, though. If any other people can try to reproduce
using xfdesktop 4.2 ?
-- 
Yves-Alexis Perez





More information about the Pkg-xfce-devel mailing list