1. 16 Apr, 2019 1 commit
  2. 15 Apr, 2019 1 commit
  3. 10 Apr, 2019 2 commits
  4. 04 Apr, 2019 1 commit
  5. 03 Apr, 2019 1 commit
  6. 21 Mar, 2019 1 commit
  7. 19 Mar, 2019 2 commits
  8. 13 Mar, 2019 1 commit
    • Oleksandr Dmytrenko's avatar
      credresource fix · 2d7a3527
      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: default avatarOleksandr Dmytrenko <o.dmytrenko@samsung.com>
  9. 11 Mar, 2019 8 commits
  10. 04 Mar, 2019 1 commit
  11. 27 Feb, 2019 1 commit
  12. 26 Feb, 2019 2 commits
  13. 21 Feb, 2019 1 commit
  14. 19 Feb, 2019 1 commit
    • Mats Wichmann's avatar
      java unsecured build set SECURED=0 · ce4c6d0d
      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: default avatarMats Wichmann <mats@linux.com>
  15. 12 Feb, 2019 1 commit
  16. 11 Feb, 2019 2 commits
    • Abhishek Pandey's avatar
      [Easy Setup] Reject UPDATE on not allowed property · 0c66b6f8
      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: default avatarAbhishek Pandey <abhi.siso@samsung.com>
    • Abhishek Pandey's avatar
      [Easy Setup] Check required properties for UPDATE · 666d1d5c
      Abhishek Pandey authored
      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: default avatarAbhishek Pandey <abhi.siso@samsung.com>
  17. 08 Feb, 2019 2 commits
  18. 07 Feb, 2019 2 commits
  19. 06 Feb, 2019 2 commits
  20. 01 Feb, 2019 3 commits
  21. 30 Jan, 2019 1 commit
    • Mats Wichmann's avatar
      Fix OCResourceResponseTest warning · 070c003c
      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: default avatarMats Wichmann <mats@linux.com>
  22. 29 Jan, 2019 1 commit
    • Aleksey's avatar
      Subjectuuid wildcard fix · 0aeba4ff
      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's avatarAleksey Volkov <a.volkov@samsung.com>
  23. 24 Jan, 2019 2 commits
    • Mats Wichmann's avatar
      Show how to make examples non-default · ac8502f0
      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: default avatarMats Wichmann <mats@linux.com>
    • Oleksandr Dmytrenko's avatar
      some errors fix · 2cd19c54
      Oleksandr Dmytrenko authored
      crosses initialization and invalid conversion errors fix
      Change-Id: I55cce4178f14eb1a7e5b45704650696d18b9ddec
      Signed-off-by: default avatarOleksandr Dmytrenko <o.dmytrenko@samsung.com>