This is an archive of the discontinued LLVM Phabricator instance.

[clang][Tooling] Fix potential UB in ExpandResponseFilesCompilationDatabase
ClosedPublic

Authored by lh123 on Dec 8 2019, 1:30 AM.

Diff Detail

Event Timeline

lh123 created this revision.Dec 8 2019, 1:30 AM

Build result: pass - 60602 tests passed, 0 failed and 726 were skipped.

Log files: console-log.txt, CMakeCache.txt

sammccall accepted this revision.Dec 9 2019, 12:17 AM

Thanks!
Might be worth a comment like "don't assign directly, Argv aliases CommandLine" or so

This revision is now accepted and ready to land.Dec 9 2019, 12:17 AM
lh123 updated this revision to Diff 232770.Dec 9 2019, 1:29 AM

Address comments.

lh123 updated this revision to Diff 232771.Dec 9 2019, 1:31 AM

@sammccall Could you commit this, I don't have commit access.

Build result: pass - 60606 tests passed, 0 failed and 726 were skipped.

Log files: console-log.txt, CMakeCache.txt

Build result: pass - 60606 tests passed, 0 failed and 726 were skipped.

Log files: console-log.txt, CMakeCache.txt

This revision was automatically updated to reflect the committed changes.