[sheepdog] [PATCH 1/2] collie: fix buffer overflow of size_to_str()

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Sep 11 11:06:21 CEST 2012


At Tue, 11 Sep 2012 16:17:10 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> We might end up with i == ARRAY_SIZE(units), which will cross array boundry.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  collie/common.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied both, thanks!

Kazutaka



More information about the sheepdog mailing list