Skip to content

Fix crash when both --trace-expand --warn-uninitialized are passed to CMake

Artur Ryt requested to merge R2RT/cmake:fix-crash-trace-exp-uninit-vars into master

filename value was not checked for null in ExpandVariablesInStringNew, which seems to occur during CMake initialization for $ENV and system variables. They can be checked with --check-system-vars, so ignoring them here should be fine.

Detailed logs: #17896 (closed)

Merge request reports