commit | c4edfa63eda06f02cc5bc1a65d366c55bd2eda30 | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@medozas.de> | Mon Mar 30 00:44:46 2009 +0200 |
committer | Jan Engelhardt <jengelh@medozas.de> | Fri Apr 03 20:51:31 2009 +0200 |
tree | 88c8994afd5ab8413d6ed23944af6ab2858d1ca8 | |
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>