diff options
author | Patrick McHardy <kaber@trash.net> | 2010-04-08 13:35:47 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-04-08 13:35:47 +0200 |
commit | 3d91c1a848c812e0e66e7e57f076667822cb460e (patch) | |
tree | cd5c6a16e0f48f99045e032a4ceb8946ec9d7ef0 /net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c | |
parent | 02e4eb75912a5c8babccc1acdc9cc913989be04e (diff) | |
download | kernel_samsung_smdk4412-3d91c1a848c812e0e66e7e57f076667822cb460e.zip kernel_samsung_smdk4412-3d91c1a848c812e0e66e7e57f076667822cb460e.tar.gz kernel_samsung_smdk4412-3d91c1a848c812e0e66e7e57f076667822cb460e.tar.bz2 |
IPVS: fix potential stack overflow with overly long protocol names
When protocols use very long names, the sprintf calls might overflow
the on-stack buffer. No protocol in the kernel does this however.
Print the protocol name in the pr_debug statement directly to avoid
this.
Based on patch by Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c')
0 files changed, 0 insertions, 0 deletions