ofi-cray / libfabric-cray

Open Fabric Interfaces
http://ofiwg.github.io/libfabric/
Other
16 stars 9 forks source link

prov/gni: read error corruption fix #1411

Closed jswaro closed 6 years ago

jswaro commented 6 years ago

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