)]}'
{
  "commit": "95c3d1a80ba37a2d5519915e79f05eba16fee95b",
  "tree": "a07fe54515d40417cf6d3b0e69a80f445f74c6eb",
  "parents": [
    "8d112d5b996747b2b39eccb5697c6fdfb21302d4"
  ],
  "author": {
    "name": "Behdad Esfahbod",
    "email": "behdad@behdad.org",
    "time": "Tue Nov 10 16:36:23 2026 -0600"
  },
  "committer": {
    "name": "Behdad Esfahbod",
    "email": "behdad@behdad.org",
    "time": "Tue Nov 10 19:25:04 2026 -0600"
  },
  "message": "[subset] Detect CFF charstring budget exhaustion at zero, not below\n\nThe shared CFF charstring budget is only ever spent through the\ncs_interpreter_t interpret() cap, which clamps each glyph\u0027s operator\ncount to the remaining budget and charges back exactly what it\nconsumed.  By construction it never overshoots, so an exhausted\nbudget lands at exactly 0 rather than going negative.\n\nThe exhaustion checks therefore compare budget \u003c\u003d 0 (cff1 depend()\u0027s\nseac walk) and budget \u003e 0 (the subset planner\u0027s seac-closure and CFF2\nget_extents verdicts), not \u003c 0 / \u003e\u003d 0, which that path can never\nreach.  With \u003c 0, cff1 depend() never failed, so\nhb_subset_depend_from_face_or_fail() returned a result for an\nadversarial font that exhausts the budget even though the equivalent\nsubset fails; that is the test-subset-cff1 shared-subrs case on CI\nbuilds with -Dexperimental_api\u003dtrue.  Document this at each check.\n\nCo-Authored-By: Claude Opus 4.8 \u003cnoreply@anthropic.com\u003e\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e7c2f26da43670ae1e9fcc77e9dad10e1492d6a0",
      "old_mode": 33188,
      "old_path": "src/hb-ot-cff1-table.hh",
      "new_id": "50724ab3bf3da4200c26afe31dfe4d99672a31f1",
      "new_mode": 33188,
      "new_path": "src/hb-ot-cff1-table.hh"
    },
    {
      "type": "modify",
      "old_id": "d59c1808d7a1b7061a3e925c5c2331eab224fcb7",
      "old_mode": 33188,
      "old_path": "src/hb-subset-plan-var.cc",
      "new_id": "25a8009d942e036bfc8f2bfea3ce72ced1fcd0b0",
      "new_mode": 33188,
      "new_path": "src/hb-subset-plan-var.cc"
    },
    {
      "type": "modify",
      "old_id": "224ea2fdfc64595ad898c1bcbbbd062ad957e6b9",
      "old_mode": 33188,
      "old_path": "src/hb-subset-plan.cc",
      "new_id": "a5cbb80b2191e4f7cf5fb05371e608a1c1406756",
      "new_mode": 33188,
      "new_path": "src/hb-subset-plan.cc"
    }
  ]
}
