Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 293447

Summary: x11-misc/adesklets-0.6.1-r1 buffer overflows when "adesklet :" is executed
Product: Gentoo Linux Reporter: Sascha Wuestemann <bigfoot>
Component: Current packagesAssignee: Gentoo Dockapp Team <desktop-dock>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bigfoot
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Backtrace which follows the crash

Description Sascha Wuestemann 2009-11-17 00:35:17 UTC
Getting the adesklet shell is impossible, because a buffer overflow is detected and adesklets is terminated immediately.
I USE="X ctrlmenu fontconfig perl python -debug"
The weather desklet I run works fine, though.

Reproducible: Always

Steps to Reproduce:
1. Open xterm
2. Type in adesklet :
3. *** crashes ***

Actual Results:  
Backtrace follows.

Expected Results:  
I expected it to be useable, to find out, how to create my own desklet.

Portage 2.1.7.5 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.31-vs2.3.0.36.23-gentoo i686)
=================================================================
System uname: Linux-2.6.31-vs2.3.0.36.23-gentoo-i686-AMD_Athlon-tm-_XP_2400+-with-gentoo-2.0.1
Timestamp of tree: Mon, 16 Nov 2009 21:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests autoaddcvs autoconfig ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8@euro"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aalib acl acpi aes alsa apache2 audiofile avi berkdb bindist bluetooth bzip2 chroot cli cracklib crypt cscope cups curl curlwrappers dbus dedicated dri dvd dvdr encode esd ethereal fastcgi fbcon flac flash foomaticdb fortran freetds gcj gd gdbm ggi gif gmp gphoto2 gpm gstreamer gtk gtk2 hardened icc iconv imagemagick imap imlib innodb ipv6 java jikes jpeg lcms lesstif libg++ loop-aes mad maildir mbox mcal memlimit mikmod mmx modules motif mozilla mpeg mpi mudflap mysql nas ncurses nhc98 nls nocd nptl nptlonly odbc offensive ogg oggvorbis openmp oss pam pcre pda pdf perl png postgres ppds pppd prelude python qt quicktime readline reflection samba sasl sdl serial session skey slang slp snmp socks5 speex spell spl sse ssl svg sysfs tcl tcltk tcpd theora threads tiff tk truetype unicode usb videos wmf wxwindows x86 xml xml2 xorg xosd xv zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="vesa fbdev ati" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sascha Wuestemann 2009-11-17 00:38:23 UTC
Created attachment 210464 [details]
Backtrace which follows the crash
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-19 11:57:02 UTC

*** This bug has been marked as a duplicate of bug 284155 ***