)]}'
{
  "commit": "69f63c5c34d0b34ee2cbf10c5ff7fcff0404879e",
  "tree": "1023d240c44cc2a137c9cca4b6c015e584e30356",
  "parents": [
    "c7f1721ef284c6e8257c7471a02148db76105036"
  ],
  "author": {
    "name": "KAMBAROV, ZAUR",
    "email": "kambarov@berkeley.edu",
    "time": "Tue Jun 28 20:45:12 2005 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@ppc970.osdl.org",
    "time": "Tue Jun 28 21:20:34 2005 -0700"
  },
  "message": "[PATCH] coverity: tty_ldisc_ref return null check\n\nWe add a check of the return value of tty_ldisc_ref(), which\nis checked 7 out of 8 times, e.g.:\n\n149  \t\tld \u003d tty_ldisc_ref(tty);\n150  \t\tif (ld !\u003d NULL) {\n151  \t\t\tif (ld-\u003eset_termios)\n152  \t\t\t\t(ld-\u003eset_termios)(tty, \u0026old_termios);\n153  \t\t\ttty_ldisc_deref(ld);\n154  \t\t}\n\nThis defect was found automatically by Coverity Prevent, a static analysis\ntool.\n\n(akpm: presumably `ld\u0027 is never NULL.  Oh well)\n\nSigned-off-by: Zaur Kambarov \u003czkambarov@coverity.com\u003e\nCc: Alan Cox \u003calan@lxorguk.ukuu.org.uk\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "58597993954f7e8fea638d065afdc7a5362e2ed5",
      "old_mode": 33188,
      "old_path": "drivers/char/tty_ioctl.c",
      "new_id": "f19cf9d7792d57816b53cf0e697bda80fe07a50e",
      "new_mode": 33188,
      "new_path": "drivers/char/tty_ioctl.c"
    }
  ]
}
