Re: [PATCH iproute2] tc util: Fix possible buffer overflow when print class id

2015-04-20 Thread Stephen Hemminger
On Mon, 20 Apr 2015 08:33:32 +0300 Vadim Kochan wrote: > From: Vadim Kochan > > Use correct handle buffer length. > > Signed-off-by: Vadim Kochan Looks fine, applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org M

[PATCH iproute2] tc util: Fix possible buffer overflow when print class id

2015-04-19 Thread Vadim Kochan
From: Vadim Kochan Use correct handle buffer length. Signed-off-by: Vadim Kochan --- tc/tc_util.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/tc/tc_util.c b/tc/tc_util.c index 1d3153d..dc2b70f 100644 --- a/tc/tc_util.c +++ b/tc/tc_util.c @@ -128,30