)]}'
{
  "commit": "bed31ed9e1cd71d98ff0bc9212100adee523a10a",
  "tree": "bbba995c877dfc161d0ad5e789be684084e1dfe0",
  "parents": [
    "48670a1e018a9c0b83dc78e3b71ffb26391ee4b6"
  ],
  "author": {
    "name": "Andy Isaacson",
    "email": "adi@hexapodia.org",
    "time": "Fri Mar 16 13:38:04 2007 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@woody.linux-foundation.org",
    "time": "Fri Mar 16 19:25:03 2007 -0700"
  },
  "message": "[PATCH] fix read past end of array in md/linear.c\n\nWhen iterating through an array, one must be careful to test one\u0027s index\nvariable rather than another similarly-named variable.\n\nThe loop will read off the end of conf-\u003edisks[] in the following\n(pathological) case:\n\n  % dd bs\u003d1 seek\u003d840716287 if\u003d/dev/zero of\u003dd1 count\u003d1\n  % for i in 2 3 4; do dd if\u003d/dev/zero of\u003dd$i bs\u003d1k count\u003d$(($i+150)); done\n  % ./vmlinux ubd0\u003droot ubd1\u003dd1 ubd2\u003dd2 ubd3\u003dd3 ubd4\u003dd4\n  # mdadm -C /dev/md0 --level\u003dlinear --raid-devices\u003d4 /dev/ubd[1234]\n\nadding some printks, I saw this:\n\n  [42949374.960000] hash_spacing \u003d 821120\n  [42949374.960000] cnt          \u003d 4\n  [42949374.960000] min_spacing  \u003d 801\n  [42949374.960000] j\u003d0 size\u003d820928 sz\u003d820928\n  [42949374.960000] i\u003d0 sz\u003d820928 hash_spacing\u003d820928\n  [42949374.960000] j\u003d1 size\u003d64 sz\u003d64\n  [42949374.960000] j\u003d2 size\u003d64 sz\u003d128\n  [42949374.960000] j\u003d3 size\u003d64 sz\u003d192\n  [42949374.960000] j\u003d4 size\u003d1515870810 sz\u003d1515871002\n\nCc: Gautham R Shenoy \u003cego@in.ibm.com\u003e\nAcked-by: Neil Brown \u003cneilb@cse.unsw.edu.au\u003e\nCc: \u003cstable@kernel.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c625ddb8833d8b2de3f3d937b899e67b42cb48ae",
      "old_mode": 33188,
      "old_path": "drivers/md/linear.c",
      "new_id": "d5ecd2d53046ab5510b520df48813debdc45d3c8",
      "new_mode": 33188,
      "new_path": "drivers/md/linear.c"
    }
  ]
}
