)]}'
{
  "commit": "30b2a20a51ce5049ab460dba42063b6b84573595",
  "tree": "65e865d85036b8cf5836ee199167e68c489af4b2",
  "parents": [
    "87989d71daa80568e9ba0a8f4225ccf4d789064c"
  ],
  "author": {
    "name": "Tom Sepez",
    "email": "tsepez@google.com",
    "time": "Thu Nov 05 18:40:08 2026 -0800"
  },
  "committer": {
    "name": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Nov 05 18:40:08 2026 -0800"
  },
  "message": "Fix Lab ICC profile handling in IccTransform\n\nCreateTransformSRGB() previously configured srcFormat for Lab profiles\nwith BYTES_SH(0) and no FLOAT_SH(1), which caused cmsCreateTransform()\nto reject the format.\n\nConfigure Lab profiles using TYPE_Lab_FLT (FLOAT_SH(1) and BYTES_SH(4)).\n\nUpdate Translate() to feed float inputs to cmsDoTransform().\n\nUpdate TranslateScanline() to handle Lab profiles by decoding 8-bit PDF\nLab samples to float inputs via a new FX_DecodeLab() helper in\ncore/fxge/dib/fx_dib.h. LittleCMS has no native input format for PDF\n8-bit Lab encoding (TYPE_LabV2_8 expects legacy ICC v2 integer encoding,\nwhich distorts neutral gray and scales L*\u003d100 to 100.392).\n\nDeduplicate this decode logic with CPDF_LabCS::TranslateImageLine().\n\nEnforce input buffer sizes and component bounds using CHECK_GE() in both\nTranslate() and TranslateScanline(), and verify transform format flags\nbefore delegating to cmsDoTransform().\n\nUpdate IccTransformTest.LabProfile to verify successful transform\ncreation as well as both float and scanline translation accuracy.\n\nFixed: 567626895\nChange-Id: Ie4aee8b595757ca83aa83e02f43a03c3fcd15b63\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/163091\nCommit-Queue: Tom Sepez \u003ctsepez@chromium.org\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f1c83fc9c7f6d30cecb5269ff9d24170307180a6",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/page/cpdf_colorspace.cpp",
      "new_id": "04791bac6999fbf5729c7907ce86772366b446f8",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/page/cpdf_colorspace.cpp"
    },
    {
      "type": "modify",
      "old_id": "8bdba0e95c18d95d4f62ba3a45e6331ae378e0a5",
      "old_mode": 33188,
      "old_path": "core/fxcodec/icc/icc_transform.cpp",
      "new_id": "8c9d7ce4908591b9d93d0714ed328191c1cb8f74",
      "new_mode": 33188,
      "new_path": "core/fxcodec/icc/icc_transform.cpp"
    },
    {
      "type": "modify",
      "old_id": "c3f4c7b89b7904039af89c2571466339037cb957",
      "old_mode": 33188,
      "old_path": "core/fxcodec/icc/icc_transform.h",
      "new_id": "003ec69f8cacd5587e1f017de8437bd94961500c",
      "new_mode": 33188,
      "new_path": "core/fxcodec/icc/icc_transform.h"
    },
    {
      "type": "modify",
      "old_id": "2dbb52d0d6aae7f695c1f9e7549fcb105770810d",
      "old_mode": 33188,
      "old_path": "core/fxcodec/icc/icc_transform_unittest.cpp",
      "new_id": "30a23bcaa193b4353fa7448fd2a5ae20d887e377",
      "new_mode": 33188,
      "new_path": "core/fxcodec/icc/icc_transform_unittest.cpp"
    },
    {
      "type": "modify",
      "old_id": "9914f1031acd8b42e2f6517941d12640a1543dad",
      "old_mode": 33188,
      "old_path": "core/fxge/dib/fx_dib.h",
      "new_id": "3bb49e7bd0f409dc2c677cd6add48fc2ed2bce4e",
      "new_mode": 33188,
      "new_path": "core/fxge/dib/fx_dib.h"
    },
    {
      "type": "modify",
      "old_id": "cdfc413c9987b7644f0393518d8fca198e87d5f7",
      "old_mode": 33188,
      "old_path": "testing/fuzzers/pdf_codec_icc_fuzzer.cc",
      "new_id": "755f0b359ac1340a7a157aa92f4b21b337de999b",
      "new_mode": 33188,
      "new_path": "testing/fuzzers/pdf_codec_icc_fuzzer.cc"
    }
  ]
}
