1. 09 May, 2019 7 commits
  2. 08 May, 2019 1 commit
  3. 11 Mar, 2019 1 commit
    • Jakub Adam's avatar
      component: Fix use-after-free · 541801d4
      Jakub Adam authored
      conn_check_prune_socket() was trying to access deleted NiceCandidate
      instance. Prune the socket before removing the candidate.
      
      Closes #73
      541801d4
  4. 08 Mar, 2019 2 commits
    • Jakub Adam's avatar
      tests: rename test-dribble to test-trickle · 9afd0c8b
      Jakub Adam authored
      9afd0c8b
    • Jakub Adam's avatar
      agent: trickle ICE mode · a6112cec
      Jakub Adam authored
      In this mode, activated by setting "ice-trickle" property of a
      NiceAgent to TRUE, a component without a successful connectivity check
      will wait indefinitely for more remote candidates to come.
      
      nice_agent_peer_candidate_gathering_done() must be called after
      receiving the last remote candidate for the component to finally change
      its state to NICE_COMPONENT_STATE_FAILED.
      a6112cec
  5. 12 Feb, 2019 1 commit
  6. 29 Jan, 2019 2 commits
    • Olivier Crête's avatar
      turn: Allow lifetimes under 60s · 602d48c4
      Olivier Crête authored
      Don't set a timeout to the very far future if the lifetime sent  by the
      server is under 60s. Instead of doing "lifetime - 60", switch to lifetime/2.
      602d48c4
    • Jakub Adam's avatar
      component_io_cb: Avoid potential deadlock · 047455fe
      Jakub Adam authored
      Don't unref NiceAgent while holding agent mutex. If it's the last
      reference, nice_agent_dispose() will try to acquire the mutex again and
      deadlock.
      047455fe
  7. 22 Jan, 2019 1 commit
  8. 14 Jan, 2019 1 commit
  9. 27 Dec, 2018 7 commits
  10. 21 Dec, 2018 1 commit
    • Jakub Adam's avatar
      agent: Fix use of freed stream in nice_agent_dispose() · 9864f36b
      Jakub Adam authored
      nice_stream_close() calls agent_find_stream(), which iterates over
      agent->streams list.
      
      Therefore, when we're freeing agent->streams in a loop, we must also
      delete the respective GSList item from the list at the end of each
      iteration. Otherwise agent_find_stream() would stumble over already
      deleted NiceStream instance the next time it gets called.
      
      Fixes random crashes when running test-different-number-streams on
      Windows.
      9864f36b
  11. 18 Dec, 2018 2 commits
  12. 14 Dec, 2018 2 commits
  13. 31 Oct, 2018 1 commit
    • Jakub Adam's avatar
      agent: check message length before extracting RFC4571 frame size · 5496500b
      Jakub Adam authored
      nice_socket_recv_messages() may return a NiceInputMessage of length = 0,
      so before attempting to read the RFC4571 header check the message really
      has at least sizeof (guint16) bytes of data.
      
      The bug's always been there, the previous commit only made it more
      apparent.
      5496500b
  14. 28 Oct, 2018 3 commits
  15. 21 Oct, 2018 3 commits
  16. 12 Jun, 2018 1 commit
    • Nicolas Dufresne's avatar
      Fix cast-function-type warning introduced in GCC 8 · 23b59268
      Nicolas Dufresne authored
      This is new warning introduced with GCC 8. This is being fixed by using appropriate function, like g_queue_free_full/g_list_free_full or by casting to GCallback before casting to the target function signature.
      
      Closes: #46
      23b59268
  17. 06 Jun, 2018 2 commits
  18. 23 Mar, 2018 2 commits