Bug 336724 - KDE Connect daemon crashes if it receives a malformed UDP packet
Summary: KDE Connect daemon crashes if it receives a malformed UDP packet
Status: RESOLVED WORKSFORME
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-06-25 20:34 UTC by Albert Vaca Cintora
Modified: 2018-10-27 02:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Vaca Cintora 2014-06-25 20:34:35 UTC
As reported by Raphael Kubo da Costa <rakuco@freebsd.org> to the mailing list, the KDE Connect daemon crashes if it receives a malformed UDP broadcast packet. We should check the parsing for both UDP and TCP packets, and add some checks to make sure we won't crash in this case.

Reproducible: Always
Comment 1 Ashish Bansal 2015-03-13 16:23:04 UTC
(In reply to Albert Vaca from comment #0)
> As reported by Raphael Kubo da Costa <rakuco@freebsd.org> to the mailing
> list, the KDE Connect daemon crashes if it receives a malformed UDP
> broadcast packet. We should check the parsing for both UDP and TCP packets,
> and add some checks to make sure we won't crash in this case.
> 
> Reproducible: Always

It does not crashes for me and the packet content is already being checked up by JSON parser.
Can you please specify packet data?
Comment 2 Ashish Bansal 2015-03-19 09:09:52 UTC
Needs packet data to confirm it.
Comment 3 Andrew Crouthamel 2018-09-25 21:43:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 02:14:57 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

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