)]}' { "commit": "a163e26c830518c9a92c09c7f6011f5b517b20c1", "tree": "0d758fe21b5f4912026b40392cc583f190368d4c", "parents": [ "2648259d285b086196cb25b81710c5345cb04261" ], "author": { "name": "Lei Zhang", "email": "thestig@chromium.org", "time": "Fri Sep 11 00:25:14 2020 +0000" }, "committer": { "name": "Chromium commit bot", "email": "commit-bot@chromium.org", "time": "Fri Sep 11 00:25:14 2020 +0000" }, "message": "Use CheckedNumerics to calculate size in CalculatePitchAndSize().\n\nIn CFX_DIBitmap::CalculatePitchAndSize(), instead of manually avoiding\ninteger overflow when calculating the pitch, use CheckedNumerics instead\nby instantiating a FX_SAFE_UINT32.\n\nThis raises the limit for the maximum possible size.\n\nBug: chromium:1124660\nChange-Id: Ib9ec3f68db1d8e78c7d893758f0ec1ceaf6cfe28\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/73398\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "8a9c56ebfb817eb439d68aa10ef69363ff4d4e0e", "old_mode": 33188, "old_path": "core/fxge/dib/cfx_dibitmap.cpp", "new_id": "587dac3ca2d016748511b3efa43aa77b933abead", "new_mode": 33188, "new_path": "core/fxge/dib/cfx_dibitmap.cpp" }, { "type": "modify", "old_id": "507fdbe7098c3bda5c18fa4c378f18ca75aa1222", "old_mode": 33188, "old_path": "core/fxge/dib/cfx_dibitmap_unittest.cpp", "new_id": "08d5ad94049d6d80ace4d4cf2e15a123c92c2b8a", "new_mode": 33188, "new_path": "core/fxge/dib/cfx_dibitmap_unittest.cpp" } ] }