- 16 Apr, 2019 1 commit
-
-
Oleksandr Dmytrenko authored
null reference check in parseInvitePayload Change-Id: Ibf9377c97678c2eb5def6029e9c742a6f663de4a Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 15 Apr, 2019 1 commit
-
-
Oleksandr Dmytrenko authored
security provisioning cloud c++ fixs Change-Id: I56f5a67f8f471d935e69cec0527abd7a6a59f686 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 10 Apr, 2019 2 commits
-
-
Philippe Coval authored
Change-Id: I6e9035b4f3ac7aa8659ef113b3a5c64d3f08951b Relate-to: https://nvd.nist.gov/vuln/detail/CVE-2018-12022Signed-off-by:
Philippe Coval <p.coval@samsung.com>
-
Philippe Coval authored
Change-Id: I2d8948a0d27c177bee8f5ebaf39e120c2e750757 Signed-off-by:
Philippe Coval <p.coval@samsung.com>
-
- 04 Apr, 2019 1 commit
-
-
Oleksandr Dmytrenko authored
1) error: missing initializer for member OicSecKey::len 2) ISO C++ forbids converting a string constant to 'char*' 3) _POSIX_C_SOURCE redefined Change-Id: Ib74fd60f124d58213afc9855b71c38ba6d00503c Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 03 Apr, 2019 1 commit
-
-
Oleksandr Dmytrenko authored
cloud provisioning config cb return fix Change-Id: I59b7fbfb0511ab788494e7ea4cd3790c0a13aecf Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 21 Mar, 2019 1 commit
-
-
Jaehong Jo authored
The access token can have a long value. So length changed from the existing 64 to 1024. Change-Id: Id03b4c86d78cdfa1108fee5c6029f286704894c4 Signed-off-by:
Jaehong Jo <jaehong.jo@samsung.com>
-
- 19 Mar, 2019 2 commits
-
-
Nathan Heldt-Sheller authored
Two Doxyfiles were updated with changed project number '2.0.1': resource/docs/c-doc/Doxyfile resource/docs/cpp-doc/Doxyfile Change-Id: I47469d39358cb83a290d34cc3532813fcbb68e49 Signed-off-by:
Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
-
Nathan Heldt-Sheller authored
Added logging to policyengine and removed a corner-case match leftover from pre-OCF-1.3 wildcard definitions. Change-Id: I89df91f81ac28d82ad7bf84ab1895d6cb4b75cd5 Signed-off-by:
Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
-
- 13 Mar, 2019 1 commit
-
-
Oleksandr Dmytrenko authored
1) pointer check in CheckSubjectOfCertificate 2) check pointer len before free in FreeCred 3) poniter check & cross init in CmpCredId 4) double call fix in DeInitCredResource 5) new CopyCred 6) return buffer convertion in case calloc 7) CheckSubjectOfCertificate: label 'exit' defined but not used Change-Id: Ic6b5cfb948505b079f37a6c0b2f2047b25ab5d89 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 11 Mar, 2019 8 commits
-
-
Oleksandr Andrieiev authored
Change-Id: I050e6d137782574c5be40f6cb28081738cafe6dd Signed-off-by:
Oleksandr Andrieiev <o.andrieiev@samsung.com> (cherry picked from commit 17c9e750)
-
Oleksandr Dmytrenko authored
fix for gcc version 4 and 5 Change-Id: I0d7d020b191c8238e256821a47db0a073649c460 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
for gcc 4 that macro does not working Change-Id: I8761605963ae016a83db3df00378f93c4e971753 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
targetId check in PMDeleteFromUUIDList before derefensing Change-Id: I1b1dae4091c5058d018c5cb472d6db2503fecb40 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
1) removed double check in ProvisionCredentialDosCB1 2) pointer check in registerResultForUnlinkDevices 3) pointer check in SRPGetCredResourceCB Change-Id: I7227d62034734b5c5207d7e59d69be6de87d4bde Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
==29556== 68 (64 direct, 4 indirect) bytes in 1 blocks are definitely lost in loss record 291 of 568 ==29556== at 0x4837B85: calloc (vg_replace_malloc.c:752) ==29556== by 0x36FE93: OICCalloc (oic_malloc.c:102) ==29556== by 0x2DB355: CBORPayloadToPstatBin (pstatresource.c:450) ==29556== by 0x2DB160: CBORPayloadToPstat (pstatresource.c:418) ==29556== by 0x232EA7: ListMethodsHandler (ownershiptransfermanager.c:1073) Change-Id: I882b145c0ccf86dfce3736fc24e3c3949a3f00ee Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
crosses initialization of OCCallbackData(cbData) fix Change-Id: I13987d9919059f43b9d69865cf3679d28fe896b9 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
crosses initialization CborValue csrRootMap fix Change-Id: I7a648d5f88b4e6e8b1ac72437af9e7f65c867403 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 04 Mar, 2019 1 commit
-
-
Herve Jourdain authored
Implementation of atomic measurements in iotivity, including C, C++ and Java/Android APIs. Change-Id: Idda2f9f39c98b7307de756774186bbd7fddf434d Signed-off-by:
Herve Jourdain <herve.jourdain@beechwoods.com> (cherry picked from commit e7aa9277)
-
- 27 Feb, 2019 1 commit
-
-
Aleksey authored
Delete all role credentials at the TLS session closure Change-Id: Ie51722647d31cc0be9650b1cb2586274519cbe00 Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
- 26 Feb, 2019 2 commits
-
-
Oleksii Beketov authored
Added callback to return peer's UUID on SSL connection closure Change-Id: Ib31250c639b9c2633e1459f0d555424ca429fb26 Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com>
-
Mats Wichmann authored
Change-Id: I29221ed448cd4da877486bdfd04ddfdbaae4b4d8 Signed-off-by:
Mats Wichmann <mats@linux.com>
-
- 21 Feb, 2019 1 commit
-
-
Oleksandr Dmytrenko authored
removed check the database pointer in PDMClose and createDb Change-Id: I1c23276769410a79ec35148c189ea5f5dcce6fe4 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 19 Feb, 2019 1 commit
-
-
Mats Wichmann authored
The current autobuild (CI) for java (linux_unsecured_with_java target) does not set SECURED=0, probably a holdover from when the default was an unsecured build. Add SECURED=0 to make sure the Jenkins builds are testing this combination. Change-Id: I2db1851c2f9b78a7ffba4474a72c74e5766699d8 Signed-off-by:
Mats Wichmann <mats@linux.com>
-
- 12 Feb, 2019 1 commit
-
-
Oleksandr Dmytrenko authored
check pstat is null before referencing in PostProvisioningStatus Change-Id: I57c9f5088ceb762930056879c6db16b2b80e9530 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 11 Feb, 2019 2 commits
-
-
Abhishek Pandey authored
[IOT-3231] https://jira.iotivity.org/browse/IOT-3231 Easy Setup Resource does not reject an UPDATE request to add a new Link Currently only criteria to reject POST on EasySetup Resource (/EasySetupResURI) is to check if properties are read-only. However, the POST request may contain additional properties "href", "rep" representing a link to be added in collection or any other unsupported properties. Even though these properties are not updated, success response is sent to client which is not appropriate and is flagged as CTT failure. This patch changes the validation logic on /EasySetupResURI for POST on baseline interface to allow the POST only if payload contains the writable property "cn". Update to any other property is rejected. Change-Id: I33f6e7eda33481fa2137341f93b607a837ff5a87 Signed-off-by:
Abhishek Pandey <abhi.siso@samsung.com>
-
Abhishek Pandey authored
[IOT-3252] https://jira.iotivity.org/browse/IOT-3252 Per the WiFiConf Schema, for an UPDATE request: "required":["tnn", "wat", "wet"] This means that all three of these Properties must be in every UPDATE request. If they are not there, the Device is supposed to reject the request with a 4.xx error. However, IoTivity responds with a 2.04 Changed response instead currently. This patch fixes above issue by checking the POST request for required properties (tnn, wat, wet). If any of these are not included in POST request, it will be rejected. Change-Id: I00f02c93cd273a02706c85c5d236584d45d6ca77 Signed-off-by:
Abhishek Pandey <abhi.siso@samsung.com>
-
- 08 Feb, 2019 2 commits
-
-
Vitalii Irkha authored
Added certhelper coverage Change-Id: I6b1a0882b0ba239f22b0eeded57d8c554944c3f0 Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
Oleksandr Dmytrenko authored
Check null before reference Change-Id: I489b8d3ecb44e6bc9b4999ef1b47bd6b9dbf4362 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 07 Feb, 2019 2 commits
-
-
Aleksey authored
Search for the corresponding private key among the ASYMMETRIC_KEY type credentials and copy it to the appropriate SIGNED_ASYMMETRIC_KEY type credential Change-Id: I7b2f595671261708dc0a0769cd8ccb72de0918be Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
Oleksii Beketov authored
If CN has no "uuid:" or "userid:" prefix, treat whole CN as uuid Change-Id: I3e90f2a65f3a82c861c28284ca32fd95e9a4cd23 Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com> Bug: https://jira.iotivity.org/browse/IOT-3256
-
- 06 Feb, 2019 2 commits
-
-
Vitalii Irkha authored
Increase coverage Change-Id: I838b726e26cf0e54fa67cfd383ed350d4b72fc94 Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
Aleksey authored
Switch log level from ERROR to DEBUG in the IsEmptyCred() implementation due to misinterpretationq Change-Id: I7124299fcc210c0531c28c0cceb31070cbd601a4 Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
- 01 Feb, 2019 3 commits
-
-
Vitalii Irkha authored
Added initializer for newDevice member Change-Id: I71b300b6def75fb282fccdcdc7b55a020b91c976 Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
Vitalii Irkha authored
Fixed dependencies to cloud library Change-Id: Idee7ee12f1d3c8bef5cb1b0fa8a599d36320484e Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
Oleksandr Dmytrenko authored
check global the database pointer(p_db) before usage to avoid memory leaks Change-Id: I55ccf40eb0fa6b32a2467cca7f713bca8b704191 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 30 Jan, 2019 1 commit
-
-
Mats Wichmann authored
gcc8.1 is fussier about getting strncpy right, as it gripes on this line: strncpy(request.query, query, sizeof(query)); It issues this warning: resource/unittests/OCResourceResponseTest.cpp:83:39: warning: argument to 'sizeof' in 'char* strncpy(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] Stack code uses OICStrcpy for safer string copying, but without fiddling further with dependencies, that function is not available in this scope, so kept the strncpy but changed the the length to be based on the destination. Qualify the two strings with const while we're at it. Change-Id: I7ed0010a6daeda6f6db4337b9a0babc5e0dce968 Signed-off-by:
Mats Wichmann <mats@linux.com>
-
- 29 Jan, 2019 1 commit
-
-
Aleksey authored
subjectuuid field of credential entry is changing in case of it has '*' or zeroid value and credential type is 'SIGNED_ASYMMETRIC_KEY'. For the trustca credusage this cause a verification error. Change-Id: I889d9e982b5be5fea1d872eebb83734288cde3e6 Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
- 24 Jan, 2019 2 commits
-
-
Mats Wichmann authored
A scheme is introduced which allows separating targets indended to be built by default from ones not intended to be built by default. One example is converted to show how it works. Since this makes use of added methods (extending scons' own API), took the opportunity to properly document these, and added a documentation file in a new doc subdirectory to make it easier for developers to find out about these methods. Also added a debug scheme, which makes it more clear where to put tracing statements in between the two passes of scons - the script is invoked at the very end of the scan pass, before the build pass begins but when everything should be defined. Change-Id: I0a636fa34c18ace23720f22bfdd8511afa611ddb Signed-off-by:
Mats Wichmann <mats@linux.com>
-
Oleksandr Dmytrenko authored
crosses initialization and invalid conversion errors fix Change-Id: I55cce4178f14eb1a7e5b45704650696d18b9ddec Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-