diff options
author | Brad King <brad.king@kitware.com> | 2017-01-16 15:37:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-01-16 15:47:32 (GMT) |
commit | 2bba0bfc2c113a1ec94802ecfb8a836a385f919b (patch) | |
tree | 46ff211bbbc0920565d7f752927a849c42585b1d /Tests/RunCMake/pseudo_tidy.c | |
parent | 85a8939e2fc7eb2715a9264fd40c009c3a98cb8b (diff) | |
download | CMake-2bba0bfc2c113a1ec94802ecfb8a836a385f919b.zip CMake-2bba0bfc2c113a1ec94802ecfb8a836a385f919b.tar.gz CMake-2bba0bfc2c113a1ec94802ecfb8a836a385f919b.tar.bz2 |
file: Fix crash on GLOB with no expressions after LIST_DIRECTORIES
Since commit v3.3.0-rc1~318^2~1 (file: Teach GLOB to list directories
optionally, 2015-03-17) using `LIST_DIRECTORIES` followed by no
expression causes a crash. Fix the logic to avoid the crash.
Fixes: #16565
Diffstat (limited to 'Tests/RunCMake/pseudo_tidy.c')
0 files changed, 0 insertions, 0 deletions