Skip to content
Snippets Groups Projects
  1. Feb 21, 2017
    • Colin Walters's avatar
      tests/xattrs: Fix possible NULL allocation · 0c1603de
      Colin Walters authored
      This showed up in the ostree runs with `-fsanitize=undefined` - if we happened
      to get `0` then `g_malloc` would return `NULL`. However, what's interesting is
      it seemed to happen *consistently*. I think what's going on is GCC proved that
      the value *could* be zero, and hence it *could* return NULL, and hence it was
      undefined behavior. Hooray for `-fsanitize=undefined`.
      0c1603de
  2. Jan 29, 2017
Loading