> It uses strncpy_from_user to do this and uses PATH_MAX as the maximum length. So even the linux kernel does rely on the fact that there is a null terminator in the string.
But the kernel does not call strlen() on the user-supplied string...
But the kernel does not call strlen() on the user-supplied string...
No comments yet.