execve: Use ugets for copying argument 0 to udata
authorTormod Volden <debian.tormod@gmail.com>
Wed, 3 Jun 2015 19:56:18 +0000 (21:56 +0200)
committerAlan Cox <alan@linux.intel.com>
Wed, 3 Jun 2015 21:26:46 +0000 (22:26 +0100)
commitdafc349f8f598833a09bbccb6232164ba56d718a
tree84d11499569f57bb951cfb4105b2bbc0176e246d
parentde700a583273e09469b6e1f1de5195cd9e960eea
execve: Use ugets for copying argument 0 to udata

The argument list gets squeezed in at the process memory top,
and if it is short, copying all 8 bytes might read above top.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Kernel/syscall_exec16.c