)]}'
{
  "commit": "7141b986497504727d2510c2d5cd98cb059056ce",
  "tree": "0baa0faba2c3b478cf20500dcab3d0ae820f1f39",
  "parents": [
    "a1e5374c894680f6cfad6f2431012f31574f5caa"
  ],
  "author": {
    "name": "Stefan Tauner",
    "email": "stefan.tauner@alumni.tuwien.ac.at",
    "time": "Fri May 16 17:52:04 2014 +0000"
  },
  "committer": {
    "name": "Stefan Tauner",
    "email": "stefan.tauner@alumni.tuwien.ac.at",
    "time": "Fri May 16 17:52:04 2014 +0000"
  },
  "message": "AT45DB: fix read functions\n\nThis fixes segfaults on reads (implicit reads on writes too), ouch.\nThanks to The Raven for reporting the problem and testing my patch, and\nto Alexander Irenkov for providing a workable fix for it additionally.\n\nThere were actually two problems:\n1) The loop conditions were bogus which could lead to read errors\n   (e.g. on implicit erase verifications).\n2) The offset used within the read buffers provided to spi_nbyte_read()\n   and memcpy() were not starting at 0 but the offset of the block\n   within the flash chip (which has nothing to do with read buffer in\n   most cases).\n\nThis patch works similarly to Alexander\u0027s but is intended to be\nmore readable.\n\nCorresponding to flashrom svn r1792.\n\nSigned-off-by: Stefan Tauner \u003cstefan.tauner@alumni.tuwien.ac.at\u003e\nAcked-by: Stefan Tauner \u003cstefan.tauner@alumni.tuwien.ac.at\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b1a81ef4353003c44131822f10ee9f5b2dc613a0",
      "old_mode": 33188,
      "old_path": "at45db.c",
      "new_id": "41fc497a942cd24f85188e6af094c3ff7e2c45ba",
      "new_mode": 33188,
      "new_path": "at45db.c"
    }
  ]
}
