Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219776
b: refs/heads/master
c: b04462a
h: refs/heads/master
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Greg Kroah-Hartman committed Sep 5, 2010
1 parent 9137fd0 commit c3feb70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2fac6c290f9e7ac98256e9deaa668f6c2c305cf2
refs/heads/master: b04462a143afde542ad9e5a1df4fcfbff6d30249
6 changes: 5 additions & 1 deletion trunk/drivers/staging/tidspbridge/pmgr/dspapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,11 @@ u32 procwrap_load(union trapped_args *args, void *pr_ctxt)
/* number of elements in the envp array including NULL */
count = 0;
do {
get_user(temp, args->args_proc_load.user_envp + count);
if (get_user(temp,
args->args_proc_load.user_envp + count)) {
status = -EFAULT;
goto func_cont;
}
count++;
} while (temp);
envp = kmalloc(count * sizeof(u8 *), GFP_KERNEL);
Expand Down

0 comments on commit c3feb70

Please sign in to comment.