1. 26 Feb, 2019 1 commit
  2. 07 Feb, 2019 1 commit
  3. 21 Jan, 2019 1 commit
  4. 16 Jan, 2019 1 commit
  5. 20 Nov, 2018 1 commit
  6. 13 Nov, 2018 1 commit
  7. 06 Nov, 2018 1 commit
  8. 05 Nov, 2018 1 commit
  9. 31 Oct, 2018 1 commit
  10. 17 Oct, 2018 1 commit
  11. 07 Sep, 2018 1 commit
  12. 06 Sep, 2018 1 commit
  13. 31 Aug, 2018 1 commit
  14. 06 Aug, 2018 1 commit
  15. 26 Jul, 2018 1 commit
  16. 11 Jul, 2018 1 commit
  17. 10 Jul, 2018 1 commit
  18. 26 Jun, 2018 1 commit
  19. 19 Jun, 2018 1 commit
  20. 18 Jun, 2018 1 commit
  21. 15 Jun, 2018 1 commit
    • sungmok.shin's avatar
      Add 'webos' into the target OS list · bd43c4d1
      sungmok.shin authored
      - TARGET_OS "webos" is added
      - IP adapter for network monitoring is implemented
      - Introduce PmLog for IoTivity over webos
      - Provisioning library is included
      - Crash with iotivity-node application is fixed
      - Build error due to RD_MODE=all is fixed
      - ACG (Access Control Group) configuration file for
        sample application is added
      - Procedure for registering/Unregistering luna service
        is implemented
      - Internal function for getting LSHandle is implemented
      - ocserverbasicops & occlientbasicops for webos
        is implemented (built from separate folder)
      - IoTivity sampler(iotivity-node) for webOS is implemented
      - Set native application path to /usr/palm/services
      
      Bug: https://jira.iotivity.org/browse/IOT-2967
      Change-Id: I3f4f143e7f528e873e5758410e226d98b2679151
      Signed-off-by: default avatarsungmok.shin <sungmok.shin@lge.com>
      bd43c4d1
  22. 14 Jun, 2018 1 commit
    • Oleksandr Andrieiev's avatar
      [CR2390] Identity spoofing/privelege escalation · bc8c9fdc
      Oleksandr Andrieiev authored
      For secure connections that use certificates the SubjectUUID
      is retrieved from leaf certificate's CN. However, there is
      no binding mechanism between Root CA and Device Id that it
      can generate certificates for. Root CAs can issue certificates
      with arbitrary UUIDs, which can be used to impersonate another
      Device.
      
      The fix adds callback to the certificate chain validation
      function. This callback collects single-linked list of all
      UUIDs associated with the certificate in cred entries.
      When leaf certificate is reached, UUID of Device is retrieved
      and matched against static list. If no matching UUID is
      found, connection should be rejected.
      
      Bug: https://jira.iotivity.org/browse/IOT-3087
      Change-Id: I20333c980226dc6a0c257dc36aab1502202993d9
      Signed-off-by: Oleksandr Andrieiev's avatarOleksandr Andrieiev <o.andrieiev@samsung.com>
      bc8c9fdc
  23. 28 May, 2018 1 commit
  24. 24 May, 2018 1 commit
    • Veeraj Khokale's avatar
      [IOT-3044] No response for Ping message · 6b637551
      Veeraj Khokale authored
      TCP adapter disconnects the session whenever
      the data to be sent has an empty payload.
      Since ping messages and signaling messages
      need to have an empty payload they are dropped.
      Fix this by checking if the message is a signaling
      message before dropping it.
      
      Change-Id: I1cfad27fcfd5cf3a42510412e6555b84ea905259
      Signed-off-by: default avatarVeeraj Khokale <veeraj.sk@samsung.com>
      (cherry picked from commit c7dce6b5)
      6b637551
  25. 18 May, 2018 1 commit
    • Mats Wichmann's avatar
      Documentation improvements to layout and grouping · c6f30d10
      Mats Wichmann authored
      All four doxyfiles are updated to current template
        (newer doxygen version) by running doxygen -u
      iotivity logo is added, doxyfiles point to it
      C SDK adds individual listings for (some) libraries
      xml template for C SDK displays library page
        doxygen thinks these are "modules", but mostly ok
      xml template also displays "pages", which causes a
        a list of deprecated elements to be displayed
      Some headers are marked up for their inclusion
        in libraries (work in progress). Libraries are
        "defined" in guides/Home.txt, so far with only
        minimal definitions - need improving.
      An iotivity-specific css file is added, so far
        includes markup for two new elements (aliases)
      Two aliases are defined, @experimental prints a section
        indicating the feature is experimental; @sideeffect
        takes one argument and prints a section with that
        argument as the body. Intended as a way to be able
        to note e.g. if a function causes allocations that need to
        be tracked - there are no current users of this alias.
      Some minor doc cleanup is included.
      Cloud auth.h emits errors on processing, those were
        fixed, some doc wording added, and the prototype
        for CloudStart was removed as there is no implementation.
      
      Change-Id: I8a434bb3cb51523129ec8e478ac45ac196cf41b5
      Signed-off-by: default avatarMats Wichmann <mats@linux.com>
      c6f30d10
  26. 11 May, 2018 1 commit
    • Veeraj Khokale's avatar
      [IOT-3044] No response for Ping message · c7dce6b5
      Veeraj Khokale authored
      TCP adapter disconnects the session whenever
      the data to be sent has an empty payload.
      Since ping messages and signaling messages
      need to have an empty payload they are dropped.
      Fix this by checking if the message is a signaling
      message before dropping it.
      
      Change-Id: I1cfad27fcfd5cf3a42510412e6555b84ea905259
      Signed-off-by: default avatarVeeraj Khokale <veeraj.sk@samsung.com>
      c7dce6b5
  27. 10 May, 2018 1 commit
  28. 01 May, 2018 1 commit
  29. 24 Apr, 2018 2 commits
  30. 18 Apr, 2018 1 commit
  31. 10 Apr, 2018 1 commit
  32. 09 Apr, 2018 1 commit
  33. 06 Apr, 2018 1 commit
  34. 04 Apr, 2018 1 commit
  35. 27 Mar, 2018 1 commit
  36. 24 Mar, 2018 1 commit
    • Mats Wichmann's avatar
      static analysis: unintitialized struct · 9497dde7
      Mats Wichmann authored
      A couple of instances in this file do not initialize a struct,
      while the majority do so using memset. Aligned so this source file
      does things consistently. Two of these (lines 709 and 748 in the
      original source) are causing Coverity static checker complaints
      ("uninitialized scalar variable") because the struct is assigned -
      even though the member in question is never actually accessed.
      
      Note according to my understanding, for c++ code, it is considered
      better to use object initialization, although if the data is
      only POD (Plain Old Data), the result does come out the same.
      Thus, instead of:
      
          CAInfo_t responseData;
          memset(&responseData, 0, sizeof(CAInfo_t));
      
      it is suggested to use:
      
          CAInfo_t responseData {};
      
      we could adjust that in a separate change if people agree.
      
      It should not actually be necessary to pre-fill the whole struct
      with zeroes since the fields that matter get values in the tests
      before use anyway. However the problem with CAInfo_t is that
      someone thought it was a sensible idea to have a conditional
      field in an important (public API) struct in cacommon.h:
      
      typedef struct
      {
          CAMessageType_t type;       /**< Qos for the request */
      .#ifdef ROUTING_GATEWAY
          bool skipRetransmission;    /**< Will not attempt retransmission even if type is CONFIRM.
                                           Required for packet forwarding */
      .#endif
          uint16_t messageId;
          ...
      } CAInfo_t;
      
      which means every valid use of CAInfo_t has to have the same #ifdef
      ROUTING_GATEWAY bracketing to deal with this optional member. This
      is absolutely horrid in a public API and should never happen -
      it means the API is different if you use different compile flags.
      
      Change-Id: If178c7d245142e166fa33447cd00946cff4a56fc
      Signed-off-by: default avatarMats Wichmann <mats@linux.com>
      9497dde7
  37. 23 Mar, 2018 1 commit
    • George Nash's avatar
      Annotate deprecated functions with macro · a33c1c1d
      George Nash authored
      If a function was already marked as deprecated using
      the @derecated doxygen annotation the OC_DEPRECATED_MSG
      macro was added to generate compiler warnings when a
      deprecated function was used.
      
      The date the function was deprecated was obtained by
      using git blame to find when the @deprecated tag
      was added to the function documentation. The date the
      tag was added was used in the macro.
      
      Three instances of the function registerDeviceInfo
      are marked as deprecated but the macro was not added
      due to inheritance and mock objects implementing
      their own version of the registerDeviceInfo. Caused
      difficulty adding the macro to them without breaking
      the build.
      
      An attempt was made to clean up any remaining usages
      of deprecated functions that were not part of unit tests.
      It is possible that one or more instances of the
      'registerDeviceInfo' function was missed.
      
      Java is still using deprecated functions:
      IOT-3011 and IOT-3012 to address the fact that Java is
      still using deprecated functions.
      
      Change-Id: I39b1af690b99d52f2e0d026e4c27b908e2f6c052
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      a33c1c1d
  38. 17 Mar, 2018 1 commit
  39. 16 Mar, 2018 1 commit