1. 07 Mar, 2018 2 commits
    • cmake: fix linker error with dbghelper library · f05f90d8
      When the MSVC_CRTDBG option is set by the developer, we will link in the
      dbghelper library to enable memory lead detection in MSVC projects. We
      are doing so by adding it to the variable `CMAKE_C_STANDARD_LIBRARIES`,
      so that it is linked for every library and executable built by CMake.
      But this causes our builds to fail with a linker error:
      
      ```
          LINK: fatal error LNK1104: cannot open file 'advapi32.lib;Dbghelp.lib'
      ```
      
      The issue here is that we are treating the variable as if it were an
      array of libraries by setting it via the following command:
      
      ```
          SET(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_C_STANDARD_LIBRARIES}"
              "Dbghelp.lib")
      ```
      
      The generated build commands will then simply stringify the variable,
      concatenating all the contained libraries with a ";". This causes the
      observed linking failure.
      
      To fix the issue, we should just treat the variabable as a simple
      string. So instead of adding multiple members, we just add the
      "Dbghelp.lib" library to the existing string, separated by a space
      character.
      Patrick Steinhardt committed
    • deps: upgrade embedded zlib to version 1.2.11 · edc03027
      The current version of zlib bundled with libgit2 is version 1.2.8. This
      version has several CVEs assigned:
      
      - CVE-2016-9843
      - CVE-2016-9841
      - CVE-2016-9842
      - CVE-2016-9840
      
      Upgrade the bundled version to the current release 1.2.11, which has
      these vulnerabilities fixes.
      Patrick Steinhardt committed
  2. 14 Jun, 2017 4 commits
  3. 13 Jun, 2017 12 commits
  4. 12 Jun, 2017 15 commits
  5. 11 Jun, 2017 6 commits
  6. 10 Jun, 2017 1 commit