summaryrefslogtreecommitdiff
path: root/dbus/dbus-server.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-02-22 13:42:46 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-05-25 16:03:31 +0100
commit54de9c060a701f046e717abd7c0e312da4182928 (patch)
treee0219466cffd72fef1d7207b9568147b1bf1b614 /dbus/dbus-server.h
parent4bcffe1e05cfc22eb29b41d39f7ceca14b45a9a8 (diff)
downloaddbus-54de9c060a701f046e717abd7c0e312da4182928.tar.gz
DBusNonceFile: don't always fail when use_subdir=TRUE, i.e. on Unix
In shell-like pseudocode, the desired result is: if $use_subdir dir = $tmpdir/dbus_nonce-$random path = $dir/nonce mkdir $dir write file at $path else dir = $user_owned_place path = $dir/dbus_nonce-$random write file at $path However, /nonce was accidentally appended to $dir instead of $path, resulting in an attempt to mkdir /tmp/dbus_nonce-XXXX/nonce when dbus_nonce-XXXX hadn't been created yet. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34569 Tested-by: David Zeuthen <davidz@redhat.com> Reviewed-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'dbus/dbus-server.h')
0 files changed, 0 insertions, 0 deletions