D10273: Create proper SocketAddress

Oswald Buddenhagen noreply at phabricator.kde.org
Sat Feb 3 17:15:34 UTC 2018


ossi added inline comments.

INLINE COMMENTS

> sharefd_p.h:61
> +        const size_t pathSize = finalPath.size();
> +        if (pathSize > 5 && pathSize < sizeof(a.sun_path) - 1) {
>  #ifdef __linux__

you now have a buffer overflow on linux. you need to split the conditional.

REPOSITORY
  R241 KIO

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

To: chinmoyr, #frameworks
Cc: ossi, thiago, dfaure, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180203/02ef8eb8/attachment.html>


More information about the Kde-frameworks-devel mailing list