This commit fixes an issue reported in ofiwg/libfabric#3227.
If a pre-1.5 error structure was passed into fi_cq_readerr,
the GNI provider would write past the end of the structure
into stack memory. This would potentially corrupt user memory
in a way that would be difficult to detect.
This commit fixes an issue reported in ofiwg/libfabric#3227.
If a pre-1.5 error structure was passed into fi_cq_readerr, the GNI provider would write past the end of the structure into stack memory. This would potentially corrupt user memory in a way that would be difficult to detect.
Signed-off-by: James Swaro jswaro@cray.com