The check for some of the builtin functions involves checking if the number
of the parameter is zero and the first parameter is a pointer type. This check
either returns false or an out-of-bound memory access.
rdar://problem/26424030
Paths
| Differential D20543
Fix a suspicious check in TargetLibraryInfo ClosedPublic Authored by ab on May 23 2016, 2:52 PM.
Details Summary The check for some of the builtin functions involves checking if the number rdar://problem/26424030
Diff Detail Event Timelinesteven_wu updated this object. ab edited edge metadata. Comment ActionsLooks good, but can you test the other changed functions? If you'd like, I can take care of it. This revision now requires changes to proceed.May 25 2016, 7:58 AM This revision is now accepted and ready to land.May 25 2016, 1:27 PM Closed by commit rL270750: [TLI] Fix NumParams==0 prototype checking typo. (authored by ab). · Explain WhyMay 25 2016, 1:29 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 58157 lib/Analysis/TargetLibraryInfo.cpp
test/Transforms/InferFunctionAttrs/annotate.ll
|