diff options
author | BogDan Vatra <bogdan@kde.org> | 2014-10-28 13:53:14 +0200 |
---|---|---|
committer | BogDan Vatra <bogdan@kde.org> | 2014-10-28 21:30:18 +0100 |
commit | 320360131559df76ba1f635b665659f57e147665 (patch) | |
tree | 62858adf04657f7c90e39543ab10bc43de73bd07 /src/plugins/platforms/xcb/qxcbwindow.cpp | |
parent | 23553cccdaf42189fe2390f9b8082828fb1a5237 (diff) |
Fix QLocalServer, create a temp path as small as possible.
If requestedServerName is a full path e.g. "/tmp/some/long/path" the
temp path will end up "/tmp/some/long/path.balblabla/tmp/some/long/path"
and it might fail because it doesn't fit in addr.sun_path.
Change-Id: I6a138fd92be9e0b3b432ab9ac977d04cb330f3fd
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbwindow.cpp')
0 files changed, 0 insertions, 0 deletions