[sheepdog] [PATCH] gateway: fix segment fault when closing all connections incorrectly.

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Feb 1 04:50:48 CET 2013


At Fri,  1 Feb 2013 10:24:33 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> We should directly call sheep_del_sockfd() to destroy all the connections or
> memmove will cause segment fault.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  sheep/gateway.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list