From: Jérémie Galarneau Date: Sat, 14 Sep 2019 19:51:32 +0000 (-0400) Subject: lttng-ctl: fix: possible unaligned access in packed structure X-Git-Tag: v2.12.0-rc1~386 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=60160d2ae2567b2952912fb16d89849f2f8b35dc;hp=60160d2ae2567b2952912fb16d89849f2f8b35dc;p=lttng-tools.git lttng-ctl: fix: possible unaligned access in packed structure Wrap all lttng_domain copies with COPY_DOMAIN_PACKED which copies the source domain to a temporary destination (on stack) and then assign this temporary domain to the destination domain. This ensures the compiler generates the code needed to perform the unaligned accesses to the domain. Signed-off-by: Jérémie Galarneau ---