commit | 848edc69192a38bf9d261032f248b14f47e6af8b | [log] [tgz] |
---|---|---|
author | Santosh Nayak <santoshprasadnayak@gmail.com> | Tue Mar 06 01:22:50 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 06 14:43:49 2012 -0500 |
tree | 799712600cd661118131c8dfa79a231e21293531 | |
parent | 2a15cd2ff488a9fdb55e5e34060f499853b27c77 [diff] |
netfilter: ebtables: fix wrong name length while copying to user-space user-space ebtables expects 32 bytes-long names, but xt_match names use 29 bytes. We have to copy less 29 bytes and then, make sure we fill the remaining bytes with zeroes. Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>