Page MenuHomePhabricator

Fixed possible array out of bound access
ClosedPublic

Authored by AndreyChurbanov on Nov 27 2018, 6:41 AM.

Details

Summary

There is low probability that array th_hot_teams can be accessed out of bound (when many nested levels are requested to keep hot teams via KMP_HOT_TEAMS_MAX_LEVEL). The patch adds the check of index, that fixes the problem.

Diff Detail

Repository
rL LLVM

Event Timeline

This revision is now accepted and ready to land.Nov 27 2018, 11:58 AM
This revision was automatically updated to reflect the committed changes.