summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Sunmin Lee [Thu, 21 Jun 2018 08:36:08 +0000 (17:36 +0900)]
Fix vulnerabilities
- Handle fopen error cases
- Use strerror_r rather than sterror
Change-Id: Ia427630430061a83b7e6ad5383d5ebace1cf587e
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 20 Jun 2018 07:30:35 +0000 (16:30 +0900)]
Include copyright notice into the license texts
Change-Id: I110bdf17825284af09ad24337f0ce7bc31d200be
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
shirshkumar [Mon, 11 Jun 2018 10:43:01 +0000 (16:13 +0530)]
Logging Optimization and time profiling
The log generated contained some extra redundan information.
Those have been removed and error message has been made more informative.
Added error handling for fopen in patch reading case.
Time profiling has been enabled with better precision.
Change-Id: I4b2d595e5fd63de51a9d569ce4222a738c995f69
Signed-off-by: shirshkumar <shirsh.kumar@samsung.com>
shirsh.kumar [Thu, 24 May 2018 12:38:24 +0000 (18:08 +0530)]
Fix Svace issues
Change-Id: I5168348977f6d2771f7eba83fe89d0f910fd9ca3
Signed-off-by: shirsh.kumar <shirsh.kumar@samsung.com>
Sunmin Lee [Thu, 29 Mar 2018 04:27:45 +0000 (13:27 +0900)]
Patch for some initialization issue
- Initialize local variable
- Release 1.2.2
Change-Id: Idc468883b77cf319efdff7ba64aecc5bf006fe29
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 28 Mar 2018 05:42:36 +0000 (14:42 +0900)]
Fix vulnerabilities
- Replace vulnerable function with not the one
- Guarantee null termination in SS_ReadFile()
Change-Id: I32d1c68e95a488632d9084f13f45637745abc703
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 8 Mar 2018 05:12:13 +0000 (14:12 +0900)]
Fix build warning
The strnlen requires specific feature test macro
Change-Id: Ifdc832ec34b71ffa34a2e22b0e542503779c4909
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
sanghyuk Ko [Thu, 7 Dec 2017 05:56:19 +0000 (14:56 +0900)]
In case of MOVES, added code to check validation.
In addition, Remove duplicated code.
Change-Id: I5162a65001dce5fbef899b5021367edb358cca84
sanghyuk Ko [Mon, 4 Dec 2017 12:53:57 +0000 (21:53 +0900)]
Tried to update the applied file when second update
Files that are applied the patch during the update are skipped during the second udpate.
Files that are deleted during the update are skipped during the second udpate.
Change-Id: Id7366ce042d361dad4913c0a31aa22fe1b440778
Sunmin Lee [Thu, 1 Feb 2018 06:55:12 +0000 (15:55 +0900)]
Eliminate libsmack dependency
For independence of libtota, remove libsmack dependency.
Change-Id: Ibf909e32373a8e7814e4196bfff9cffa5055eab4
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 1 Feb 2018 06:26:54 +0000 (15:26 +0900)]
Stop building diff tools by gbs
The diff tools package is not being used.
Instead of it, local_build script is available to install it directly.
Change-Id: I640e537ca4f6f27975be83b25b124a800a2dfea6
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 31 Jan 2018 01:36:04 +0000 (10:36 +0900)]
Apply PIC to libtota
Make libtota into position-independent code
Change-Id: I9a482dddd0ad39533adf8e9890c69ab8afae3450
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 20 Dec 2017 04:37:39 +0000 (13:37 +0900)]
Merge branch 'tizen' into tizen_4.0
Change-Id: I38dd714cbaa5504d3e502601010ed1159e6ed809
Kichan Kwon [Mon, 30 Oct 2017 07:28:49 +0000 (16:28 +0900)]
Remove deprecated member variable
- NOTICE : it must be merged along with the tota-ua patch
- https://review.tizen.org/gerrit/#/c/161213/
Change-Id: Ie04ad91fe88a1a703a7d135e349493352022cc74
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Fri, 3 Nov 2017 10:02:50 +0000 (19:02 +0900)]
Modify ua.h to ua_types.h for integrating header with tota-ua
- ua_types.h : structure (both packages use)
- ua.h : macro, error code (only tota-ua uses)
Change-Id: Id7fa9900236ade160c0e9a2bfbbb63f851bb55c4
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 6 Nov 2017 02:52:48 +0000 (11:52 +0900)]
Remove unused parameter
Change-Id: I23baef728f4d259a1c1df402240452efb9cc8974
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 30 Oct 2017 07:28:49 +0000 (16:28 +0900)]
Remove deprecated member variable
- NOTICE : it must be merged along with the tota-ua patch
- https://review.tizen.org/gerrit/#/c/158032/
Change-Id: Ibd14a0f92a6270f450a90eecd2c6a6e06f624baa
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Sunmin Lee [Wed, 25 Oct 2017 08:01:19 +0000 (17:01 +0900)]
Release 1.0.0
libtota for Tizen 4.0 is released
(accepted/tizen/4.0/unified/
20171017.211102)
Change-Id: Icbdcb99d674c2dd76d4cd4f661f8fb5740a21ca6
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
shirshkumar [Tue, 17 Oct 2017 12:58:56 +0000 (18:28 +0530)]
Remove experimental code from libtota
Change-Id: I1dd350dbcd2df13dd7a0109b02fcefa7d784b072
Signed-off-by: shirshkumar <shirsh.kumar@samsung.com>
Sunmin Lee [Fri, 13 Oct 2017 01:09:56 +0000 (10:09 +0900)]
Fix vulnerabilities
Change-Id: I73965454cc282be6e373805931b9d5790f74ef21
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 10 Oct 2017 02:17:22 +0000 (11:17 +0900)]
Fix svace issue
Change-Id: I91e2715d2e7c04e7141005322716e9806cea8d99
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 26 Sep 2017 02:25:40 +0000 (11:25 +0900)]
Fix svace issue
Change-Id: I3b7737174837bbc696bf4513d15367d818ad2934
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 22 Sep 2017 04:52:01 +0000 (13:52 +0900)]
Apply Tizen coding rule
Change-Id: Ic2e65905e90fa40b0dd6e637f66b46a6a41059b2
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 21 Sep 2017 06:13:45 +0000 (15:13 +0900)]
Fix strtok_r bug
In previous code the strtok and strtok_r were mixed
in order to preserve each context.
When fixed svace issues, this intention was not considered.
Fix the bug about it.
Change-Id: I76d838370fa5d3d0ebcf16b0e33e3055f5b869f8
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 19 Sep 2017 03:02:35 +0000 (12:02 +0900)]
Fix svace issues
Change-Id: Ie01674362a5dc0775e29953d146e8a90707188b9
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 11 Sep 2017 09:46:20 +0000 (18:46 +0900)]
Fix build warnings
Change-Id: I3701c06d65674f862f5171c011bc41df5d74cecc
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 24 Jul 2017 01:44:18 +0000 (10:44 +0900)]
Make SS_FSUpdate feature valid
After get the SS_FSUpdate from tota-ua,
the feature which is determined in build time doesn't work any longer.
To make it valid, use flag variable instead of preprocessor defined value.
Change-Id: I7d2531dde17798f1b0c21612c83600f5f409f22f
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Kunhoon Baik [Fri, 14 Jul 2017 09:09:24 +0000 (18:09 +0900)]
Providing local build script for server developer
Change-Id: I87422c50d3e11b9d5a065f8583b2f27b3aa50c45
Sunmin Lee [Tue, 4 Jul 2017 01:38:05 +0000 (10:38 +0900)]
Enhacement internal log system
- Considering log-size management for efficent storage usage
Change-Id: I762288c5ffb51717a3d5ee4b9b2b6d3e1aebf26f
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 24 May 2017 06:17:24 +0000 (15:17 +0900)]
Patch for x86
Resolve issues of building libtota in x86, x86_64 architecture.
Change-Id: I70331c9d9246ca72d57e6d3928bf03ee9a65ae94
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 24 May 2017 02:40:22 +0000 (11:40 +0900)]
Remove UPG directory
The UPG includes scripts which are used to make delta.
Because there is another repository "tota-upg", it doesn't
need to be duplicated at both repository.
Change-Id: I059c3f149dbb441a322c41978407a66a41cf440e
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 23 May 2017 02:56:12 +0000 (11:56 +0900)]
Integrate some common codes from tota-ua
There were duplicated codes in libtota and tota-ua.
It would be better to integrate in one place and manage them.
Change-Id: I58f813d3b6ff9b28d3f032a88cb6eef6e1688f78
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 14 Jul 2017 02:59:09 +0000 (11:59 +0900)]
Arrange code directories
Because ss_patch/ codes also used to build libtota library,
it looks better to move them into single source directory: ss_engine.
Change-Id: I9c06b69eb7e774514c4e258ca7f6f50d86ba39a7
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 19 May 2017 06:59:43 +0000 (15:59 +0900)]
Migrate SS_FSUpdate.c from tota-ua
For ease of managing, get SS_FSUpdate.c from tota-ua.
Change-Id: Id1928040f00527abee2a26bd278722d00c74d923
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 18 May 2017 07:17:42 +0000 (16:17 +0900)]
Provide shared library also
From this patch, libtota can be used as shared library.
Change-Id: I593d946cbcc37e17eb8637f6feb5a91ad4256a0e
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 13 Jul 2017 01:14:02 +0000 (10:14 +0900)]
Separate common part of bspatch to shared code
Separate same functions (apply_patch, Decode2) to common file
so it can be used as shared code.
Change-Id: Ie22f8aaf120f723925be027a8694a3f9e1f905c3
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 10 Jul 2017 06:55:45 +0000 (15:55 +0900)]
Initial codes of libtota
Change-Id: I38d3ff5839645d71cc81c77336a5d5d015d222b6
Tizen Infrastructure [Mon, 3 Jul 2017 03:12:29 +0000 (03:12 +0000)]
Initial empty repository