commit | ad92373f42fdf5cdf65774376ee176b9da92ff3b | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@chromium.org> | Thu Aug 29 16:13:49 2013 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Tue Sep 03 23:37:41 2013 +0000 |
tree | 60036acb66e98081c01d44d5a8cd171061650811 | |
parent | 36dc2f34ebb67ff2c58e9798bf021d6ffa5bbf5b [diff] |
Replace bool by gboolean on DBus generated calls. The code generated for use with dbus-glib expects the boolean "b" arguments to receive a gboolean variable and not a bool. This is problem for both gboolean* and gboolean arguments because sizeof(gboolean) is typically 4 while sizeof(bool) is 1. This can led to uninitialized memory or segmentation faults. BUG=None TEST=update_engine_client calls still work. Change-Id: I4036d63c875859fd73f2ff5a1585494ebe4d3603 Reviewed-on: https://chromium-review.googlesource.com/167526 Reviewed-by: David Zeuthen <zeuthen@chromium.org> Tested-by: Alex Deymo <deymo@chromium.org> Commit-Queue: Alex Deymo <deymo@chromium.org>