)]}'
{
  "commit": "16b71fdf97599f1b1b7f38418ee9922d9f117396",
  "tree": "86ceac6117f5a678aaa177bbcdf8d84d2559010c",
  "parents": [
    "9233ecc5c4b5f31921d914b3ef3baa3dc1ae4cc6"
  ],
  "author": {
    "name": "Samuel CUELLA",
    "email": "samuel.cuella@supinfo.com",
    "time": "Tue Mar 10 12:56:00 2009 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Mar 10 15:55:12 2009 -0700"
  },
  "message": "i810: fix kernel crash fix when struct fb_var_screeninfo is supplied\n\nPrevent the kernel from being crashed by a divide-by-zero operation when\nsupplied an incorrectly filled \u0027struct fb_var_screeninfo\u0027 from userland.\n\nPreviously i810_main.c:1005 (i810_check_params) was using the global\n\u0027yres\u0027 symbol previously defined at i810_main.c:145 as a module parameter\nvalue holder (i810_main.c:2174).  If i810fb is compiled-in or if this\nparam doesn\u0027t get a default value, this direct usage leads to a\ndivide-by-zero at i810_main.c:1005 (i810_check_params).  The patch simply\nreplace the \u0027yres\u0027 global, perhaps undefined symbol usage by a given\nparameter structure lookup.\n\nThis problem occurs with directfb, mplayer -vo fbdev, SDL library.\nIt was also reported ( but non solved ) at:\n\n\thttp://mail.directfb.org/pipermail/directfb-dev/2008-March/004050.html\n\nSigned-off-by: Samuel CUELLA \u003csamuel.cuella@supinfo.com\u003e\nCc: Jiri Kosina \u003cjkosina@suse.cz\u003e\nCc: Krzysztof Helt \u003ckrzysztof.h1@poczta.fm\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": "a24e680d2b9c0f90e3a82f443583b5a03951171d",
      "old_mode": 33188,
      "old_path": "drivers/video/i810/i810_main.c",
      "new_id": "2e940199fc892b40ceac2630019ef3cea9456c61",
      "new_mode": 33188,
      "new_path": "drivers/video/i810/i810_main.c"
    }
  ]
}
