On 04/10/2013 12:01 PM, MORITA Kazutaka wrote:
> +     ret = fgets(input, sizeof(input), stdin);
> +     if (ret != NULL && strncasecmp(input, "yes", 3) != 0)

Seems that this can't handle ret == NULL case. If fgets return NULL,
we'll wrongly proceed.

Thanks,
Yuan
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to