chinmoyr created this revision. chinmoyr added reviewers: dfaure, ossi. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. chinmoyr requested review of this revision.
REVISION SUMMARY If for some reason SocketAddress:make_address() fails to create a proper sockaddr_un structure then SocketAddress::address() will return a null pointer. In such case, to prevent application crash, check for null pointer prior to any socket operation. Based on D10411 <https://phabricator.kde.org/D10411> REPOSITORY R241 KIO BRANCH master REVISION DETAIL https://phabricator.kde.org/D12744 AFFECTED FILES src/ioslaves/file/fdreceiver.cpp src/ioslaves/file/kauth/fdsender.cpp To: chinmoyr, dfaure, ossi Cc: #frameworks, michaelh, ngraham, bruns