1. 02 Feb, 2018 1 commit
    • sysdir: do not use environment in setuid case · 0967459e
      In order to derive the location of some Git directories, we currently
      use the environment variables $HOME and $XDG_CONFIG_HOME. This might
      prove to be problematic whenever the binary is run with setuid, that is
      when the effective user does not equal the real user. In case the
      environment variables do not get sanitized by the caller, we thus might
      end up using the real user's configuration when doing stuff as the
      effective user.
      
      The fix is to use the passwd entry's directory instead of $HOME in this
      situation. As this might break scenarios where the user explicitly sets
      $HOME to another path, this fix is only applied in case the effective
      user does not equal the real user.
      Patrick Steinhardt committed
  2. 20 Jan, 2018 3 commits
  3. 19 Jan, 2018 3 commits
  4. 18 Jan, 2018 1 commit
  5. 17 Jan, 2018 7 commits
  6. 12 Jan, 2018 5 commits
  7. 11 Jan, 2018 1 commit
  8. 10 Jan, 2018 5 commits
  9. 08 Jan, 2018 3 commits
  10. 07 Jan, 2018 2 commits
  11. 05 Jan, 2018 2 commits
  12. 04 Jan, 2018 6 commits
  13. 03 Jan, 2018 1 commit