mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
3067bbd1ad
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> |
||
---|---|---|
.. | ||
entry_hpux.S | ||
fs.c | ||
gate.S | ||
ioctl.c | ||
Makefile | ||
sys_hpux.c | ||
wrappers.S |