Juitem JoonWoo Kim [Fri, 29 Sep 2017 11:52:14 +0000 (20:52 +0900)]
Merge pull request #748 from HONGCHAEHEE/wifi-temp
Quick fix for hang-up issue on Wi-Fi mode change
chaehee.hong [Fri, 29 Sep 2017 11:29:03 +0000 (20:29 +0900)]
Remove the mutex use in wifi_linkdown_event_func
- Quix fix for hanging up during wifi mode change
- Remove mutex lock/unlock to prevent lock up
Juitem JoonWoo Kim [Fri, 29 Sep 2017 08:56:09 +0000 (17:56 +0900)]
Merge pull request #746 from jeongarmy/fix_svace
Fix svace issue in st_things
Ahreum Jeong [Fri, 29 Sep 2017 08:15:07 +0000 (17:15 +0900)]
Fix svace issue in st_things
- cloud_manager.c
. Expression 'ES_STATE_INIT <= es_state' is always true , which may be caused by a logical error
- things_data_manager.c
. Return value of a function 'cJSON_GetObjectItem' is dereferenced at things_data_manager.c:991 without checking, but it is usually checked for this function (79/83).
Juitem JoonWoo Kim [Fri, 29 Sep 2017 07:05:20 +0000 (16:05 +0900)]
Merge pull request #744 from glistening/master
Fix SVACE defect in IoT.js (fs.scandir)
Juitem JoonWoo Kim [Fri, 29 Sep 2017 07:04:05 +0000 (16:04 +0900)]
Merge pull request #745 from hs0225/master
IoT.js: Fix static analysis defects
Taejun-Kwon [Fri, 29 Sep 2017 06:27:20 +0000 (15:27 +0900)]
Merge pull request #743 from heejin-kim/hj_25
Fix the svace error in /framework/st_things folder
Hosung Kim [Fri, 29 Sep 2017 06:18:41 +0000 (15:18 +0900)]
IoT.js: Fix static analysis defects
Sanggyu Lee [Fri, 29 Sep 2017 06:06:36 +0000 (15:06 +0900)]
Fix SVACE defect in IoT.js (fs.scandir)
Taejun-Kwon [Fri, 29 Sep 2017 06:01:08 +0000 (15:01 +0900)]
Merge pull request #682 from thapav/stdio
Codecoverage(libc/stdio): Add TC's for few API's in stdio
Heejin Kim [Sun, 24 Sep 2017 04:13:15 +0000 (13:13 +0900)]
Fix the svace error in /framework/st_things folder
Fix the dereferenced pointers and check null termination when using strncat and strncpy.
Juitem JoonWoo Kim [Fri, 29 Sep 2017 05:42:18 +0000 (14:42 +0900)]
Merge pull request #740 from glistening/master
Fix memory leak on iotjs_module dns and iotjs_module tcp
Sanggyu Lee [Fri, 29 Sep 2017 04:17:22 +0000 (13:17 +0900)]
Fix memory leak on iotjs_module dns and iotjs_module tcp
Fix memory leak reported by SVACE.
Juitem JoonWoo Kim [Fri, 29 Sep 2017 04:52:45 +0000 (13:52 +0900)]
Merge pull request #741 from daeyeon/fix.svace
Fix static analysis defects in IoT.js
Juitem JoonWoo Kim [Fri, 29 Sep 2017 04:50:52 +0000 (13:50 +0900)]
Merge pull request #742 from haesik/svace_fix_160318
Fix svace error (160318) - use of vulnerable function
davidfather [Fri, 29 Sep 2017 04:48:42 +0000 (13:48 +0900)]
Merge pull request #739 from heejin-kim/hj_18
/iotivity/examples: Remove unused .cpp files
Haesik, Jun [Fri, 29 Sep 2017 04:29:17 +0000 (13:29 +0900)]
Fix svace error (160318) - use of vulnerable function
Use of vulnerable function 'strcpy' at iotjs_module_dns.c
it's changed to strncpy
IoT.js-DCO-1.0-Signed-off-by: Haesik, Jun haesik.jun@samsung.com
Daeyeon Jeong [Fri, 29 Sep 2017 04:22:06 +0000 (13:22 +0900)]
Fix static analysis defects in IoT.js
Juitem JoonWoo Kim [Fri, 29 Sep 2017 03:58:45 +0000 (12:58 +0900)]
Merge pull request #738 from haesik/svace_fix
SVACE error fix (160314)
- missing initial values on iotjs_main.c
Haesik, Jun [Fri, 29 Sep 2017 03:03:33 +0000 (12:03 +0900)]
SVACE error fix (160314)
IoT.js-DCO-1.0-Signed-off-by: Haesik, Jun haesik.jun@samsung.com
sangwon03 [Fri, 29 Sep 2017 02:33:49 +0000 (11:33 +0900)]
Merge pull request #737 from jeongchanKim/sys_types
Move typedef unsigned long __kernel_size_t out of ifdef condition
Juitem JoonWoo Kim [Fri, 29 Sep 2017 02:28:19 +0000 (11:28 +0900)]
Merge pull request #736 from jeongchanKim/coding_rule
Fix coding rule error
Juitem JoonWoo Kim [Fri, 29 Sep 2017 02:27:47 +0000 (11:27 +0900)]
Merge pull request #735 from an4967/Fix_svace
Fix svace error - fclose
jc_.kim [Fri, 29 Sep 2017 02:21:35 +0000 (11:21 +0900)]
Move typedef unsigned long __kernel_size_t out of ifdef condition
IoT.js uses this type, so remove iotivity ifdef condition
jc_.kim [Fri, 29 Sep 2017 02:16:09 +0000 (11:16 +0900)]
Fix coding rule error
./os/fs/smartfs/smartfs_utils.c:3429: ERROR: [SPC_M_OPR] space prohibited before that ':' (ctx:WxE)
./os/fs/smartfs/smartfs_utils.c:3433: ERROR: [SPC_M_OPR] space prohibited before that ':' (ctx:WxE)
./os/arch/arm/src/s5j/s5j_boot.c:113: ERROR: [SPC_M_OPR] spaces required around that ':' (ctx:ExV)
./apps/examples/testcase/le_tc/kernel/tc_libc_math.c:1931: ERROR: [SPC_M_OPR] space required after that ',' (ctx:VxV)
./os/drivers/wireless/scsc/misc/utils_misc.h:255: ERROR: [SPC_M_OPR] space required after that ';' (ctx:VxV)
Daesung [Fri, 29 Sep 2017 02:12:06 +0000 (11:12 +0900)]
Fix svace error.
st_things_request_handler.c
- fix misspell in null check
easysetup_manager.c
- remove unreachable expression
- check negative value before close fd
things_security_manager.c
- move 'fclose(fp)' to general location
sangwon03 [Fri, 29 Sep 2017 01:13:44 +0000 (10:13 +0900)]
Merge pull request #734 from an4967/Fix_svace_errors
Fix svace errors
Daesung [Thu, 28 Sep 2017 16:52:07 +0000 (01:52 +0900)]
Fix svace errors
st_things_request_handler.c
- In error statement, make the func to return false
cloud_connector.c
- 'registerPayload' & 'loginoutPayload' are released in 'OCDoResource'
- So, add 'OCRepPayloadDestroy' to release in error state.
easysetup_manager.c
- Add check statement before close file descriptor
resource_handler.c
- change 'strncmp' which is using just for empty checking to 'strlen'
things_req_handler.c
- initialize variable before using
things_security_manager.c
- Add fclose after usage of fds.
things_string_utils.c
- Add '+1' when check string length for null character.
Juitem JoonWoo Kim [Thu, 28 Sep 2017 16:07:03 +0000 (01:07 +0900)]
Merge pull request #733 from an4967/fix_svace_error
Fix svace error in st_things
Daesung [Thu, 28 Sep 2017 15:51:28 +0000 (00:51 +0900)]
Fix svace error
- Add null check statement after allocating memory
Juitem JoonWoo Kim [Thu, 28 Sep 2017 15:31:52 +0000 (00:31 +0900)]
Merge pull request #731 from jeongchanKim/fixedmath_doxygen
Fix doxygen comment in include/fixedmath.h
jc_.kim [Thu, 28 Sep 2017 14:57:34 +0000 (23:57 +0900)]
Fix doxygen comment in include/fixedmath.h
Remove @cond~@endcond comment and add @since comment for doxygen
Juitem JoonWoo Kim [Thu, 28 Sep 2017 14:52:43 +0000 (23:52 +0900)]
Merge pull request #730 from jeongchanKim/lwip_dbg
Enable lwip debug configs and update the latest Kconfig in artik053/tc defconfig
jc_.kim [Thu, 28 Sep 2017 14:40:21 +0000 (23:40 +0900)]
Enable LWIP_ERROR and LWIP_ASSERT in artik053/tc defconfig
For debugging, enable lwip error and assert configs
Juitem JoonWoo Kim [Thu, 28 Sep 2017 13:53:37 +0000 (22:53 +0900)]
Merge pull request #729 from heejin-kim/hj_18
Fix the st_things framework bug
Juitem JoonWoo Kim [Thu, 28 Sep 2017 13:28:42 +0000 (22:28 +0900)]
Merge pull request #724 from chanijjani/fix_memoryleak_in_things_stack
fix memory leak in things_abort()
Juitem JoonWoo Kim [Thu, 28 Sep 2017 13:23:53 +0000 (22:23 +0900)]
Merge pull request #728 from dr-venkman/fix_svace_warnings
Fixed SVACE warnings for IotBus, Lwip and iperf_api
Juitem JoonWoo Kim [Thu, 28 Sep 2017 12:59:49 +0000 (21:59 +0900)]
Merge pull request #727 from jeongchanKim/iovec_redefine
Integrate iovec structure defined on uv-tizenrt.h and uio.h
venkat.iyer [Thu, 28 Sep 2017 12:55:30 +0000 (21:55 +0900)]
Fixed SVACE warnings for IotBus, Lwip and iperf_api
jc_.kim [Thu, 28 Sep 2017 12:41:09 +0000 (21:41 +0900)]
Integrate iovec structure between uv-tizenrt.h and uio.h
There are same structure definition in different places. So integrated.
Juitem JoonWoo Kim [Thu, 28 Sep 2017 11:55:10 +0000 (20:55 +0900)]
Merge pull request #718 from sangwon03/gpio_sync
fix i2c utc for read/write test
Chanhee [Thu, 28 Sep 2017 11:35:41 +0000 (20:35 +0900)]
fix memory leak in things_abort()
sangwon03 [Thu, 28 Sep 2017 11:13:14 +0000 (20:13 +0900)]
Update utc_i2c.c
sangwon03 [Thu, 28 Sep 2017 11:04:50 +0000 (20:04 +0900)]
Merge pull request #723 from heejin-kim/hj_18
Fix the st_things example bug
sangwon03 [Thu, 28 Sep 2017 10:29:37 +0000 (19:29 +0900)]
Update utc_i2c.c
removed blank
sangwon03 [Thu, 28 Sep 2017 10:13:19 +0000 (19:13 +0900)]
Update utc_i2c.c
davidfather [Thu, 28 Sep 2017 09:10:44 +0000 (18:10 +0900)]
Merge pull request #687 from heejin-kim/hj_25
Add st_things example
sangwon03 [Thu, 28 Sep 2017 09:03:34 +0000 (18:03 +0900)]
Delete .project
sangwon03 [Thu, 28 Sep 2017 08:56:57 +0000 (17:56 +0900)]
Delete .cproject
davidfather [Thu, 28 Sep 2017 07:58:22 +0000 (16:58 +0900)]
Merge pull request #715 from junmin-kim/svace_lwip
Add NULL check in send_tcp function
Juitem JoonWoo Kim [Thu, 28 Sep 2017 06:49:07 +0000 (15:49 +0900)]
Merge pull request #719 from jeongchanKim/spawn_api
Add doxygen comment for new kernel api : posix_spawn_file_actions_add…
davidfather [Thu, 28 Sep 2017 06:20:46 +0000 (15:20 +0900)]
Merge pull request #683 from heejin-kim/hj_18
Add st_things framework for SmartThings Things SDK
jc_.kim [Thu, 28 Sep 2017 04:59:24 +0000 (13:59 +0900)]
Add doxygen comment for new kernel api : posix_spawn_file_actions_adddup2
posix_spawn_file_actions_adddup2() is a new api for TizenRT v1.1
sangwon03.an@samsung.com [Thu, 28 Sep 2017 00:55:33 +0000 (17:55 -0700)]
fix i2c utc for read/write test
I used the gy30 sensor for i2c test.
gy30 senser adress is 0x23 and it use just 1 byte packet for communication.
So I modified the adress and pakcet size.
And also I modified checking logic the result of read/write function because the return type of read/write is size.
Taejun-Kwon [Wed, 27 Sep 2017 12:47:56 +0000 (21:47 +0900)]
Merge pull request #714 from shivgarg/svace
[Arastorage] Svace warning fix
Vidisha Thapa [Fri, 8 Sep 2017 10:11:59 +0000 (15:41 +0530)]
Codecoverage(libc/stdio): Add TC's for few API's in stdio
This patch adds test cases for few API's namely:
dprintf, lib_rdflush, lib_snoflush, lib_sprintf, sprintf, ungetc.
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
davidfather [Wed, 27 Sep 2017 11:44:41 +0000 (20:44 +0900)]
Merge pull request #690 from heejin-kim/hj_252
Add st_things build configuration
Taejun-Kwon [Wed, 27 Sep 2017 11:37:30 +0000 (20:37 +0900)]
Merge pull request #716 from junmin-kim/svace_s5j
Fix i2c return value when it fails to read
junmin kim [Wed, 27 Sep 2017 10:58:47 +0000 (03:58 -0700)]
Fix i2c return value when it fails to read
Assign I/O error when i2c fails to read bytes,
and jump to fail laber with -EIO return value.
Signed-off-by: Jihoon Park <jh6186.park@samsung.com>
junmin kim [Wed, 27 Sep 2017 10:53:03 +0000 (03:53 -0700)]
Add NULL check in send_tcp function
Pointer 'conn' which was dereferenced at api_msg.c:330 is compared to NULL value at api_msg.c:336.
If conn is NULL, ERR_ARG will be returned.
Shivam Garg [Wed, 27 Sep 2017 10:36:10 +0000 (19:36 +0900)]
Corrected num of bytes being passed to memset in index_manager.c
davidfather [Wed, 27 Sep 2017 09:17:34 +0000 (18:17 +0900)]
Merge pull request #710 from Taejun-Kwon/audio
Add nuttx license in tinyalsa.c
davidfather [Wed, 27 Sep 2017 09:13:21 +0000 (18:13 +0900)]
Merge pull request #706 from an4967/add_build_config
Add build_config in Travis CI
Taejun-Kwon [Wed, 27 Sep 2017 09:09:14 +0000 (18:09 +0900)]
Merge pull request #712 from jarvisjang/audio_samplerate
Modify sample rate entry function usage
Jarvis Jang [Wed, 27 Sep 2017 09:00:37 +0000 (18:00 +0900)]
Modify sample rate entry function usage
Taejun-Kwon [Wed, 27 Sep 2017 08:50:58 +0000 (17:50 +0900)]
Merge pull request #708 from junmin-kim/lib_dtoa
Add NULL check in Balloc
Daesung [Wed, 27 Sep 2017 08:37:50 +0000 (17:37 +0900)]
Modify travis config file
- remove 'group' as the definition changed in travis
- add 'qemu/tc_64k' build config for check build status
sangwon03 [Wed, 27 Sep 2017 08:28:07 +0000 (17:28 +0900)]
Merge pull request #711 from junmin-kim/lib_dnscache
Initialize inlen to 0 in lib_dnscache.c
junmin kim [Wed, 27 Sep 2017 08:25:12 +0000 (01:25 -0700)]
Initialize inlen to 0 in lib_dnscache.c
Uninitialized data is read from local variable 'inlen' at lib_dnscache.c:295.
The variable is uninitialized at lib_dnscache.c:295.
Juitem JoonWoo Kim [Wed, 27 Sep 2017 07:59:57 +0000 (16:59 +0900)]
Merge pull request #709 from shivgarg/svace_fix
[Arastorage] node cache's NODE_STATE_LOCK condition, and sizeof() svace warnings
TaeJun Kwon [Wed, 27 Sep 2017 06:30:47 +0000 (15:30 +0900)]
Add nuttx license in tinyalsa.c
Shivam Garg [Wed, 27 Sep 2017 06:24:49 +0000 (15:24 +0900)]
Fixed some svace warnings in arastorage
junmin kim [Wed, 27 Sep 2017 05:48:30 +0000 (22:48 -0700)]
Add NULL check in Balloc
Pointer 'rv' returned from function 'malloc' at lib_dtoa.c:162 may be null,
and it is dereferenced at lib_dtoa.c:163.
Taejun-Kwon [Wed, 27 Sep 2017 05:02:20 +0000 (14:02 +0900)]
Merge pull request #705 from Taejun-Kwon/audio2
Apply configuration for sample rate
davidfather [Wed, 27 Sep 2017 04:32:20 +0000 (13:32 +0900)]
Merge pull request #707 from jeongchanKim/doxygen_filename
doxygen: modify @file option to show path for including
jc_.kim [Wed, 27 Sep 2017 04:10:01 +0000 (13:10 +0900)]
doxygen: modify @file option to show path for including
In doxygen output, file shows only a header file name.
But with that, developer can't include a header to use specific APIs.
Adding a path in @file option helps to include it.
For example,
"@file aa/bb.h"
then, we can include it like belows.
"#include <aa/bb.h>"
davidfather [Wed, 27 Sep 2017 02:28:12 +0000 (11:28 +0900)]
Merge pull request #686 from pillip8282/remove_unused_file_lwip
net:lwip modify Make.defs not to build stats.c if the stats feature i…
davidfather [Wed, 27 Sep 2017 02:27:38 +0000 (11:27 +0900)]
Merge pull request #688 from pillip8282/add_error_assert_onoff_lwip
net:lwip Add on/off options for assert and error at Kconfig in lwIP
davidfather [Tue, 26 Sep 2017 13:57:21 +0000 (22:57 +0900)]
Merge pull request #693 from pillip8282/add_network_framework
framework:network Create network layer in framework
TaeJun Kwon [Tue, 26 Sep 2017 12:47:36 +0000 (21:47 +0900)]
Apply configuration for sample rate
1. execute script based on selected sample rate value
2. define supported sample rate for alc5658
3. define sample rate value and type
Taejun-Kwon [Tue, 26 Sep 2017 11:57:03 +0000 (20:57 +0900)]
Merge pull request #697 from sunghan-chang/qemu_external
qemu/configs: add external/include folder path at ARCH(XX)INCLUDES
Taejun-Kwon [Tue, 26 Sep 2017 11:56:47 +0000 (20:56 +0900)]
Merge pull request #698 from sunghan-chang/makedefs_win
configs/artik053,sidk_s5jt200: modify ARCH(XX)INCLUDES for windows
sunghan-chang [Tue, 26 Sep 2017 11:46:33 +0000 (20:46 +0900)]
Merge pull request #703 from heejin-kim/hj_262
[DRIVER] max_buf code cleanup
sunghan-chang [Tue, 26 Sep 2017 11:46:12 +0000 (20:46 +0900)]
Merge pull request #701 from heejin-kim/hj_26
apps/easysetup: Remove unused example
pillip8282 [Tue, 26 Sep 2017 09:05:34 +0000 (18:05 +0900)]
Merge pull request #691 from davidfather/wifi_manager_refactoring
Introduce w_info_mutex to protect g_manager_info of wifi_manager whil…
Seongil Hahm [Mon, 25 Sep 2017 10:14:00 +0000 (03:14 -0700)]
Introduce w_info_mutex to protect g_manager_info of wifi_manager while limiting the role of w_mutex to serializing wifi_manager APIs
1. By using this w_info_mutex, deadlock between wifi_manager and slsi_wifi callback is resolved.
2. Introduce additional wifi_manager status: WIFI_MODE_CHAING, WIFI_INITIALIZING, WIFI_DEINITIALIZING, and WIFI_FAILURE.
In case of WIFI_FAILURE, app developers are requested to deinit and init wifi_manager.
3. wifi_manager_set_mode() returns WIFI_MANAGER_INVALID_ARGS when mode is softap without config.
sunghan-chang [Tue, 26 Sep 2017 08:44:25 +0000 (17:44 +0900)]
Merge pull request #699 from jeongarmy/revert_nettc
Revert "net:tc add dup testcases"
Ahreum Jeong [Tue, 26 Sep 2017 06:17:26 +0000 (15:17 +0900)]
Revert "net:tc add dup testcases"
This reverts commit
43f0771693275fe3ea141a5c0869c6da111e21a2.
Missed a main file for this commit. This will be merged including that file later.
sunghan [Tue, 26 Sep 2017 03:26:40 +0000 (12:26 +0900)]
configs/artik053,sidk_s5jt200: modify ARCH(XX)INCLUDES for windows
When Tizen RT is building in windows, different ARCH(XX)INCLUDESs are used.
But including framework and external folders are missing. Those for Linux
were added already.
sunghan [Tue, 26 Sep 2017 03:17:25 +0000 (12:17 +0900)]
qemu/configs: add external/include folder path at ARCH(XX)INCLUDES
That should be added to use external's APIs for network protocols.
pillip8282 [Mon, 25 Sep 2017 15:36:08 +0000 (00:36 +0900)]
framework:network Create network layer in framework
Create network layer in framework to gather all protocols
From now on all protocol features will be located here
davidfather [Mon, 25 Sep 2017 13:37:31 +0000 (22:37 +0900)]
Merge pull request #681 from junmin-kim/artik053_tc
Change deconfig of artik053/tc to disable unnecessary apps
sunghan-chang [Mon, 25 Sep 2017 13:31:36 +0000 (22:31 +0900)]
Merge pull request #644 from thapav/spawn_codecoverage
libc/spawn: Add test case for spawn API's
davidfather [Mon, 25 Sep 2017 08:13:43 +0000 (17:13 +0900)]
Merge pull request #662 from pillip8282/net_utc
code coverage: add utc to network tc and change make.defs not to build unused network files now.
davidfather [Mon, 25 Sep 2017 08:09:54 +0000 (17:09 +0900)]
Merge pull request #680 from pillip8282/multicast_sample
apps:nettest modify multicast test in nettest
sunghan-chang [Mon, 25 Sep 2017 07:39:40 +0000 (16:39 +0900)]
Merge pull request #689 from manoharahk/sidk_s5jt200_romfs_fix
sidk_s5t200 : create rom device using ftl mtd
Vidisha Thapa [Thu, 27 Jul 2017 14:13:28 +0000 (19:43 +0530)]
libc/spawn: Add test case for spawn API's
This patch adds TC's for code coverage of the following API's:
posix_spawn_file_actions_adddup2()
It also covers left over cases in the following test API's:
tc_libc_spawn_posix_spawn_file_actions_dump()
tc_libc_spawn_posix_spawnattr_dump()
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
Manohara HK [Sat, 23 Sep 2017 07:06:27 +0000 (12:36 +0530)]
sidk_s5t200 : create rom device using ftl mtd
Changes:
1. Create rom device using ftl mtd instead of smart mtd
2. Removed SIDK_S5JT200_AUTOMOUNT_ROMFS_DEVNAME config,
and devname is dynamically composed.
3. Modified partition and openocd script accordingly
Signed-off-by: Manohara HK <manohara.hk@samsung.com>
Taejun-Kwon [Mon, 25 Sep 2017 05:58:45 +0000 (14:58 +0900)]
Merge pull request #684 from sunghan-chang/master
cleanup Kconfig on external
sunghan-chang [Mon, 25 Sep 2017 05:14:22 +0000 (14:14 +0900)]
Merge pull request #657 from lokeshbv/iotbus
Refactor iotbus PWM