)]}'
{
  "commit": "8dc0030ecbf8109c802a9919c378948c68042a2c",
  "tree": "d18d582cf1a552b6abf1bf072b3986c0b4fc5a2e",
  "parents": [
    "cc5fca057ec61748e5fbde429adee155c7392510"
  ],
  "author": {
    "name": "David Neto",
    "email": "dneto@google.com",
    "time": "Thu Jul 28 09:40:07 2022 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jul 28 09:40:07 2022 -0400"
  },
  "message": "spirv-as: Avoid overflow when parsing exponents on hex floats (#4874)\n\n* spirv-as: Avoid overflow when parsing exponents on hex floats\r\n\r\nWhen an exponent is so large that it would overflow the int\r\ntype in the parser, saturate the exponent.\r\nThis allows extremely large exponents, and saturates\r\nto infinity when the exponent is positive, and zero when the exponent\r\nis negative.\r\n\r\nFixes #4721.\r\n\r\n* Avoid unexpected narrowing conversions from arithmetic operations\r\n\r\nCo-authored-by: Alastair F. Donaldson \u003calastair.donaldson@imperial.ac.uk\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "903b62880c180150f6b7e8bdaa59e2b6704e121b",
      "old_mode": 33188,
      "old_path": "source/util/hex_float.h",
      "new_id": "06e3c57572c96d4bc76a36bc072c2b792d41cf85",
      "new_mode": 33188,
      "new_path": "source/util/hex_float.h"
    },
    {
      "type": "modify",
      "old_id": "7edfd43df2a22d736329afb7b7ba8ce6853960ac",
      "old_mode": 33188,
      "old_path": "test/hex_float_test.cpp",
      "new_id": "25d3c707a78b1ab7518e12e6f36ac0fc701784ad",
      "new_mode": 33188,
      "new_path": "test/hex_float_test.cpp"
    }
  ]
}
