On Wed, Jun 3, 2015 at 6:50 AM, Jan Kara <[email protected]> wrote:
> strnlen_user() can return a number in a range 0 to count +
> sizeof(unsigned long) - 1. Clarify the comment at the top of the
> function so that users don't think the function returns at most count+1.
Thanks. I also extended the comment (in the same commit) on commentary
on avoiding use of this function entirely.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/