projects
/
platform
/
core
/
appfw
/
tidl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86dedd0
)
Fix static anlaysis issues
author
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 23 Nov 2021 23:44:13 +0000
(08:44 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 23 Nov 2021 23:51:20 +0000
(08:51 +0900)
- Use after free
Change-Id: I4d227d2b823bc3740df4a8e390d5201546330539
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
idlc/gen/c_proxy_body_gen_cb.h
patch
|
blob
|
history
diff --git
a/idlc/gen/c_proxy_body_gen_cb.h
b/idlc/gen/c_proxy_body_gen_cb.h
index
0bb5e63
..
5142739
100644
(file)
--- a/
idlc/gen/c_proxy_body_gen_cb.h
+++ b/
idlc/gen/c_proxy_body_gen_cb.h
@@
-861,7
+861,9
@@
R"__c_cb(
break;
}
+ header_ = nullptr;
rpc_port_parcel_get_header(parcel_, &header_);
+ tag_ = nullptr;
rpc_port_parcel_header_get_tag(header_, &tag_);
if (tag_ && tag_[0] != '\0') {
_W("[Version] %s", tag_);