)]}'
{
  "commit": "0241a3d59028e6a2a20b525708fee901c3e95127",
  "tree": "b177736260daae0b6bffc44e1cc1bd4082f0ee6e",
  "parents": [
    "22b07cad32cdb653ce046f69df56371693cd8297"
  ],
  "author": {
    "name": "Ilaï Deutel",
    "email": "idtl@google.com",
    "time": "Tue Aug 01 23:07:28 2023 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Aug 01 23:07:28 2023 +0000"
  },
  "message": "Allow StructElement_Attr_GetName to return buflen with null buffer\n\nThe documentation of FPDF_StructElement_Attr_GetName currently\nindicates:\n\n```\nbuffer             - A buffer for output. May be NULL. This is only\n                    modified if |buflen| is longer than the length\n                    of the key. Optional, pass null to just\n                    retrieve the size of the buffer needed.\n```\n\nHowever, the current implementation doesn\u0027t allow the caller to pass\nbuffer\u003dNULL to obtain the required buffer length.\n\nRemoving the check for `!buffer` is enough to simply populate the\nbuffer size and return true.\n\nChange-Id: I8249c2fed1c07a133c66e7d38dc9ff56f7de3970\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/110711\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "76a30beda3fbbf3e3b8ba677e960959c0c9a2162",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_structtree.cpp",
      "new_id": "dc68239ac46ffb0478e255f841281e55c2ea7faa",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_structtree.cpp"
    },
    {
      "type": "modify",
      "old_id": "0b9ca77ab770dd03e4f9b9e8f27696956fc06ceb",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_structtree_embeddertest.cpp",
      "new_id": "1ee1612c759f85397e63496a031439a9e27823fc",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_structtree_embeddertest.cpp"
    }
  ]
}
