[sheepdog] [PATCH v7 6/6] sheep: add a cluster driver for shepherd

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Mar 11 07:28:59 CET 2013


At Mon, 11 Mar 2013 12:48:58 +0900,
Hitoshi Mitake wrote:
> 
> +
> +static int shepherd_init(const char *option)
> +{
> +	int ret, port;
> +	char *copied, *s_addr, *s_port, *saveptr;
> +
> +	copied = strdup(option);

This leads to a segfault if option is NULL.

Thanks,

Kazutaka



More information about the sheepdog mailing list