Package: xdg-utils
Version: 1.0.2-6
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In xdg-screensaver, do_resume() and track_window() both call
cleanup_suspend() to remove the tracking process from the status file.
cleanup_suspend() removes the process using a grep -v for the window
id.  This means there is a race condition after the first removal
where a new tracking process can be created and then removed from the
status file while it's still active.

I think this could be fixed by either (1) looking for the process id
in the status file, not the window id, or (2) removing one of the
calls to cleanup_suspend().

Ben.

- -- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

xdg-utils depends on no packages.

Versions of packages xdg-utils recommends:
ii  elinks [www-browser]   0.12~pre2.dfsg0-1 advanced text-mode WWW browser
ii  file                   4.26-1            Determines file type using "magic"
ii  iceweasel [www-browser 3.0.4-1           lightweight web browser based on M
ii  links [www-browser]    2.2-1             Web browser running in text mode
ii  mime-support           3.44-1            MIME files 'mime.types' & 'mailcap
ii  shared-mime-info       0.30-2            FreeDesktop.org shared MIME databa
ii  x11-utils              7.3+2             X11 utilities
ii  x11-xserver-utils      7.3+5             X server utilities

Versions of packages xdg-utils suggests:
ii  desktop-file-utils     0.15-1            Utilities for .desktop files
pn  exo-utils              <none>            (no description available)
ii  kdelibs4c2a            4:3.5.10.dfsg.1-1 core libraries and binaries for al
pn  konqueror              <none>            (no description available)
ii  libgnome2-0            2.20.1.1-2        The GNOME 2 library - runtime file
pn  libgnomevfs2-bin       <none>            (no description available)
ii  libgtk2.0-bin          2.12.11-4         The programs for the GTK+ graphica

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJPKs979ZNCRIGYgcRAvf8AJ9tYQ6oWnC3Fm4iEQEK+PCGCwMhNQCeP4WL
PN0NlqiR7oGu5V8BhOZg4fI=
=OAmV
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to