projects
/
platform
/
core
/
system
/
libtota.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee88ac0
)
Fix strtoul error checking
19/231619/2
accepted/tizen_6.0_unified_hotfix
tizen_6.0_hotfix
accepted/tizen/6.0/unified/20201030.115637
accepted/tizen/6.0/unified/hotfix/20201103.003857
accepted/tizen/unified/20200528.132852
submit/tizen/20200526.104742
submit/tizen_6.0/20201029.205104
submit/tizen_6.0_hotfix/20201102.192504
submit/tizen_6.0_hotfix/20201103.114804
tizen_6.0.m2_release
author
Kichan Kwon
<k_c.kwon@samsung.com>
Thu, 23 Apr 2020 02:47:26 +0000
(11:47 +0900)
committer
Kichan Kwon
<k_c.kwon@samsung.com>
Thu, 23 Apr 2020 05:15:50 +0000
(14:15 +0900)
Change-Id: Iae973801894f6afe13aa4e5ae61765e19dd53a4b
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
ss_engine/fota_tar.c
patch
|
blob
|
history
diff --git
a/ss_engine/fota_tar.c
b/ss_engine/fota_tar.c
index
7b1fd14
..
9da5db6
100755
(executable)
--- a/
ss_engine/fota_tar.c
+++ b/
ss_engine/fota_tar.c
@@
-832,8
+832,8
@@
int tar_get_folder_size(char *tar, char *item)
LOG("size too big. (size_dec=0x%08X)\n", (unsigned int)size_dec);
ret = -1;
break;
- } else if (size_dec ==
0
) {
- LOG("strtoul failed
, size_oct is %s\n", size_oct
);
+ } else if (size_dec ==
(off_t)-1
) {
+ LOG("strtoul failed
. (errno=%d)\n", errno
);
ret = -1;
break;
}