projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3788bff
)
kdbus: cmdline emptiness check fix
author
Konrad Lipinski
<konrad.l@samsung.com>
Wed, 12 Oct 2016 10:54:15 +0000
(12:54 +0200)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:53:38 +0000
(13:53 +0900)
Change-Id: Ia925fa43bf4c50ab707be98f275b50808782f063
ipc/kdbus/metadata.c
patch
|
blob
|
history
diff --git
a/ipc/kdbus/metadata.c
b/ipc/kdbus/metadata.c
index 3adc6c2c2e766be8cd25684dfca3394a3e75ea54..501bebda7d849ca03b1f25705bb106350ccb4cce 100644
(file)
--- a/
ipc/kdbus/metadata.c
+++ b/
ipc/kdbus/metadata.c
@@
-311,7
+311,7
@@
static int kdbus_meta_proc_collect_cmdline(struct kdbus_meta_proc *mp)
if (!mm)
return 0;
- if (
!
mm->arg_end) {
+ if (
mm->arg_start >=
mm->arg_end) {
mmput(mm);
return 0;
}