)]}'
{
  "commit": "cb391259aefd52f09352d35a1bb5b56c0db6db11",
  "tree": "478239bf85fabd43e37715729e39b6ba6cc29ceb",
  "parents": [
    "15406fb41d7aa5ab685005e51ff3cf54acb9a15e"
  ],
  "author": {
    "name": "Ryan Harrison",
    "email": "rharrison@chromium.org",
    "time": "Mon May 07 15:39:45 2018 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Mon May 07 15:39:45 2018 +0000"
  },
  "message": "Use checked large integer in ContinueQuickStretch\n\nThis existing code has the potential for an integer overflow in it.\nWhen overflow occurs in this function scaling may partially succeed.\nThis is due to how out of range values are being clamped, which\nimplicitly swallows the overflow.\n\nThis CL changes the calculation to be performed in a 64-bit space and\nthen attempts to down cast it back to 32-bit space at the end. Because\nthere are multiple steps it is possible for an intermediate value to\ncause an overflow in 32 bit space, but the final value to be valid. If\nthe downcast is not possible then the stretch operation is failed.\n\nAn existing test case has been updated, since it encoded an incorrect\nresult.\n\nBUG\u003dchromium:839245\n\nChange-Id: I637cc1e2d6c6c2d5394599104f76352c20ead021\nReviewed-on: https://pdfium-review.googlesource.com/32056\nReviewed-by: Henrique Nakashima \u003chnakashima@chromium.org\u003e\nCommit-Queue: Ryan Harrison \u003crharrison@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "48d7ea33998ca00e24ce37add35295cb1bcc7686",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp",
      "new_id": "5103d787bd20517f4633e3c700edabc217e68a5a",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp"
    },
    {
      "type": "modify",
      "old_id": "51eb89cf766306d1cf9e7832be777fbae229fcad",
      "old_mode": 33188,
      "old_path": "core/fxcrt/fx_safe_types.h",
      "new_id": "046a98479e5db9e9d3001f8433f4babb108513db",
      "new_mode": 33188,
      "new_path": "core/fxcrt/fx_safe_types.h"
    },
    {
      "type": "modify",
      "old_id": "9d8e290b431f0aebf5802987a267d6d539c9f537",
      "old_mode": 33188,
      "old_path": "core/fxge/dib/cfx_imagestretcher.cpp",
      "new_id": "1c54e3fdd0ecb5a64d1891933ac674a49b807193",
      "new_mode": 33188,
      "new_path": "core/fxge/dib/cfx_imagestretcher.cpp"
    }
  ]
}
