Bugfix, GVariant: missing padding for fixed-size tuples. 36/92336/1 accepted/tizen/3.0/common/20161114.110504 accepted/tizen/3.0/ivi/20161028.151429 accepted/tizen/3.0/mobile/20161028.143348 accepted/tizen/3.0/tv/20161028.143614 accepted/tizen/3.0/wearable/20161028.150918 accepted/tizen/common/20161017.170121 accepted/tizen/ivi/20161017.075855 accepted/tizen/mobile/20161017.075813 accepted/tizen/tv/20161017.075825 accepted/tizen/wearable/20161017.075840 submit/tizen/20161017.013745 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000
authorAdrian Szyndela <adrian.s@samsung.com>
Fri, 14 Oct 2016 13:24:43 +0000 (15:24 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 14 Oct 2016 13:27:03 +0000 (15:27 +0200)
commit98ca091094df5b6f9084bc240d2ca55dfbfc2226
tree6716701b0c85a78f8ac26cdd4f8e62ed34ef16da
parent92a5c831e2542a69bfd96b2664559e4ce72bca61
Bugfix, GVariant: missing padding for fixed-size tuples.

There is a requirement for fixed-size tuples:
size of such tuple must be a multiply of its required alignment.
That part was overlooked in the implementation.
This commit adds padding accounting for both reading and writing.

Change-Id: I0825be6436b93b836dc333f5a395fdf1021f2a06
dbus/dbus-marshal-gvariant.c