WSL2-Linux-Kernel/arch/parisc/hpux
Dan Carpenter 3067bbd1ad parisc: sys_hpux: NUL terminator is one past the end
We allocate "len" number of chars so we should put the NUL at "len - 1"
to avoid corrupting memory.  Btw, strlen_user() is different from the
normal strlen() function because it includes NUL terminator in the
count.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2014-08-27 14:33:46 +02:00
..
Makefile
entry_hpux.S
fs.c execve: use 'struct filename *' for executable name passing 2014-02-05 12:54:53 -08:00
gate.S
ioctl.c
sys_hpux.c parisc: sys_hpux: NUL terminator is one past the end 2014-08-27 14:33:46 +02:00
wrappers.S