This is an archive of the discontinued LLVM Phabricator instance.

Fix get_groups interceptor in sanitizer
ClosedPublic

Authored by marxin on Mar 24 2017, 7:54 AM.

Details

Summary

Hello.

As mentioned in the GCC bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80166

wrongly fails when size == 0 or when a negative number.

Diff Detail

Repository
rL LLVM

Event Timeline

marxin created this revision.Mar 24 2017, 7:54 AM
marxin added a subscriber: kcc.
kcc accepted this revision.Mar 24 2017, 2:36 PM
kcc added a reviewer: eugenis.
kcc added a subscriber: llvm-commits.

LGTM, thanks!

This revision is now accepted and ready to land.Mar 24 2017, 2:36 PM

Can you please commit the patch as I don't have write access?

kcc closed this revision.Mar 29 2017, 4:12 PM

r299036.

Next time, please make your patches from llvm/projects/compiler-rt dir, not from llvm/projects