From: Patrick McHardy Date: Thu, 8 Apr 2010 11:35:47 +0000 (+0200) Subject: IPVS: fix potential stack overflow with overly long protocol names X-Git-Tag: v2.6.35-rc1~473^2~168^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d91c1a848c812e0e66e7e57f076667822cb460e;p=pandora-kernel.git 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 Acked-by: Simon Horman Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed