This is an archive of the discontinued LLVM Phabricator instance.

[StackProtector] Fix crash with vararg due to not checking LocationSize validity.
ClosedPublic

Authored by aemerson on Sep 2 2020, 11:21 PM.

Diff Detail

Event Timeline

aemerson created this revision.Sep 2 2020, 11:21 PM
aemerson requested review of this revision.Sep 2 2020, 11:21 PM
efriedma accepted this revision.Sep 2 2020, 11:44 PM
efriedma added a subscriber: efriedma.

LGTM.

clang basically never generates va_arg, but I guess it's relevant for other frontends.

This revision is now accepted and ready to land.Sep 2 2020, 11:44 PM