)]}'
{
  "commit": "15c8b002222ea82466eb42a12b809e930704efa4",
  "tree": "be445afbd4d7b40da20ff933d425bc83e42a9976",
  "parents": [
    "96e91c48e26b1dc232abb47cc46073cae2606ea1"
  ],
  "author": {
    "name": "Dexter.k",
    "email": "164054284+rootvector2@users.noreply.github.com",
    "time": "Mon May 18 23:07:53 2026 +0530"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon May 18 10:37:53 2026 -0700"
  },
  "message": "gainmap: check avifImageCreateEmpty() result\n\navifRGBImageApplyGainMap() calls avifImageCreateEmpty() to back the\nrescaledGainMap when the gain map image\u0027s dimensions differ from the\nbase image\u0027s, but does not check the return value. The next line\ncalls avifImageSetViewRect(rescaledGainMap, ...), which dereferences\nthe destination image via avifImageFreePlanes() before any rect\nvalidation, so a NULL return from avifImageCreateEmpty() crashes the\ncaller under memory pressure.\n\nThis is the same pattern fixed for avifImageCopy() in PR #3201.\n\nBail to the existing cleanup label with AVIF_RESULT_OUT_OF_MEMORY\nwhen the allocation fails.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f56484d4355ba6f1948ca476215aedb53eff21b4",
      "old_mode": 33188,
      "old_path": "src/gainmap.c",
      "new_id": "b35734f8922086d8384d1375091b479f88b4d94d",
      "new_mode": 33188,
      "new_path": "src/gainmap.c"
    }
  ]
}
