)]}'
{
  "commit": "90d3b6661e1475bb1652cba7d85c24f8c748ab07",
  "tree": "6d9d3f588c3c8ff94dd1f2718f3ffe2248bc754a",
  "parents": [
    "e760e8f05375cbd0c6d72065b18cac4542b13092"
  ],
  "author": {
    "name": "Anish Aggarwal",
    "email": "ishitaaggarwal8@gmail.com",
    "time": "Fri Nov 06 09:01:28 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Nov 06 10:01:28 2026 +0100"
  },
  "message": "avifDecoderReset: only inspect the first color tile if color tiles exist (#3426)\n\navifDecoderReset() dereferenced data-\u003etiles.tile[0].input whenever the\nprimary color item\u0027s progressive flag was set. That flag is set as a\nside effect of tile generation (avifCodecDecodeInputFillFromDecoderItem)\nand is never cleared, while Reset() begins by clearing all tiles\n(tiles.count \u003d 0 and every tile-\u003einput \u003d NULL).\n\nAn application that parses a progressive AVIF with color content\nenabled, then changes decoder-\u003eimageContentToDecode to exclude color\nand calls avifDecoderReset(), re-enters Reset with the progressive flag\nstill set but no color tiles generated, and crashes on a NULL pointer\ndereference (read of samples.count at NULL + 0xc), verified with an\nAddressSanitizer build:\n\n    #0 avifDecoderReset (src/read.c:6655)\n\nGuard the progressive block with\ndata-\u003etileInfos[AVIF_ITEM_COLOR].tileCount \u003e 0, the same test the\nsurrounding code uses to check whether tiles were generated for a\ncategory. When no color tiles were generated there is no progressive\ncolor state to report, so the block is skipped.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "311be505e2f9b45b9b8da543ca9928f9274d3ffc",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "f5ad7882ea9df771dae703251892e8c61c3f87ad",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "d2b19461400004cab519549769880a905f2a9f2d",
      "old_mode": 33188,
      "old_path": "src/read.c",
      "new_id": "eb03a0c86760687c96d18abf94f35593b1b862e0",
      "new_mode": 33188,
      "new_path": "src/read.c"
    },
    {
      "type": "modify",
      "old_id": "6bc284ced4935bfb2ec6ee79b513bad23fa11708",
      "old_mode": 33188,
      "old_path": "tests/data/README.md",
      "new_id": "655bc2244728f288d6b77d60bfafbe294e0ed126",
      "new_mode": 33188,
      "new_path": "tests/data/README.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1c496835c2f7c84dded3d889a4a337d97d373394",
      "new_mode": 33188,
      "new_path": "tests/data/white_1x1_a1lx_progressive.avif"
    },
    {
      "type": "modify",
      "old_id": "37f5ff93a6ace88086914067a54726540dbee50a",
      "old_mode": 33188,
      "old_path": "tests/gtest/avifprogressivetest.cc",
      "new_id": "d2a6c86e716b7c8c67e1fdd09b64001394a82692",
      "new_mode": 33188,
      "new_path": "tests/gtest/avifprogressivetest.cc"
    }
  ]
}
