Re:Kernel module for advanced rickrolling replaces open() call
by KonradKlause on Thursday September 08, 2011 @05:05AM
(#2973179)
> 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...