[4568] in testers

home help back first fref pref prev next nref lref last post

Patch to xscreensaver

daemon@ATHENA.MIT.EDU (Alex Coventry)
Mon Apr 9 08:42:13 2001

To: testers@MIT.EDU
From: Alex Coventry <alex_c@MIT.EDU>
Date: 09 Apr 2001 08:42:07 -0400
Message-ID: <etd1yr25jog.fsf@cutter-john.mit.edu>


Hi.  In xscreensaver.c:main_loop, lock_command_pid is declared
uninitialized, and seems to get an initial value of 1.  On unlocking,
this results in kill being called with pid -1, killing all the user's
processes, and logging them out.  This patch prevents this behaviour.
I'm not sure what the relationship between
/mit/source/third/xscreensaver and xss is; they don't seem identical,
but I hope this helps.

athena$ diff /mit/python/src/xscreensaver/driver/xscreensaver.c /mit/source/third/xscreensaver/driver/xscreensaver.c
929c929
<   pid_t lock_command_pid=0;
---
>   pid_t lock_command_pid;

Alex.


home help back first fref pref prev next nref lref last post