mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2025-02-16 11:20:00 +00:00
![Davi Arnaut](/assets/img/avatar_default.png)
In the small window between strnlen_user() and copy_from_user() userspace could alter the terminating `\0' character. Signed-off-by: Davi Arnaut <davi.arnaut@gmail.com> Cc: David Howells <dhowells@redhat.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>