diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-08-12 19:20:04 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-08-12 22:00:03 -0700 |
commit | 859976da0307618d1169616f9cb03936716106eb (patch) | |
tree | d7b5e0e805a0411553495476cd8f56482c23ba70 /include | |
parent | 64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91 (diff) | |
download | linux-stable-859976da0307618d1169616f9cb03936716106eb.tar.gz linux-stable-859976da0307618d1169616f9cb03936716106eb.tar.bz2 linux-stable-859976da0307618d1169616f9cb03936716106eb.zip |
RDMA/amso1100: Check for integer overflow in c2_alloc_cq_buf()
This is a static checker fix. The static checker says that q_size comes
from the user and can be any 32 bit value. The call tree is:
--> ib_uverbs_create_cq()
--> c2_create_cq()
--> c2_init_cq()
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions