)]}'
{
  "commit": "58e11305710a506ce3369581662eeb14440639cf",
  "tree": "5527a87c3e5c87a6c0a449d0e4ae9c6222f4525e",
  "parents": [
    "321be12a4988a9fed3635ac06bc6ec7de3179e33"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Tue Oct 06 16:12:29 2026 -0700"
  },
  "committer": {
    "name": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Oct 06 16:12:29 2026 -0700"
  },
  "message": "Correctly initialize current cell in agg::outline_aa\n\nInitialize `m_cur_cell` to (0x7FFFFFFF, 0x7FFFFFFF) instead of\n(0x7FFF, 0x7FFF) in outline_aa::outline_aa() and outline_aa::reset(),\nmatching `m_min_x` and `m_min_y`.\n\nPreviously, if a path started at cell (0x7FFF, 0x7FFF),\noutline_aa::set_cur_cell() treated the coordinates as unchanged and\nskipped updating `m_min_x`, `m_max_x`, `m_min_y`, and `m_max_y`. This\nleft the bounds out of sync with the cells in `m_cells`, leading to\nout-of-bounds memory accesses in outline_aa::sort_cells() and\nrasterizer_scanline_aa::sweep_scanline(). Since cell coordinates passed\nto outline_aa::set_cur_cell() are shifted right by `poly_base_shift`,\nthey can never equal 0x7FFFFFFF.\n\nThis matches the equivalent code in newer versions of AGG.\n\nTAG\u003dagy\nCONV\u003dc8cb5ce3-fe6b-4ebe-8831-b653899043f0\n\nBug: 570167922\nChange-Id: I5e06c418226e67ff7487e4e8bba6233402a4ea8e\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/160091\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7d9c8d63fd399257fe15d11e0e1edb9e8420a938",
      "new_mode": 33188,
      "new_path": "third_party/agg23/0018-outline_aa_reset.patch"
    },
    {
      "type": "modify",
      "old_id": "a40bb083d5e930fabdb68ffe994bec25cd7b917c",
      "old_mode": 33188,
      "old_path": "third_party/agg23/README.pdfium",
      "new_id": "f0bc592d432c31d421defdc9ef846b34cfcb9380",
      "new_mode": 33188,
      "new_path": "third_party/agg23/README.pdfium"
    },
    {
      "type": "modify",
      "old_id": "ed59cf0ffb6096a4e1625c0a66c5ce63b0b953f0",
      "old_mode": 33188,
      "old_path": "third_party/agg23/agg_rasterizer_scanline_aa.cpp",
      "new_id": "d561e02b581f55f4e32457c84972a8d392ece84c",
      "new_mode": 33188,
      "new_path": "third_party/agg23/agg_rasterizer_scanline_aa.cpp"
    }
  ]
}
