1. 02 Nov, 2016 1 commit
    • tests: core: test deinitialization and concurrent initialization · 1c33ecc4
      Exercise the logic surrounding deinitialization of the libgit2
      library as well as repeated concurrent de- and reinitialization.
      This tries to catch races and makes sure that it is possible to
      reinitialize libgit2 multiple times.
      
      After deinitializing libgit2, we have to make sure to setup
      options required for testing. Currently, this only includes
      setting up the configuration search path again. Before, this has
      been set up once in `tests/main.c`.
      Patrick Steinhardt committed
  2. 28 Oct, 2016 1 commit
    • pqueue: resolve possible NULL pointer dereference · 95fa3880
      The `git_pqueue` struct allows being fixed in its total number of
      entries. In this case, we simply throw away items that are
      inserted into the priority queue by examining wether the new item
      to be inserted has a higher priority than the previous smallest
      one.
      
      This feature somewhat contradicts our pqueue implementation in
      that it is allowed to not have a comparison function. In fact, we
      also fail to check if the comparison function is actually set in
      the case where we add a new item into a fully filled fixed-size
      pqueue.
      
      As we cannot determine which item is the smallest item in absence
      of a comparison function, we fix the `NULL` pointer dereference
      by simply dropping all new items which are about to be inserted
      into a full fixed-size pqueue.
      Patrick Steinhardt committed
  3. 27 Oct, 2016 1 commit
  4. 07 Oct, 2016 1 commit
  5. 06 Oct, 2016 2 commits
  6. 10 Aug, 2016 1 commit
  7. 06 Jul, 2016 1 commit
  8. 05 Jul, 2016 1 commit
  9. 29 Jun, 2016 1 commit
  10. 26 May, 2016 6 commits
  11. 06 Apr, 2016 1 commit
    • tests: fix core/stream test when built with openssl off · 04f47a43
      When passing -DUSE_OPENSSL:BOOL=OFF to cmake the testsuite will
      fail with the following error:
      
      core::stream::register_tls [/tmp/libgit2/tests/core/stream.c:40]
        Function call failed: (error)
        error -1 - <no message>
      
      Fix test to assume failure for tls when built without openssl.
      While at it also fix GIT_WIN32 cpp to check if it's defined
      or not.
      Andreas Henriksson committed
  12. 31 Mar, 2016 1 commit
  13. 24 Mar, 2016 1 commit
  14. 22 Mar, 2016 1 commit
  15. 23 Feb, 2016 1 commit
  16. 12 Feb, 2016 1 commit
  17. 12 Jan, 2016 1 commit
  18. 20 Nov, 2015 1 commit
  19. 13 Nov, 2015 1 commit
  20. 12 Nov, 2015 1 commit
  21. 03 Nov, 2015 2 commits
  22. 28 Oct, 2015 2 commits
  23. 27 Sep, 2015 1 commit
  24. 19 Sep, 2015 1 commit
  25. 17 Sep, 2015 4 commits
  26. 13 Sep, 2015 1 commit
  27. 08 Sep, 2015 2 commits
  28. 05 Sep, 2015 1 commit