)]}'
{
  "commit": "6d42d2ba8c718c5123286401bbcc61b0142aecef",
  "tree": "ab5eae104b4b15f3b6512cb107eabf5f4dc970c6",
  "parents": [
    "739899a8ca23dd12430b1cb73b30960252ea8318"
  ],
  "author": {
    "name": "Angel Pons",
    "email": "th3fanbus@gmail.com",
    "time": "Tue Mar 31 15:34:35 2020 +0200"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Thu Jan 05 16:07:04 2023 +0000"
  },
  "message": "ft2232_spi.c: Improve handling of static buffer\n\nIf `buf` became NULL because of an error, subsequent calls to the\n`ft2232_spi_send_command` function with a smaller buffer size will\nresult in a null pointer dereference. Add an additional null check\nbefore using `buf` to prevent that. Moreover, use `size_t` for the\n`bufsize` and `oldbufsize` variables, as it\u0027s what `realloc` uses.\n\nChange-Id: Idc4237ddca94c42ce2a930e6d00fd2d14e4f125c\nSigned-off-by: Angel Pons \u003cth3fanbus@gmail.com\u003e\nOriginal-Reviewed-on: https://review.coreboot.org/c/flashrom/+/39975\nOriginal-Reviewed-by: HAOUAS Elyes \u003cehaouas@noos.fr\u003e\nOriginal-Reviewed-by: Edward O\u0027Callaghan \u003cquasisec@chromium.org\u003e\nReviewed-on: https://review.coreboot.org/c/flashrom-stable/+/71308\nReviewed-by: Nico Huber \u003cnico.h@gmx.de\u003e\nTested-by: build bot (Jenkins) \u003cno-reply@coreboot.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ee19eef5f0f00b7701f7a0e9cb1ffb4f34b84eb0",
      "old_mode": 33188,
      "old_path": "ft2232_spi.c",
      "new_id": "5e9c61d04f4d9d0f32a1fa0a6dde86ed3c204a6f",
      "new_mode": 33188,
      "new_path": "ft2232_spi.c"
    }
  ]
}
