)]}'
{
  "commit": "9c8387afdc93f90bf0241411d44e011d8d5b76df",
  "tree": "97611f22b5a627f5d6067aae0bff6c32247fb577",
  "parents": [
    "64e4566f6d590fbb284da061b9b664c2486dd2de"
  ],
  "author": {
    "name": "Nate Case",
    "email": "ncase@xes-inc.com",
    "time": "Tue May 13 06:14:14 2008 +1000"
  },
  "committer": {
    "name": "Paul Mackerras",
    "email": "paulus@samba.org",
    "time": "Thu May 15 20:49:52 2008 +1000"
  },
  "message": "[POWERPC] Fix uninitialized variable bug in copy_{to|from}_user\n\nCalls to copy_to_user() or copy_from_user() can fail when copying N\nbytes, where N is a constant less than 8, but not 1, 2, 4, or 8,\nbecause \u0027ret\u0027 is not initialized and is only set if the size is 1,\n2, 4 or 8, but is tested after the switch statement for any constant\nsize \u003c\u003d 8.  This fixes it by initializing \u0027ret\u0027 to 1, causing the\ncode to fall through to the __copy_tofrom_user call for sizes other\nthan 1, 2, 4 or 8.\n\nSigned-off-by: Dave Scidmore \u003cdscidmore@xes-inc.com\u003e\nSigned-off-by: Nate Case \u003cncase@xes-inc.com\u003e\nSigned-off-by: Paul Mackerras \u003cpaulus@samba.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8e798e3758bc38137ca15d2f0e23c954e0339c26",
      "old_mode": 33188,
      "old_path": "include/asm-powerpc/uaccess.h",
      "new_id": "1a0736f8803fa8db84de6b428ae808c95b49b835",
      "new_mode": 33188,
      "new_path": "include/asm-powerpc/uaccess.h"
    }
  ]
}
