)]}'
{
  "commit": "51af33e8e45b845d8ee85446f58e31bc4c118048",
  "tree": "5d82fbb684c0adc0a01f2277f93fab7da2ac3810",
  "parents": [
    "edd2fd643c500c812cae5b0d314ab9db9f959898"
  ],
  "author": {
    "name": "Roland Dreier",
    "email": "rolandd@cisco.com",
    "time": "Mon Feb 18 10:33:59 2008 -0800"
  },
  "committer": {
    "name": "Roland Dreier",
    "email": "rolandd@cisco.com",
    "time": "Mon Feb 18 10:33:59 2008 -0800"
  },
  "message": "RDMA/nes: Fix possible array overrun\n\nIn nes_create_qp(), the test\n\n\tif (nesqp-\u003emmap_sq_db_index \u003e NES_MAX_USER_WQ_REGIONS) {\n\nis used to error out if the db_index is too large; however, if the\ntest doesn\u0027t trigger, then the index is used as\n\n\tnes_ucontext-\u003emmap_nesqp[nesqp-\u003emmap_sq_db_index] \u003d nesqp;\n\nand mmap_nesqp is declared as\n\n\tstruct nes_qp      *mmap_nesqp[NES_MAX_USER_WQ_REGIONS];\n\nwhich leads to an array overrun if the index is exactly equal to\nNES_MAX_USER_WQ_REGIONS.  Fix this by bailing out if the index is\ngreater than or equal to NES_MAX_USER_WQ_REGIONS.\n\nThis was spotted by the Coverity checker (CID 2162).\n\nAcked-by: Glenn Streiff \u003cgstreiff@neteffect.com\u003e\nSigned-off-by: Roland Dreier \u003crolandd@cisco.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ffd4b425567ff8f52bf8b96d3ce79320507463f6",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/hw/nes/nes_verbs.c",
      "new_id": "4dafbe16e82a8366aed841269c3d54535c091cfc",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/hw/nes/nes_verbs.c"
    }
  ]
}
