[sheepdog] [PATCH] sheep: detect invalid response code in sd_strerror()

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Aug 22 09:53:09 CEST 2013


At Thu, 22 Aug 2013 16:10:02 +0900,
Hitoshi Mitake wrote:
> 
> Commit a4d01de did wrong treatment of data structure of request. And
> it caused segfault in sd_strerror() because of wrong index of the desc
> array. This patch let the function catch such a bug and return string
> representation of unknown response code.
> 
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
>  include/sheep.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Kazutaka



More information about the sheepdog mailing list