_dbus_system_logv: copy the va_list here too
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 11 Jun 2013 18:20:55 +0000 (19:20 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 12 Jun 2013 16:23:28 +0000 (17:23 +0100)
commit0553e53de04685588efacb961ae48384956db31d
tree945ae71aa2691aff6f92eb9196858e38bbb9951d
parent51fe1c05aceaf058907007a25a2d46f30a9c83a6
_dbus_system_logv: copy the va_list here too

This would crash if HAVE_SYSLOG_H is defined, HAVE_DECL_LOG_PERROR
is false, and the platform calling convention is that va_list is a
struct. Verified on Linux by undefining HAVE_DECL_LOG_PERROR.

Reviewed-by: Colin Walters <walters@verbum.org>
dbus/dbus-sysdeps-util-unix.c