summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/list/TRANSFORM-Selector-FOR-BackwardsRange-result.txt
diff options
context:
space:
mode:
authorNick Muggio <nick@mugg.io>2021-12-09 01:54:04 (GMT)
committerNick Muggio <nick@mugg.io>2021-12-09 01:54:04 (GMT)
commit7dd3e99270431cace5086c62f4ee73441b9edc5e (patch)
tree2d1dda5d74af6f6e2a25377ae69c92cea86d5bd9 /Tests/RunCMake/list/TRANSFORM-Selector-FOR-BackwardsRange-result.txt
parenta54f18ff36f0dc47d565c111785515bc5e287c24 (diff)
downloadCMake-7dd3e99270431cace5086c62f4ee73441b9edc5e.zip
CMake-7dd3e99270431cace5086c62f4ee73441b9edc5e.tar.gz
CMake-7dd3e99270431cace5086c62f4ee73441b9edc5e.tar.bz2
cmListCommand: Handle invalid FOR selector ranges
Fixes crashes involving invalid ranges specified in list(TRANSFORM ... FOR ...) calls. * Report error when step is not positive * Report error when start is after stop Fixes: #22985
Diffstat (limited to 'Tests/RunCMake/list/TRANSFORM-Selector-FOR-BackwardsRange-result.txt')
-rw-r--r--Tests/RunCMake/list/TRANSFORM-Selector-FOR-BackwardsRange-result.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/list/TRANSFORM-Selector-FOR-BackwardsRange-result.txt b/Tests/RunCMake/list/TRANSFORM-Selector-FOR-BackwardsRange-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/list/TRANSFORM-Selector-FOR-BackwardsRange-result.txt
@@ -0,0 +1 @@
+1