Skip to content
  1. Oct 12, 2016
  2. Oct 07, 2013
  3. Mar 01, 2013
  4. Jan 18, 2013
    • Allison Karlitskaya's avatar
      GVariant: fix normal-form checking for tuples · b236f84a
      Allison Karlitskaya authored
      GVariant has the concept of fixed-sized types (ie: types for which all
      values of the type will have the same size).  Examples are booleans,
      integers, doubles, etc.  Tuples containing only these types are also
      fixed size.
      
      When GVariant is trying to deal with a fixed-sized value for which it
      doesn't have a sufficient backing store (eg: the case where a
      fixed-sized value was created with g_variant_new_data() with an
      incorrect number of bytes) it denotes this by setting the size of the
      value to the correct fixed size but using a NULL data pointer.
      
      This is well-documented in several code comments and also in the public
      API documentation for g_variant_get_data() which describes the situation
      number which NULL could be returned.
      
      The decision to deal with this case in this way was changed at the last
      minute around the time that GVariant was merged -- originally we had an
      elaborate setup involving allocating an internal buffer of sufficient
      size to be shared between...
      b236f84a
  5. Dec 27, 2012
  6. Nov 16, 2012
  7. Nov 11, 2012
  8. Nov 02, 2012
  9. Oct 04, 2012
  10. Sep 27, 2012
  11. Sep 23, 2012
  12. Sep 22, 2012
  13. Sep 19, 2012
  14. Sep 14, 2012
  15. Sep 13, 2012
    • Piotr Drąg's avatar
      Updated Polish translation · 2776420b
      Piotr Drąg authored
      2776420b
    • Colin Walters's avatar
      CVE-2012-3524: Hardening for being run in a setuid environment · 4c2928a5
      Colin Walters authored
      Some programs attempt to use libglib (or even libgio) when setuid.
      For a long time, GTK+ simply aborted if launched in this
      configuration, but we never had a real policy for GLib.
      
      I'm not sure whether we should advertise such support.  However, given
      that there are real-world programs that do this currently, we can make
      them safer with not too much effort.
      
      Better to fix a problem caused by an interaction between two
      components in *both* places if possible.
      
      This patch adds a private function g_check_setuid() which is used to
      first ensure we don't run an external dbus-launch binary if
      DBUS_SESSION_BUS_ADDRESS isn't set.
      
      Second, we also ensure the local VFS is used in this case.  The
      gdaemonvfs extension point will end up talking to the session bus
      which is typically undesirable in a setuid context.
      
      Implementing g_check_setuid() is interesting - whether or not we're
      running in a privilege-escalated path is operating system specific.
      Note tha...
      4c2928a5
  16. Sep 09, 2012
  17. Sep 08, 2012
  18. Sep 05, 2012
  19. Sep 03, 2012
  20. Aug 22, 2012
  21. Aug 12, 2012
  22. Aug 10, 2012
  23. Aug 08, 2012
  24. Aug 07, 2012
  25. Aug 06, 2012
  26. Aug 05, 2012
  27. Jul 27, 2012
  28. Jul 23, 2012
  29. Jul 19, 2012
  30. Jul 17, 2012
  31. Jul 16, 2012