diff options
author | Santosh Nayak <santoshprasadnayak@gmail.com> | 2012-03-06 01:22:50 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-06 14:43:49 -0500 |
commit | 848edc69192a38bf9d261032f248b14f47e6af8b (patch) | |
tree | 799712600cd661118131c8dfa79a231e21293531 /net/bluetooth/mgmt.c | |
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>
Diffstat (limited to 'net/bluetooth/mgmt.c')
0 files changed, 0 insertions, 0 deletions