summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-25 13:09:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-25 13:09:37 (GMT)
commit40628b2519ae1553a33f701cf46ee8fbbd013b85 (patch)
tree7355225a83e125ce7b650967b6798b4ebbf8739a /Help/release
parent24b6e4830d9027e63db7dfafa500aaeb652d3a4c (diff)
parenta6982cff0d3910723ad4fd40b9c63cf77c872d30 (diff)
downloadCMake-40628b2519ae1553a33f701cf46ee8fbbd013b85.zip
CMake-40628b2519ae1553a33f701cf46ee8fbbd013b85.tar.gz
CMake-40628b2519ae1553a33f701cf46ee8fbbd013b85.tar.bz2
Merge topic 'max-recursion-depth'
a6982cff0d cmMakefile: Impose maximum recursion limit Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Juraj Oršulić <juraj.orsulic@fer.hr> Merge-request: !2746
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/max-recursion-depth.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/max-recursion-depth.rst b/Help/release/dev/max-recursion-depth.rst
new file mode 100644
index 0000000..3d9c781
--- /dev/null
+++ b/Help/release/dev/max-recursion-depth.rst
@@ -0,0 +1,6 @@
+max-recursion-depth
+-------------------
+
+* CMake now imposes a maximum recursion limit to prevent a stack overflow on
+ scripts that recurse infinitely. The limit can be adjusted at runtime with
+ :variable:`CMAKE_MAXIMUM_RECURSION_DEPTH`.