[PATCH] Protect against NFS requests to create symlinks bigger than one page
Such a request would cause the nul terminator to be written to some other page, and cause havoc. Also rearrange two tests to avoid the possibility of testing the byte just past the end of a buffer - doing so can causes an oops with appropriate kernel-debug config options
Showing
Please register or sign in to comment