Skip to content
Snippets Groups Projects
  1. Nov 25, 2019
  2. Nov 20, 2019
  3. Nov 19, 2019
  4. Nov 18, 2019
  5. Nov 14, 2019
    • nightuser's avatar
      gunicode: Fix UB in gutf8.c and utf8-pointer test · 1fa83eee
      nightuser authored
      In glib/gutf8.c there was an UB in function g_utf8_find_prev_char when
      p == str. In this case we substract one from p and now p points to a
      location outside of the boundary of str. It's a UB by the standard.
      Since this function are meant to be fast, we don't check the boundary
      conditions.
      
      Fix glib/tests/utf8-pointer test. It failed due to the UB described
      above and aggressive optimisation when -O2 and LTO are enabled. Some
      compilers (e.g. GCC with major version >= 8) create an optimised version
      of g_utf8_find_prev_char with the first argument fixed and stored
      somewhere else (with a different pointer). It can be solved with either
      marking str as volatile or creating a copy of str in memory. We choose
      the second approach since it's more explicit solution.
      
      Add additional checks to glib/tests/utf8-pointer test.
      
      Closes #1917
      1fa83eee
  6. Nov 11, 2019
  7. Nov 06, 2019
    • Philip Chimento's avatar
      gdb: Fix GHashTable pretty printer off-by-one error · 7f52ce18
      Philip Chimento authored
      Commit 7678b107 seems to have left the GHashTable pretty printer with an
      off-by-one error, skipping the first key it encounters and printing an
      extra garbage key/value pair instead. This fixes that by moving an
      increment to the end of a loop rather than the beginning.
      7f52ce18
    • Simon McVittie's avatar
      Release to unstable · 4ae9a795
      Simon McVittie authored
    • Simon McVittie's avatar
      Update to upstream commit 2.62.2-28-g3cf25070e · 7877c4c2
      Simon McVittie authored
      * Update to upstream commit 2.62.2-28-g3cf25070e:
        - d/p/goption-Relax-assertion-to-avoid-being-broken-by-kdeinit5.patch:
          Fix assertion failure when called from a process that overwrites its
          argv, such as kdeinit5
        - d/p/gdbus-peer-Specifically-listen-on-127.0.0.1.patch:
          Improve reliability of gdbus-peer test in some container environments
        - d/p/gdbusserver-Delete-socket-and-nonce-file-when-stopping-se.patch,
          d/p/gdbusserver-Keep-a-strong-reference-to-the-server-in-call.patch,
          d/p/gdbusauthmechanismsha1-Remove-unnecessary-g_warning-calls.patch,
          d/p/gdbusauthmechanismsha1-Create-.dbus-keyrings-directory-re.patch,
          d/p/tests-Move-main-loop-and-test-GUID-into-test-functions-in.patch,
          d/p/tests-Isolate-directories-in-gdbus-peer-test.patch,
          d/p/gdbus-peer-test-Improve-diagnostics-if-g_rmdir-fails.patch,
          d/p/gdbus-peer-test-Stop-GDBusServer-before-tearing-down-temp.patch,
          d/p/gdbus-peer-test-Use-unix-dir-address-if-exact-format-does.patch,
          d/p/gdbus-server-auth-test-Create-temporary-directory-for-Uni.patch:
          Mark as applied upstream in 2.62.x branch
      * d/p/gdbus-server-auth-test-Create-temporary-directory-for-Uni.patch:
        Mark as applied upstream in 2.63.x branch
      * Improve patch metadata: use more URLs for bug references
      7877c4c2
  8. Nov 05, 2019
  9. Nov 04, 2019
  10. Oct 31, 2019
  11. Oct 30, 2019
  12. Oct 29, 2019