projects
/
platform
/
core
/
messaging
/
msg-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be64a7
)
fix Dereferencing null pointer
81/179281/1
accepted/tizen/unified/20180517.062413
submit/tizen/20180517.042340
author
Youngjae Shin
<yj99.shin@samsung.com>
Thu, 17 May 2018 02:43:22 +0000
(11:43 +0900)
committer
Youngjae Shin
<yj99.shin@samsung.com>
Thu, 17 May 2018 02:43:22 +0000
(11:43 +0900)
Change-Id: I7975c1456b4edc99c0fce5caf1c22d277b7a348e
vobject-engine/VMessage.c
patch
|
blob
|
history
diff --git
a/vobject-engine/VMessage.c
b/vobject-engine/VMessage.c
index
039a720
..
40235d5
100755
(executable)
--- a/
vobject-engine/VMessage.c
+++ b/
vobject-engine/VMessage.c
@@
-957,6
+957,11
@@
VTree* vmsg_decode(char *pMsgRaw)
case VMSG_PARAM_VALUE_STATUS:
dLen = 0;
numberedParam = 0;
+ if (param_status != true) {
+ VDATA_TRACE("Inavalid status(param)");
+ goto CATCH;
+ }
+
switch (pTmpParam->parameter) {
case VMSG_PARAM_TYPE:
szValue = __VMsgGetParamVal(pMsgRaw, &status, &dLen);