d4603f080d
Since hwloc has a dynamic bitmap size, it could actually have bits set that will not fit in the paffinity mask. We already made sure that we didn't overrun the paffinity mask; now also set the return value to OPAL_ERR_VALUE_OUT_OF_BOUNDS (wow, we really thought of everything with those error codes, eh?) if the hwloc bitmap has bits set higher than what will fit into the paffinity bitmask. This commit was SVN r25179. The following Trac tickets were found above: Ticket 2854 --> https://svn.open-mpi.org/trac/ompi/ticket/2854