)]}'
{
  "commit": "ca2a05aa7c72309ee65164c78fa2be7a5038215e",
  "tree": "f362d7c14652dfea0d93508007f8fc87d10d6980",
  "parents": [
    "a490c681cbcf65d548138c377bb691c85824d323"
  ],
  "author": {
    "name": "J. Bruce Fields",
    "email": "bfields@citi.umich.edu",
    "time": "Sun Nov 11 15:43:12 2007 -0500"
  },
  "committer": {
    "name": "J. Bruce Fields",
    "email": "bfields@citi.umich.edu",
    "time": "Fri Feb 01 16:42:03 2008 -0500"
  },
  "message": "nfsd: Fix handling of negative lengths in read_buf()\n\nThe length \"nbytes\" passed into read_buf should never be negative, but\nwe check only for too-large values of \"nbytes\", not for too-small\nvalues.  Make nbytes unsigned, so it\u0027s clear that the former tests are\nsufficient.  (Despite this read_buf() currently correctly returns an xdr\nerror in the case of a negative length, thanks to an unsigned\ncomparison with size_of() and bounds-checking in kmalloc().  This seems\nvery fragile, though.)\n\nSigned-off-by: J. Bruce Fields \u003cbfields@citi.umich.edu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "57333944af7fe5c63937472088c29b4725f006d2",
      "old_mode": 33188,
      "old_path": "fs/nfsd/nfs4xdr.c",
      "new_id": "bf1e792a65a0d951f7188bba10dc76b689a57c24",
      "new_mode": 33188,
      "new_path": "fs/nfsd/nfs4xdr.c"
    }
  ]
}
