git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge Fedora Core 2 Updates kernel-2.6.10-1.771_FC2
[linux-2.6.git]
/
fs
/
exec.c
diff --git
a/fs/exec.c
b/fs/exec.c
index
95ae49b
..
4aa484b
100644
(file)
--- a/
fs/exec.c
+++ b/
fs/exec.c
@@
-796,7
+796,7
@@
void get_task_comm(char *buf, struct task_struct *tsk)
{
/* buf must be at least sizeof(tsk->comm) in size */
task_lock(tsk);
-
mem
cpy(buf, tsk->comm, sizeof(tsk->comm));
+
strn
cpy(buf, tsk->comm, sizeof(tsk->comm));
task_unlock(tsk);
}