The gets function has no SrcArgs. Because the default value for isTainted was false, it didn't mark its DstArgs as tainted.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Paths
| Differential D58828
[analyzer] Fix taint propagation in GenericTaintChecker ClosedPublic Authored by boga95 on Mar 1 2019, 6:58 AM.
Details Summary The gets function has no SrcArgs. Because the default value for isTainted was false, it didn't mark its DstArgs as tainted.
Diff Detail
Event TimelineHerald added subscribers: cfe-commits, Charusso, dkrupp and 7 others. · View Herald TranscriptMar 1 2019, 6:58 AM This revision is now accepted and ready to land.Mar 1 2019, 12:22 PM Closed by commit rC355396: [analyzer] Fix taint propagation in GenericTaintChecker (authored by Szelethus). · Explain WhyMar 5 2019, 4:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 189302 lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
test/Analysis/taint-generic.c
|