_dbus_get_autolaunch_address: don't make argv static
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 29 Aug 2013 11:50:16 +0000 (12:50 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 30 Aug 2013 16:32:39 +0000 (17:32 +0100)
commite63961b75053d744bd06ce926df0b8a31c30fa77
tree4586f9a11d616ac0726fff5bfb2b85d99d21e8bf
parentcc28d8d91055e7640932c67031ca0ec86dddac06
_dbus_get_autolaunch_address: don't make argv static

This function could be accessed from any thread, which would mean it
scribbles on argv twice.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68610
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
dbus/dbus-sysdeps-unix.c