1. 14 Apr, 2022 1 commit
    • remote: Delete a now-inexistent API declaration · 88f24384
      6fc6eeb6 replaced the remote options
      with `git_remote_connect_options`. The function definitions were
      removed, but one function declaration remained, causing linker errors if
      one tried to use it.
      
      This change removes the declaration of
      `git_transport_smart_proxy_option` to better reflect reality.
      lhchavez committed
  2. 12 Apr, 2022 7 commits
  3. 11 Apr, 2022 1 commit
  4. 10 Apr, 2022 3 commits
  5. 06 Apr, 2022 4 commits
  6. 05 Apr, 2022 1 commit
    • [midx] Fix an undefined behavior (left-shift signed overflow) · 33b1d3fd
      There was a missing check to ensure that the `off64_t` (which is a
      signed value) didn't overflow when parsing it from the midx file. This
      shouldn't have huge repercusions since the parsed value is immediately
      validated afterwards, but then again, there is no such thing as "benign"
      undefined behavior.
      
      This change makes all the bitwise arithmetic happen with unsigned types
      and is only casted to `off64_t` until the very end.
      
      Thanks to Taotao Gu for finding and reporting this!
      lhchavez committed
  7. 04 Apr, 2022 3 commits
  8. 23 Mar, 2022 17 commits
  9. 16 Mar, 2022 1 commit
    • Fix a string parsing bug when validating extensions from the configuration · ecc722c3
      As builtin extensions are evaluated in the latter half of `check_valid_extension`, a string `cfg` is concatenated with the static string 'extension.' and the value from `builtin_extension`, before being compared with the configured value. This string is not being cleared while iterating through the names of the extensions. Because there is currently only one extension ('noop'), the bug was never noticible.
      
      This patch corrects the behavior by clearing the string on each iteration, as is done in the first block.
      Wilhelm Bierbaum committed
  10. 13 Mar, 2022 2 commits