github jelmer/dulwich dulwich-1.2.22

45 minutes ago
  • HARDEN: Pass -- before the host in SubprocessSSHVendor so an
    argument split by MSYS2's runtime on Windows cannot be parsed as an
    ssh option. Reported by EZO Labs Security. (Jelmer Vernooij)

  • Fix PanicException from the Rust sorted_tree_items on trees
    whose entry names contain '/'. (Jelmer Vernooij)

  • Reject pack indexes whose fanout claims more than 2**31-1 objects on
    32-bit platforms with AssertionError rather than OverflowError.
    Reported by @lenix123. (Jelmer Vernooij, #2574)

  • Add a timeout argument to TCPGitClient and
    get_transport_and_path, so a git:// server that stops
    answering no longer blocks a fetch or push forever.
    (Zainab Mehmut)

  • HARDEN: Reject pack bitmaps that declare more bits than the pack has
    objects. A 20-byte EWAH run could otherwise expand into billions of set
    entries and exhaust memory. (Jelmer Vernooij)

  • Speed up adding received packs in DiskObjectStore.add_thin_pack and
    add_pack by resolving each object once. A rejected pack no longer
    leaves its temporary file behind. (Zainab Mehmut)

  • Avoid AttributeError in __del__ of Pack, Protocol,
    Bundle and other classes when their constructor failed before
    setting any attributes. (Jelmer Vernooij)

Don't miss a new dulwich release

NewReleases is sending notifications on new releases.