1. 26 Feb, 2021 3 commits
    • Jozef Kralik's avatar
      Merge branch 'fixSegFault' into plgd.dev · b6f5d62a
      Jozef Kralik authored
      b6f5d62a
    • Jozef Kralik's avatar
      fix segfault · 14570f6e
      Jozef Kralik authored
      preconditions:
       - secured device is owned
       - onboarded to the cloud
      
      step:
       - set pstat to RESET (disown/factory reset)
      
      backtrace of crash:
        Thread 4 "kgateserver" received signal SIGSEGV, Segmentation fault.
        [Switching to Thread 0xb65feb40 (LWP 18972)]
        0x4bea5ffd in oc_tls_uses_psk_cred () from /usr/lib/libiotivity-lite-client-server.so.2
        (gdb) bt
        0  0x4bea5ffd in oc_tls_uses_psk_cred () from /usr/lib/libiotivity-lite-client-server.so.2
        1  0x4be8e1c8 in oc_sec_check_acl () from /usr/lib/libiotivity-lite-client-server.so.2
        2  0x4be8a91e in oc_ri_invoke_coap_entity_handler () from /usr/lib/libiotivity-lite-client-server.so.2
        3  0x4be7b24d in coap_receive () from /usr/lib/libiotivity-lite-client-server.so.2
        4  0x4be7beec in ?? () from /usr/lib/libiotivity-lite-client-server.so.2
        5  0x4be4db67 in ?? () from /usr/lib/libiotivity-lite-client-server.so.2
        6  0x4be4dd22 in oc_process_run () from /usr/lib/libiotivity-lite-client-server.so.2
        7  0x4be86fee in oc_main_poll () from /usr/lib/libiotivity-lite-client-server.so.2
      14570f6e
    • Kishen Maloor's avatar
      ce36c87a
  2. 24 Feb, 2021 1 commit
  3. 08 Feb, 2021 2 commits
  4. 05 Feb, 2021 2 commits
  5. 29 Jan, 2021 3 commits
  6. 27 Jan, 2021 2 commits
  7. 25 Jan, 2021 1 commit
  8. 22 Jan, 2021 1 commit
  9. 15 Jan, 2021 1 commit
  10. 12 Jan, 2021 2 commits
  11. 05 Jan, 2021 2 commits
    • Jozef Kralik's avatar
      Merge branch 'fixDoubleFree' into plgd.dev · 7090766f
      Jozef Kralik authored
      7090766f
    • Jozef Kralik's avatar
      fix of double free memory · 13a474b3
      Jozef Kralik authored
      There was double free memory because refresh_token is removed
      from delayed callbacks after finish call and second time is when
      reconnect func is called in by refresh_token (refresh_token->is_refresh_token_retry_over->reconnect).
      The clean up occurs in cloud_manager_stop, so we can remove it.
      13a474b3
  12. 22 Dec, 2020 1 commit
  13. 18 Dec, 2020 2 commits
  14. 16 Dec, 2020 1 commit
  15. 14 Dec, 2020 2 commits
  16. 11 Dec, 2020 2 commits
  17. 30 Nov, 2020 2 commits
  18. 23 Nov, 2020 4 commits
  19. 26 Oct, 2020 1 commit
  20. 21 Oct, 2020 2 commits
  21. 19 Oct, 2020 1 commit
  22. 17 Oct, 2020 1 commit
  23. 16 Oct, 2020 1 commit