)]}'
{
  "commit": "60d645a4e9e7e7ddc20e534fea82aa4e6947f911",
  "tree": "656848db8b14b92993df040058df24ce7012cb8b",
  "parents": [
    "5eff5be0b1993f4291f2b8c6d035b408010f96c5"
  ],
  "author": {
    "name": "Dan Carpenter",
    "email": "error27@gmail.com",
    "time": "Wed Jun 15 10:03:05 2011 -0700"
  },
  "committer": {
    "name": "Nicholas Bellinger",
    "email": "nab@linux-iscsi.org",
    "time": "Fri Jun 24 00:08:11 2011 +0000"
  },
  "message": "target: Fix incorrect strlen() NULL terminator checks\n\nThis patch fixes a number of cases in target core using an incorrectly\n\n\tif (strlen(foo) \u003e SOME_MAX_SIZE)\n\nAs strlen() returns the number of characters in the string not counting\nthe NULL character at the end.  So if you do something like:\n\n        char buf[10];\n\n        if (strlen(\"0123456789\") \u003e 10)\n                return -ETOOLONG;\n        snprintf(buf, 10, \"0123456789\");\n        printf(\"%s\\n\", buf);\n\nthen the last \"9\" gets chopped off and only \"012345678\" is printed.\n\nPlus I threw in one small related cleanup.\n\nSigned-off-by: Dan Carpenter \u003cerror27@gmail.com\u003e\nSigned-off-by: Nicholas Bellinger \u003cnab@linux-iscsi.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d4fee2a9d66a9e3dbabe5558ec3c55f63b671818",
      "old_mode": 33188,
      "old_path": "drivers/target/loopback/tcm_loop.c",
      "new_id": "70c2e7fa66643f7a7cdf040c62d74e977d7b9d1b",
      "new_mode": 33188,
      "new_path": "drivers/target/loopback/tcm_loop.c"
    },
    {
      "type": "modify",
      "old_id": "b17abd13c8e316e2a362c25061ba413ede414c21",
      "old_mode": 33188,
      "old_path": "drivers/target/target_core_configfs.c",
      "new_id": "25c1f49a7d8bae7ee61f20df5830ba5a782277c7",
      "new_mode": 33188,
      "new_path": "drivers/target/target_core_configfs.c"
    },
    {
      "type": "modify",
      "old_id": "f8d8af7a0d415f2bdd7317262074e760fa211764",
      "old_mode": 33188,
      "old_path": "drivers/target/target_core_device.c",
      "new_id": "ba698ea62bb2a52c19d87a6d1df7de10fcba9ecd",
      "new_mode": 33188,
      "new_path": "drivers/target/target_core_device.c"
    },
    {
      "type": "modify",
      "old_id": "a79f518ca6e2b76e12312d55f536cdb732640802",
      "old_mode": 33188,
      "old_path": "drivers/target/target_core_pr.c",
      "new_id": "b662db3a320bb96f272cbf9a831c1c8813e89952",
      "new_mode": 33188,
      "new_path": "drivers/target/target_core_pr.c"
    }
  ]
}
