Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375662
b: refs/heads/master
c: 264b83c
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed May 16, 2013
1 parent 8d8df5f commit 200fb0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c64e3a45d43c6e3fa87cbe02e10059171d10812
refs/heads/master: 264b83c07a84223f0efd0d1db9ccc66d6f88288f
5 changes: 5 additions & 0 deletions trunk/kernel/kmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,11 @@ int call_usermodehelper_exec(struct subprocess_info *sub_info, int wait)
int retval = 0;

helper_lock();
if (!sub_info->path) {
retval = -EINVAL;
goto out;
}

if (sub_info->path[0] == '\0')
goto out;

Expand Down

0 comments on commit 200fb0c

Please sign in to comment.