Registered Member
|
I don't know if this is really a security issue, or if someone mentioned it before, but I thought it wouldn't hurt to mention it here.
I was just playing with nmap, testing my system with the possible scans to learn about what each type of scan does, while I was waiting for a torrent to finish downloading. And when I do an UDP scan, guess what? Ktorrent (v 2.1beta1) crashes. It's repeatable, from what I see. From what I understand, nmap sends an empty UPD header to the ports it's scanning. So... a way to remotely crash ktorrent... Can it cause any other problems? |
Moderator
|
|
Moderator
|
|
Moderator
|
Nevermind, I was not able to reproduce the crash with the latest code from SVN, but I did find a bug with the KDE socket classes, which do not handle empty UDP packets properly.
I have now added some safety checks for empty UDP packets, which will prevent a crash and also prevent the KDE socket classes from behaving badly. |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar