mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 19:44:56 +02:00
libxt_fuzzy: need to account for kernel-level modified variables in .userspacesize
When reviewing the code, I found there maybe a bug in libxt_fuzzy.c. If a user wants to delete this match, he will get an error reported, and the command fails. As the fields after maximum_rate in xt_fuzzy_mtinfo will be altered in kernel space, we should assign the userspacesize with the value offsetof(struct xt_fuzzy_mtinfo, packets_total) instead.
This commit is contained in:

committed by
Jan Engelhardt

parent
f96bc08f35
commit
d3ee3a0c3c
@@ -1,5 +1,8 @@
|
||||
|
||||
|
||||
- fuzzy: need to account for kernel-level modified variables in .userspacesize
|
||||
|
||||
|
||||
Xtables-addons 1.13 (March 23 2009)
|
||||
===================================
|
||||
- added a reworked ipv4options match
|
||||
|
Reference in New Issue
Block a user