1. 12 3月, 2008 8 次提交
  2. 11 3月, 2008 3 次提交
  3. 10 3月, 2008 1 次提交
  4. 01 3月, 2008 4 次提交
  5. 27 2月, 2008 6 次提交
  6. 26 2月, 2008 3 次提交
  7. 20 2月, 2008 2 次提交
  8. 19 2月, 2008 1 次提交
    • R
      RDMA/nes: Fix possible array overrun · 51af33e8
      Roland Dreier 提交于
      In nes_create_qp(), the test
      
      	if (nesqp->mmap_sq_db_index > NES_MAX_USER_WQ_REGIONS) {
      
      is used to error out if the db_index is too large; however, if the
      test doesn't trigger, then the index is used as
      
      	nes_ucontext->mmap_nesqp[nesqp->mmap_sq_db_index] = nesqp;
      
      and mmap_nesqp is declared as
      
      	struct nes_qp      *mmap_nesqp[NES_MAX_USER_WQ_REGIONS];
      
      which leads to an array overrun if the index is exactly equal to
      NES_MAX_USER_WQ_REGIONS.  Fix this by bailing out if the index is
      greater than or equal to NES_MAX_USER_WQ_REGIONS.
      
      This was spotted by the Coverity checker (CID 2162).
      Acked-by: NGlenn Streiff <gstreiff@neteffect.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      51af33e8
  9. 17 2月, 2008 1 次提交
  10. 16 2月, 2008 2 次提交
  11. 15 2月, 2008 4 次提交
  12. 13 2月, 2008 5 次提交