Skip to content

Commit

Permalink
Merge branch 'fixrelease' into 'master'
Browse files Browse the repository at this point in the history
Fix Out of Bounds Memory Access in Replication

See merge request StanfordLegion/legion!1181
  • Loading branch information
rainmakereuab committed Mar 21, 2024
2 parents 4b0e746 + fc7eb50 commit 92afef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/legion/legion_tasks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4068,7 +4068,7 @@ namespace Legion {
}
// Construct the collective mapping
std::vector<AddressSpaceID> spaces(output.target_processors.size()+1);
for (unsigned idx = 0; idx < spaces.size(); idx++)
for (unsigned idx = 0; idx < output.target_processors.size(); idx++)
spaces[idx] = output.target_processors[idx].address_space();
// Make sure we include our local space too
spaces.back() = runtime->address_space;
Expand Down

0 comments on commit 92afef3

Please sign in to comment.