From: Mathieu Desnoyers Date: Wed, 25 May 2016 21:17:41 +0000 (-0400) Subject: Fix: incorrect structure layout with mixed LGPL/non-LGPL objects X-Git-Tag: v2.9.0-rc1~83 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;ds=sidebyside;h=32855a09dc8925f578624cab645a33ecb139389c;hp=32855a09dc8925f578624cab645a33ecb139389c;p=lttng-ust.git Fix: incorrect structure layout with mixed LGPL/non-LGPL objects Linking both _LGPL_SOURCE and non-_LGPL_SOURCE objects into the same module may result in corruption. If the tracepoint_dlopen object used is the one declared by a LGPL compile unit, a non-LGPL compile unit may try to initialize fields beyond the end of the structure. Signed-off-by: Jérémie Galarneau Signed-off-by: Mathieu Desnoyers ---