mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
aad360eb3d
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
7.8 KiB
7.8 KiB