1. 11 Apr, 2018 1 commit
    • Milan Crha's avatar
      gnetworkmonitor: Fix use-after-free when using from another thread · ca0add4b
      Milan Crha authored
      When using g_network_monitor_get_default() from another thread, it’s
      possible for network-changed events to be processed after an instance of
      GNetworkMonitor has been disposed, causing use-after-free problems.
      
      Fix that by moving some of the initialisation into the GInitable.init()
      chain, rather than in a main context idle callback.
      
      This includes a unit test which probabilistically reproduces the bug
      (but can’t do so deterministically due to it being a race condition).
      
      Commit amended by Philip Withnall <withnall@endlessm.com> before
      pushing.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=793727
      ca0add4b
  2. 27 Feb, 2018 1 commit
  3. 29 May, 2017 1 commit
  4. 29 Jun, 2016 1 commit
  5. 29 Jul, 2015 1 commit
  6. 05 Dec, 2014 1 commit
  7. 27 Mar, 2014 1 commit
  8. 31 Jan, 2014 1 commit
  9. 24 Jun, 2013 2 commits
  10. 20 Feb, 2013 2 commits
  11. 11 Dec, 2011 1 commit
  12. 14 Nov, 2011 1 commit