)]}'
{
  "commit": "1c0c8fd9da34d29d549803f3ddff9a68dd95dfed",
  "tree": "4cdf8d00d844fc0286f05cda7677d298d9ead6b9",
  "parents": [
    "4a7970bc98c5bacd2cebcc2b4a3a39be304a1cae"
  ],
  "author": {
    "name": "Jacob Garber",
    "email": "jgarber1@ualberta.ca",
    "time": "Mon Aug 12 14:14:40 2019 -0600"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Tue Sep 24 19:09:29 2019 +0000"
  },
  "message": "linux_spi: Use fgets() to read buffer size\n\nSince fread() returns the number of bytes read, this currently will only\ncheck for errors if it returns 0 (i.e. the file was empty). However, it\nis possible for fread() to encounter an error after reading a few bytes,\nwhich this doesn\u0027t catch. Fix this by using fgets() instead, which will\nreturn NULL if EOF or an error is encountered, and is simpler anyway.\n\nChange-Id: I4f37c70e97149b87c6344e63a57d11ddde7638c4\nSigned-off-by: Jacob Garber \u003cjgarber1@ualberta.ca\u003e\nFound-by: Coverity CID 1403824\nReviewed-on: https://review.coreboot.org/c/flashrom/+/34848\nTested-by: build bot (Jenkins) \u003cno-reply@coreboot.org\u003e\nReviewed-by: David Hendricks \u003cdavid.hendricks@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "de09e607b03016daca2957572eca4c846398e1a2",
      "old_mode": 33188,
      "old_path": "linux_spi.c",
      "new_id": "e3d7486eeb1096f6894a4378772d69e76ed8a4dc",
      "new_mode": 33188,
      "new_path": "linux_spi.c"
    }
  ]
}
