)]}'
{
  "commit": "8365d546ce0698faffd22cf3cb44c0c854f74637",
  "tree": "4d13777de143bf30edc5ff6860e6bf93fa1cbc52",
  "parents": [
    "ec01126c04cd6ff985139d52f2c9eac486a2ae4c"
  ],
  "author": {
    "name": "Yu-Ping Wu",
    "email": "yupingso@chromium.org",
    "time": "Wed Aug 07 09:57:31 2024 +0800"
  },
  "committer": {
    "name": "Chromeos LUCI",
    "email": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Aug 13 11:31:52 2024 +0000"
  },
  "message": "futility/load_fmap: Erase remaining bytes if file smaller than area\n\nThe `futility load_fmap` subcommand allows the passed file to be smaller\nthan the corresponding FMAP area size. That\u0027s convenient for some use\ncases (such as EC\u0027s KEY_RO), because the caller doesn\u0027t need to have an\nextra step of enlarging the file to match the area size.\n\nHowever, the current implementation is to keep the remaining data in the\narea unmodified, which is often not the intention of the caller.\nTherefore, change the behavior by erasing the remaining bytes to 0xff.\n\nBUG\u003dnone\nTEST\u003dmake runfutiltests\nBRANCH\u003dnone\n\nChange-Id: Ib6575023801d995b7b25110bb411ec74d9a240f0\nSigned-off-by: Yu-Ping Wu \u003cyupingso@chromium.org\u003e\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/5768173\nReviewed-by: Julius Werner \u003cjwerner@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7c89a78a88b167fd2523ac15320a7ff19128e6d2",
      "old_mode": 33188,
      "old_path": "futility/cmd_load_fmap.c",
      "new_id": "4578e413f6d52ed0dc0a039bf74c8fe9a6fb86ca",
      "new_mode": 33188,
      "new_path": "futility/cmd_load_fmap.c"
    },
    {
      "type": "modify",
      "old_id": "dabd46d49cd67dad24f659bdcb40b82de1e8460d",
      "old_mode": 33261,
      "old_path": "tests/futility/test_load_fmap.sh",
      "new_id": "3ae30c5588d25970115f1b420dffc6b6ee0c1d20",
      "new_mode": 33261,
      "new_path": "tests/futility/test_load_fmap.sh"
    }
  ]
}
