MBB.back() could segfault if MBB.empty(). Fixed by checking for MBB.empty() in the loop.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
@craig.topper Anyone else I should add as a reviewer? Or can we just go ahead and merge?
Differential D77584
[X86] Fix to X86LoadValueInjectionRetHardeningPass for possible segfault sconstab on Apr 6 2020, 1:29 PM. Authored by
Details MBB.back() could segfault if MBB.empty(). Fixed by checking for MBB.empty() in the loop.
Diff Detail Event TimelineComment Actions @craig.topper Anyone else I should add as a reviewer? Or can we just go ahead and merge? |