rdmalib::RecvWorkCompletions::initialize_batched_recv is missing a bounds check in the for loop, in case array sizes and _rbatch are not equal. Generally, a global constant or setting could be implemented to control and set all work completion queue sizes and related buffer sizes in the code-base.