)]}'
{
  "commit": "ebca9ed2b2e62ee579100142ee61f5ba77a3c712",
  "tree": "a4e9bf378cc13b8ee7435528e053d99a63a96173",
  "parents": [
    "bb4b3b1c195e0f0ec63a716531ff7d7cbc326f13"
  ],
  "author": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Tue Jul 21 13:28:23 2026 +0100"
  },
  "committer": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Tue Jul 21 13:35:25 2026 +0100"
  },
  "message": "[dns] Pass a non-null peer socket address to xfer_open_socket()\n\nCommit 3662065 (\"[dns] Use all configured DNS servers\") changed the\nlogic from opening a single defined nameserver address to opening an\nunspecified peer socket address and then specifying the full peer\naddress for each transmitted packet.\n\nThe peer socket address was left unspecified by passing a null pointer\nto xfer_open_socket().  This is supported by the UDP socket opener,\nbut technically violates the internal API (which allows the local\nsocket address to be a null pointer, but not the peer socket address).\nIn particular, in a debug build using DEBUG\u003dopen, the debug code will\nitself dereference the peer address pointer.\n\nFix by embedding the name server socket address within the DNS request\nstructure, and passing this to xfer_open_socket().\n\nSigned-off-by: Michael Brown \u003cmcb30@ipxe.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3f534b99f7c2f1f78e92839d0a53384b06509c1b",
      "old_mode": 33188,
      "old_path": "src/net/udp/dns.c",
      "new_id": "3f53675f9e7b18ef6bc7b0862b2baacd7c8e0368",
      "new_mode": 33188,
      "new_path": "src/net/udp/dns.c"
    }
  ]
}
