Mimi Zohar <zo...@linux.vnet.ibm.com> wrote:

> +     if (strncmp(id, "id:", 3) == 0)

Use memcmp() here.

> -     kid += kidlen - idlen;
> -     if (strcasecmp(id, kid) != 0)
> -             return 0;

This test is no longer applied in the "<subtype>:..." case.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to