]> err.no Git - linux-2.6/commit
[PATCH] Array overrun in drivers/infiniband/core/cma.c
authorEric Sesterhenn <snakebyte@gmx.de>
Wed, 21 Jun 2006 18:56:26 +0000 (20:56 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 18:57:28 +0000 (11:57 -0700)
commit5fd571cbc13db113bda26c20673e1ec54bfd26b4
tree9201d13d9cabe8e06497fe22f2d0243f0f054f90
parent09c0dc68625c06f5b1e786aad0d5369b592179e6
[PATCH] Array overrun in drivers/infiniband/core/cma.c

This was spotted by coverity #id 1300.  Since the array has only four
elements, we should just use those four.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/core/cma.c