diff options
| author | R2RT <artur.ryt@gmail.com> | 2018-04-08 20:56:44 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2018-04-09 15:59:07 (GMT) |
| commit | aad360eb3d07fc34048f3065e2d3617fa07f2932 (patch) | |
| tree | 8149a890d1e37916ab34deaeeedf9beb541c4fa5 /Tests/Tutorial/Step2/tutorial.cxx | |
| parent | 61fd4c742013a7f9139db190f936703b656540ff (diff) | |
| download | CMake-aad360eb3d07fc34048f3065e2d3617fa07f2932.zip CMake-aad360eb3d07fc34048f3065e2d3617fa07f2932.tar.gz CMake-aad360eb3d07fc34048f3065e2d3617fa07f2932.tar.bz2 | |
Fix crash with --trace-expand --warn-uninitialized together
Some code paths in `ExpandVariablesInString{New,Old}` were not checking
the `filename` parameter for a null pointer, but this can happen when
using the above flags together. Add the checks and a test case.
Fixes: #17896
Diffstat (limited to 'Tests/Tutorial/Step2/tutorial.cxx')
0 files changed, 0 insertions, 0 deletions
