projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bdf27c
)
lsan: fix getting report in case it have zero size
10/164910/1
author
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Thu, 21 Dec 2017 06:45:28 +0000
(09:45 +0300)
committer
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Thu, 21 Dec 2017 06:45:28 +0000
(09:45 +0300)
Change-Id: Ie4f8683547e8027beed482201cff937b785f5217
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
daemon/threads.c
patch
|
blob
|
history
diff --git
a/daemon/threads.c
b/daemon/threads.c
index 89915f3158775bf0e43369c6985125ca4492e08b..60f1d872ad784b395438f6d6f30c43a9d08eda0b 100644
(file)
--- a/
daemon/threads.c
+++ b/
daemon/threads.c
@@
-131,7
+131,7
@@
static void processing_app_msg_lsan_report(void *data, size_t len)
/*
* get report_size
*/
- if (data + 4 >
=
data_end) {
+ if (data + 4 > data_end) {
LOGE("Incorrect data\n");
return;
}