summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2014-02-24 09:58:15 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-03-14 14:05:34 +0100
commite657a39250e39294de17a067ac1972839b902d81 (patch)
treef26260ff19abb0ec75edb881d9c3d420a5c5c89b /scripts
parent0a7b7059d7e6dc6566a3aa2201960b61afdf2758 (diff)
downloadsssd-e657a39250e39294de17a067ac1972839b902d81.tar.gz
sssd-e657a39250e39294de17a067ac1972839b902d81.tar.xz
sssd-e657a39250e39294de17a067ac1972839b902d81.zip
providers: Fix types passed to dbus varargs functions
Fix some incorrect types passed to dbus_message_get_args(), dbus_message_append_args() or functions accepting similar varargs and types. In particular sizeof(bool) != sizeof(dbus_bool_t) on most platforms. This probably only worked because the compiler was aligning stack variables and so writing off the end of one of them wasn't the end of the world. In addition fix cases where int != int32_t != uint32_t. Although these will work on many common platforms, assuming these are interchangeable is not cross platform safe. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> (cherry picked from commit 5bad17538eab85ce69e0355cd25b52b4a473cc36)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions