D11011: Do not assume layout of msghdr and iovec structure

Chinmoy Ranjan Pradhan noreply at phabricator.kde.org
Sun Mar 4 07:27:26 UTC 2018


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

REVISION SUMMARY
  Class FDMessageHeader assumes the layout of msghdr and iovec structure in its constructor. This assumption is wrong
  because as per POSIX standards both may contain more members than usual. This patch fixes the issue.
  
  BUG: 391367

REPOSITORY
  R241 KIO

BRANCH
  master

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

AFFECTED FILES
  src/ioslaves/file/sharefd_p.h

To: chinmoyr, dfaure, awilcox
Cc: #frameworks, michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180304/3aff5589/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list