Re: [RFC PATCH V2] core_pattern: fix long parameters was truncated by core_pattern handler

Denys Vlasenko
2010-08-02T14:30:31Z

> +                               rc = snprintf(NULL, 0, "%s", current->comm);

rc = strlen(current->comm) would be smaller

--
vda