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