Commit: 4c6d344b0d8ddd1647341a7bab7ff406f3cde85e
Parent: 5ff74495a737c15fc97b4b8bcda8a33dd2858560
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-11-26 16:03:55
Tree: 9c7017a7893e7e1f3946b9a013c8f54add42f1a9

core: Fix reading D-Bus boolean parameters too local bool type The D-Bus boolean type may be larger than the local bool type which can lead to writing past the memory space of the local variable. To fix this, use a temporary dbus_bool_t variable before assigning to the local type.

Diffstat

M src/profile.c | 9 +++++- - - -

1 files changed, 5 insertions(+), 4 deletions(-)

View Full Diff | Patch