)]}'
{
  "commit": "7891b46fd46e5c88913da0c3111f7090985526d4",
  "tree": "10d687b01e8b52239bfd4b068dc73396a8f698bb",
  "parents": [
    "a4aee3e9c6f4fb1c3f561beaf7d744bfb16efbad"
  ],
  "author": {
    "name": "Daniel Hosseinian",
    "email": "dhoss@chromium.org",
    "time": "Thu Jan 16 22:45:17 2020 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Jan 16 22:45:17 2020 +0000"
  },
  "message": "Add nullptr checks prior to accesses of CPDF_Document::GetDocExtension()\n\nCurrently the CPDFXFA_Context creation occurs in LoadDocumentImpl()\nregardless of whether --disable-xfa has been passed to pdfium_test.\nIn a future CL, we want to defer the context creation to\nFPDFDOC_InitFormFillEnvironment() and make it conditional to whether the\nruntime flag has been passed. However, certain parts of the code inside\nPDF_ENABLE_XFA ifdefs always assume that the context exists and perform\nno nullptr checks prior to accessing.\n\nAlong the way, fix a typo and change some unclear instances of auto\ntypes to explicit types.\n\nBug: pdfium:1433\nChange-Id: Ib1d63587ea6fc62d66cd933321c36182c3a21f42\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/64750\nCommit-Queue: Daniel Hosseinian \u003cdhoss@chromium.org\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2aa33d442eaee7df502500b5044973cffdebfbb8",
      "old_mode": 33188,
      "old_path": "core/fxcrt/fx_unicode.cpp",
      "new_id": "cbd4f0de0e6c70317b75e3d7bd9c34e23960e2a7",
      "new_mode": 33188,
      "new_path": "core/fxcrt/fx_unicode.cpp"
    },
    {
      "type": "modify",
      "old_id": "465cc00d55429253e01062fd624d48e1fe4ebe31",
      "old_mode": 33188,
      "old_path": "fpdfsdk/cpdfsdk_pageview.cpp",
      "new_id": "9e4adc865636f8ef6a2ea96004b4c7f56251134d",
      "new_mode": 33188,
      "new_path": "fpdfsdk/cpdfsdk_pageview.cpp"
    },
    {
      "type": "modify",
      "old_id": "102fdc17996463c5f01115a24f4604ce62d76dab",
      "old_mode": 33188,
      "old_path": "fpdfsdk/cpdfsdk_widget.cpp",
      "new_id": "6d92b74b5fc50e87c9b7be761bcc701969f94a0a",
      "new_mode": 33188,
      "new_path": "fpdfsdk/cpdfsdk_widget.cpp"
    },
    {
      "type": "modify",
      "old_id": "1e4462dae78afadd3c9881bca8611f973da0e74f",
      "old_mode": 33188,
      "old_path": "fpdfsdk/cpdfsdk_widgethandler.cpp",
      "new_id": "a3b239462d3975b6972dd37cdefc77b0e2c1650e",
      "new_mode": 33188,
      "new_path": "fpdfsdk/cpdfsdk_widgethandler.cpp"
    }
  ]
}
