)]}'
{
  "commit": "13b08aa11de74120909b871b987d010f33cd0bc6",
  "tree": "df5c1ce27d6beae6f6ad544e73cc5b318c8a8137",
  "parents": [
    "0004bd334b0c485b2e4ece0bfae8812c7f107a0d"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Mon Oct 01 17:47:52 2018 +0000"
  },
  "committer": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Mon Oct 01 17:47:52 2018 +0000"
  },
  "message": "M70: Avoid CHECK in fpdf_parser_decode.cpp (memcpy empty span)\n\nGiven a span of size N, memcpy(dest, \u0026span[N], 0) ought to be a no-op,\nbut since we compute span[N] before checking for zero length, we hit\nan assert. The correct idiom should be to create a sub-span, which\nallows specifying N, but only when the size is 0.\n\nBug: chromium:879910,chromium:889356\nChange-Id: Ic6f368109a5c2f1e13a5f638c6a233769e2ad41b\nReviewed-on: https://pdfium-review.googlesource.com/41930\nCommit-Queue: Tom Sepez \u003ctsepez@chromium.org\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\n(cherry picked from commit 73e97f4fac2f4f591ff62e70377a80fd40b5f6f3)\nReviewed-on: https://pdfium-review.googlesource.com/43271\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7a9f798c85e889a4b49334c83e1d3fe2e787ced7",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/parser/fpdf_parser_decode.cpp",
      "new_id": "e8bb21ca928b6d65bb170d78a22094e2a76e0495",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/parser/fpdf_parser_decode.cpp"
    }
  ]
}
