[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#416824: klaptopdaemon: lock & hibernate allowing unauthorised access



forwarded 416824 https://bugs.kde.org/show_bug.cgi?id=143859
thanks

El Martes, 3 de Abril de 2007 00:01, Sune Vuorela escribió:
> > > Hi, I'm using Etch RC2 and I use klaptopdaemon to lock and hibernate my
> > > laptop when I noticed an interesting little bug.  I access lock and
> > > hibernate by right-clicking on the system tray icon and clicking on the
> > > option there.
>
> I have absolutely only very little clue about this, but I took a look at
> the klaptopdaemon sources - and it seems it invokes the lock command and
> after that it invokes hibernate.
>
> It might be that the lock command returns immediately while the locking can
> be delayed for some reasons.
>
  After some conversation on #kde they pointed me the reason is indeed that, 
but instead of carrying out the test Sune proposed it suggested me a "smarter 
kde way" (TM) which consists of substituing the asynchronous "send" dcop API 
call by a "call" which is synchronous.

  I also opened a bug on kde and there is a proposed patch

-- 
     Raúl Sánchez Siles
----->Proud Debian user<-----
Linux registered user #416098

Attachment: pgpLOZbdtuSIU.pgp
Description: PGP signature


Reply to: