linux/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
..
entry_hpux.S [PARISC] add ENTRY()/ENDPROC() and simplify assembly of HP/UX emulation code 2007-02-17 01:17:42 -05:00
fs.c execve: use 'struct filename *' for executable name passing 2014-02-05 12:54:53 -08:00
gate.S parisc: fix double restarts 2012-10-01 09:58:13 -04:00
ioctl.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
Makefile
sys_hpux.c parisc: sys_hpux: NUL terminator is one past the end 2014-08-27 14:33:46 +02:00
wrappers.S Revert "parisc: fix trivial section name warnings" 2008-06-13 10:49:45 -04:00