diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-11-09 15:47:37 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-11-11 13:35:00 +0100 |
commit | 2f16228172ff3629c09b7d0633e30c125aebc37e (patch) | |
tree | 2501226979b34ca2c74529afcfb50d0ce9ff02ba /include/rule.h | |
parent | 8ac986f862040a331e57984ad705a54e9c09417b (diff) |
evaluate: fix string matching on big endian
We need to reallocate the constant expression with the right expression
length when evaluating the string. Otherwise the linearization step
generates a wrong comparison on big endian. We cannot do this any
earlier since we don't know the maximum string length for this datatype
at the parsing stage.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/rule.h')
0 files changed, 0 insertions, 0 deletions