summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2017-06-05 21:52:34 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-19 22:48:56 +0200
commit035c3ea1608e2f7a7cc43a46179f10add479c9df (patch)
tree569f1c166903a9610a3224bb5e3e0ad3f5fd4a89 /include/uapi/linux/errqueue.h
parent227e5d4b86e64e9807fe5ae507b0755229c2876a (diff)
staging/rts5208: Fix read overflow in memcpy
commit 88a5b39b69ab1828fd4130e2baadd184109cea69 upstream. Noticed by FORTIFY_SOURCE, this swaps memcpy() for strncpy() to zero-value fill the end of the buffer instead of over-reading a string from .rodata. Signed-off-by: Daniel Micay <danielmicay@gmail.com> [kees: wrote commit log] Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Wayne Porter <wporter82@gmail.com> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions