)]}'
{
  "commit": "19bcf62ed0597b7487c3f4ed2de3c9d97b921de8",
  "tree": "9213d496cfb5ba6b5e04fb733c151f076a3638f9",
  "parents": [
    "2b50a97225c9fa937c4160f7da5132e880fa500f"
  ],
  "author": {
    "name": "Karthik Nayak",
    "email": "karthik.188@gmail.com",
    "time": "Tue Mar 17 23:05:56 2026 +0100"
  },
  "committer": {
    "name": "Johannes Schindelin",
    "email": "johannes.schindelin@gmx.de",
    "time": "Mon Oct 19 16:08:14 2026 +0200"
  },
  "message": "fast-import: add safeguard around \u0027export-pack-edges\u0027\n\nSimilar to the previous commit, also add a safeguard around the\n\u0027export-pack-edges\u0027. The \u0027export-pack-edges\u0027 option takes in a file as\nan argument. This can be exploited by an attacker to open a file in\nappend mode and write pack-edge records to it.\n\nThe file is created even if no pack-edge records are ultimately\nwritten (i.e., even without commits), since `xfopen()` creates the file\non open. With a commit and `transfer.unpackLimit\u003d0` (to prevent pack\nloosening), attacker-controlled data can also be written to the file.\n\nAdd the necessary tests, this includes combining two of the previous\ntests which were split into {creation, validation} to ensure a clean\nsetup for the new tests.\n\nReported-by: pwn2addr \u003cp2addr@gmail.com\u003e\nSigned-off-by: Karthik Nayak \u003ckarthik.188@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6be6e787ed98b084e8130821062a7b9c72dfde1a",
      "old_mode": 33188,
      "old_path": "Documentation/git-fast-import.adoc",
      "new_id": "994017450140c502a2b397a07ff006001eb3fd1a",
      "new_mode": 33188,
      "new_path": "Documentation/git-fast-import.adoc"
    },
    {
      "type": "modify",
      "old_id": "68a5c5d8d1d7751d74199717e2a43479a3585201",
      "old_mode": 33188,
      "old_path": "builtin/fast-import.c",
      "new_id": "41f821cc2685d803beca12e2b4963681f11cee0b",
      "new_mode": 33188,
      "new_path": "builtin/fast-import.c"
    },
    {
      "type": "modify",
      "old_id": "fc841f02314f396db2d42f23733b05e01cdf11da",
      "old_mode": 33261,
      "old_path": "t/t9300-fast-import.sh",
      "new_id": "c863767025e49424f5221c1a92ec5c2db238ec34",
      "new_mode": 33261,
      "new_path": "t/t9300-fast-import.sh"
    }
  ]
}
