Bug 186741 - nudge spam makes Kopete use 100% CPU
Summary: nudge spam makes Kopete use 100% CPU
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kopete
Classification: Unmaintained
Component: MSN Plugin (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-10 10:23 UTC by Salvo "LtWorf" Tomaselli
Modified: 2018-11-08 14:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Salvo "LtWorf" Tomaselli 2009-03-10 10:23:30 UTC
Version:           0.70.0 (using 4.2.1 (KDE 4.2.1), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.29-rc6-sidux-686

This is the same as bug 134335.
But in the last comment there it was said to post a new bugreport in case the problem still exists.

I did a patch to fix the problem, and i've also tested it.

33a34
> #include <time.h>
47a49
> static time_t last_nudge = time(NULL); //Epoch of the last nudge
280c282,287
<       KNotification::event( QString::fromLatin1("buzz_nudge"), i18n("A contact sent you a buzz/nudge.") );
---
>
>       time_t now=time(NULL);
>       if (now-last_nudge>20) {
>               KNotification::event( QString::fromLatin1("buzz_nudge"), i18n("A contact sent you a buzz/nudge.") );
>               last_nudge=now;
>       }
Comment 1 Christophe Marin 2009-03-10 10:31:19 UTC
a Distributed Denial of Service? really? :-)
Comment 2 Salvo "LtWorf" Tomaselli 2009-03-10 11:38:52 UTC
(In reply to comment #1)
> a Distributed Denial of Service? really? :-)

Yeah, try to ask your friends to nudge you over and over for 10 minutes. If your CPU is not so new, it will go to 100%.
Comment 3 Christophe Marin 2009-03-10 12:50:10 UTC
Well, that's not a DDOS, the MSN service doesn't suffer from it.
Comment 4 Salvo "LtWorf" Tomaselli 2009-03-10 12:58:04 UTC
(In reply to comment #3)
> Well, that's not a DDOS, the MSN service doesn't suffer from it.

It is... Denies me the service of my computer (since it is too busy showing notifications).
Comment 5 Andrew Crouthamel 2018-11-02 04:25:57 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-11-08 14:41:33 UTC
Hi there, sorry for the bad news, but MSN has been discontinued, so I will be closing this bug.

Thank you for helping us make KDE software even better for everyone!