projects
/
platform
/
core
/
system
/
buxton2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91461d1
)
common: prevent invalid access
30/45730/1
author
Suchang Woo
<suchang.woo@samsung.com>
Tue, 11 Aug 2015 01:27:54 +0000
(10:27 +0900)
committer
Suchang Woo
<suchang.woo@samsung.com>
Tue, 11 Aug 2015 01:27:54 +0000
(10:27 +0900)
Change-Id: I22a80a4a7afa628e7ca73f28206230b307c8c5ea
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
common/serialize.c
patch
|
blob
|
history
diff --git
a/common/serialize.c
b/common/serialize.c
index
2cda9c1
..
05c1703
100644
(file)
--- a/
common/serialize.c
+++ b/
common/serialize.c
@@
-496,7
+496,7
@@
int serialz_request(const struct request *req, uint8_t **data, int *len)
data ? "" : " data",
len ? "" : " len",
req ? "" : " req",
- req
->layer ? "" : " layer
");
+ req
&& !req->layer ? " layer" : "
");
return -1;
}