)]}'
{
  "commit": "f35e3a4dd2a34d1d47fac5b66210a40e2d374a79",
  "tree": "4289d0e2c4f1c976654431bed7f6b1b6823cd316",
  "parents": [
    "89adc90ac46a688eeda3a4a95b71acf073bd059c"
  ],
  "author": {
    "name": "Nicholas S. Husin",
    "email": "nsh@golang.org",
    "time": "Fri Oct 24 16:26:54 2025 -0400"
  },
  "committer": {
    "name": "Nicholas Husin",
    "email": "nsh@golang.org",
    "time": "Fri Oct 24 15:04:30 2025 -0700"
  },
  "message": "http2: fix weight overflow in RFC 7540 write scheduler\n\nWe use uint8 (0-255, inclusive) to represent the RFC 7540 priorities\nweight (1-256, inclusive). To account for the difference, we add 1 to\nthe uint8 weight value within sortPriorityNodeSiblingsRFC7540.\n\nHowever, the addition was done before converting the uint8 type to\nfloat. As a result, when provided a maximum weight value, overflow will\nhappen and will cause the scheduler to treat the maximum weight as a\nminimum weight instead.\n\nThis CL fixes the issue by making sure the addition happens after the\ntype conversion.\n\nChange-Id: I404e87e5ad85fa06d5fa49cda613c93ac8847bdc\nReviewed-on: https://go-review.googlesource.com/c/net/+/714742\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Damien Neil \u003cdneil@google.com\u003e\nReviewed-by: Nicholas Husin \u003chusin@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fb9e260aabbbed816ba8f52b9c35f27acaca2a2e",
      "old_mode": 33188,
      "old_path": "http2/writesched_priority_rfc7540.go",
      "new_id": "4e33c29a2445a2da8d530e4e7909704f2e640257",
      "new_mode": 33188,
      "new_path": "http2/writesched_priority_rfc7540.go"
    },
    {
      "type": "modify",
      "old_id": "96ad355a72376acc6d1ed793c3dd35adbe39d752",
      "old_mode": 33188,
      "old_path": "http2/writesched_priority_rfc7540_test.go",
      "new_id": "6fcee2353a5947e8983a49b675692b4e9293930b",
      "new_mode": 33188,
      "new_path": "http2/writesched_priority_rfc7540_test.go"
    }
  ]
}
