D9966: [KIO] Fix issues with sharing of file descriptor

Chinmoy Ranjan Pradhan noreply at phabricator.kde.org
Thu Jan 18 16:37:23 UTC 2018


chinmoyr created this revision.
chinmoyr added reviewers: Frameworks, thiago.
Restricted Application added a project: Frameworks.
chinmoyr requested review of this revision.

REVISION SUMMARY
  This patch,
  1.Fixes buffer overflow due to strcpy.
  2.Adds checks for socket credentials. Now a file descriptor will be received only if it was sent by a root owned process.
  
  These issues were mentioned in here : https://mail.kde.org/pipermail/kde-frameworks-devel/2018-January/055307.html

REPOSITORY
  R241 KIO

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D9966

AFFECTED FILES
  src/ioslaves/file/fdreceiver.cpp
  src/ioslaves/file/sharefd_p.h

To: chinmoyr, #frameworks, thiago
Cc: fvogt, lbeltrame, dfaure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180118/35c5e2df/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list