bug #143859. Possible security issue.

Tobias Koenig tokoe at kde.org
Wed Jun 20 20:13:37 BST 2007


On Tue, Jun 19, 2007 at 06:00:33PM +0200, Raúl Sánchez Siles wrote:
>   Hello
Hi Raúl,

> 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.
No, the problem is exactly there! The dcop method names must be called
with '()' at the end, otherwise it doesn't work...

Ciao,
Tobias
-- 
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070620/e2189387/attachment.sig>


More information about the kde-core-devel mailing list