]> git.openfabrics.org - ~ardavis/dapl.git/commit
IB extension: segfault in create collective group with non-vector type IA handle"
authorArlin Davis <arlin.r.davis@intel.com>
Tue, 24 Jun 2014 22:49:20 +0000 (15:49 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Tue, 24 Jun 2014 22:49:20 +0000 (15:49 -0700)
commit9bb5212cfeca4a62288467fceac6b0611a11ffe4
treeab4a87d2883c265352d437bb5a0108c57e5ad271
parent36d2db42865394c929f5f4a2316abe679da9d680
IB extension: segfault in create collective group with non-vector type IA handle"

The dats_get_ia_handle call was change in 2.0.34 to convert IA handle from
both vector to handle and handle to vector to fix query calls that
incorrectly returned IA handles in non-vector form. If a caller uses a
non vector IA handle it will get converted incorrectly to a vector and cause
a segfault. Add additional check to verify a IA handle type before calling
get ia handle to avoid incorrect translation.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dat/common/dat_api.c