mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
1de9e46c21
Problem happens when len in strncpy_from_user is setup and passing string has len-1 chars + \0 terminated character. In this case was returned incorrect length of the string. It should always retunrs the length of the string (not including the trailing NULL). Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
||
---|---|---|
.. | ||
ashldi3.c | ||
ashrdi3.c | ||
cmpdi2.c | ||
divsi3.S | ||
fastcopy.S | ||
libgcc.h | ||
lshrdi3.c | ||
Makefile | ||
memcpy.c | ||
memmove.c | ||
memset.c | ||
modsi3.S | ||
muldi3.c | ||
mulsi3.S | ||
uaccess_old.S | ||
ucmpdi2.c | ||
udivsi3.S | ||
umodsi3.S |