D12744: Add null pointer check when creating SocketAddress

David Faure noreply at phabricator.kde.org
Tue May 8 12:06:34 UTC 2018


dfaure added inline comments.

INLINE COMMENTS

> fdreceiver.cpp:36
> +    if (!addr.address()) {
> +        std::cerr << "Invalid socket address" << std::endl;
> +        return;

print out `m_path.toLocal8Bit()` here?

> fdsender.cpp:31
> +    if (!addr.address()) {
> +        std::cerr << "Invalid socket address" << std::endl;
> +        return;

print out `path` here?

REPOSITORY
  R241 KIO

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

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


More information about the Kde-frameworks-devel mailing list