diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-03-30 00:44:46 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-04-03 20:51:31 +0200 |
commit | c4edfa63eda06f02cc5bc1a65d366c55bd2eda30 (patch) | |
tree | 88c8994afd5ab8413d6ed23944af6ab2858d1ca8 /extensions/libxt_NOTRACK.c | |
parent | cdf51d0183213c4bcac9ef4818155c1d3fbb897e (diff) |
libxtables: reorder .version member
When the structure's layout changes, as it did between v1.4.1 and
v1.4.2, trying to compare the version string makes iptables segfault
while it tries to determine whether the module is compatible in the
first place.
By moving the member to a known offset in the struct and keeping it
there, objects (both iptables and 3rd party) compiled from this
commit onwards will avoid the segfault.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_NOTRACK.c')
0 files changed, 0 insertions, 0 deletions