bug #143859. Possible security issue.

Raúl Sánchez Siles rss at barracuda.es
Tue Jun 19 17:00:33 BST 2007


  Hello

Tobias Koenig wrote:

> On Mon, Jun 18, 2007 at 02:08:13PM +0200, Raúl Sánchez Siles wrote:
>>   Hello all:
> Hi Raúl,

  Hello

  Thank you very much for your answer.

  I forgot to link the KDE bug that applies here:
https://bugs.kde.org/show_bug.cgi?id=143859

  In that bug I proposed the following:
from
>
>> int main(void)
>> {
>>   DCOPClient* client = kapp->dcopClient();
>>   if (client)
>>       client->send("kdesktop", "KScreensaverIface", "lock()", "");

to:

int main(void)
{
  DCOPClient* client = kapp->dcopClient();
  if (client && client->attach())
    DCOPRef("kdesktop","KScreenSaverIface").call("lock");

  In this way the DCOP call is supposed to be synchronous and the bugs
should be solved. The problem is that the DCOP call doesn't seem to be
executed.

  I will consider calling "lock()" instead of "lock" but I don't know if
that's the problem. I think the problem should be elsewhere, so any help is
much appreciated.

  Thank you very much.

--  
Raúl Sánchez Siles





More information about the kde-core-devel mailing list