)]}'
{
  "commit": "cef2d173850de97e3b14772ead2faebac223c783",
  "tree": "a6429e7816cf7660b1c10bfc61dd2ff62e34f3d4",
  "parents": [
    "d5203664701b8c32fa3fbdaa10586aeca0a32f0c"
  ],
  "author": {
    "name": "Brandon Jones",
    "email": "bajones@chromium.org",
    "time": "Wed Jan 05 18:27:36 2022 +0000"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Jan 05 18:27:36 2022 +0000"
  },
  "message": "Prevent negative error message ranges\n\nIf an error message was reported from Tint that had a end line/position\nthat occurred before the start line/position then the range would have\na negative length, causing the unsigned length to underflow into a very\nlarge value. Also, specifically, if the start line was non-zero but the\nend line was zero (indicating no line, and the value ranges are\nconstructed with by default) the for loop that adds the line offsets\nwould underflow and cause it to read off the end of the line list.\n\nClamping the end of the range to always be less than or equal to the\nstart of the range avoids both of these problems.\n\nBug: dawn:1245\nChange-Id: I780a1f5acc228297cbbea86f33679d00e9153b4c\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/75260\nReviewed-by: Corentin Wallez \u003ccwallez@chromium.org\u003e\nAuto-Submit: Brandon Jones \u003cbajones@chromium.org\u003e\nReviewed-by: Austin Eng \u003cenga@chromium.org\u003e\nCommit-Queue: Austin Eng \u003cenga@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "70aae54795be56862bbb1fcf320cacdcaf3c12fe",
      "old_mode": 33188,
      "old_path": "src/dawn_native/CompilationMessages.cpp",
      "new_id": "cc0790e2c05c48a00312ed0e28f57b6bde656224",
      "new_mode": 33188,
      "new_path": "src/dawn_native/CompilationMessages.cpp"
    }
  ]
}
