)]}'
{
  "commit": "b8cda126b4e0fbfd514b26dec4ee8a1c6849abe9",
  "tree": "1ff3da5dad8aaef9af732c9e28bdda6ffa779d66",
  "parents": [
    "67ad42147a7acc2af6074753ebd03d904476118f"
  ],
  "author": {
    "name": "Sebastien Tardif",
    "email": "sebtardif@ncf.ca",
    "time": "Thu May 28 02:56:54 2026 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri May 29 14:25:41 2026 +0900"
  },
  "message": "daemon: fix IPv6 address corruption in lookup_hostname()\n\ngetaddrinfo() is called with AF_UNSPEC hints, so it may return IPv6\nresults. However, the code unconditionally casts ai_addr to\nsockaddr_in and passes AF_INET to inet_ntop(). On IPv6-only hosts,\nthis reads from the wrong struct offset, producing garbage IP\naddresses.\n\nFix this by checking ai_family and extracting the address pointer\ninto a local variable before calling inet_ntop() once with the\ncorrect family. Die on unexpected address families.\n\nSigned-off-by: Sebastien Tardif \u003csebtardif@ncf.ca\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0a7b1aae447912aadfbbedea9bd10e6b5dddf7f9",
      "old_mode": 33188,
      "old_path": "daemon.c",
      "new_id": "80fa0226d89f03215f9c75eaca0576f3343982eb",
      "new_mode": 33188,
      "new_path": "daemon.c"
    }
  ]
}
