diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2023-02-10 06:16:12 -0800 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-02-13 13:30:06 -0500 |
commit | 4d7a72b6db181f09034051ef703e151607784ea8 (patch) | |
tree | 5938ceae985bfeb83da9123b9494eb69a081eeef /mesonbuild/interpreter/interpreterobjects.py | |
parent | ce62190b17e136c5b6810d3360b2cd71d0756920 (diff) | |
download | meson-4d7a72b6db181f09034051ef703e151607784ea8.zip meson-4d7a72b6db181f09034051ef703e151607784ea8.tar.gz meson-4d7a72b6db181f09034051ef703e151607784ea8.tar.bz2 |
cmake: check that `re.search` returned a non-None value
If an re call fails to find a match it returns None. We're not checking
that, and crashing.
Fixes: #11376
Diffstat (limited to 'mesonbuild/interpreter/interpreterobjects.py')
0 files changed, 0 insertions, 0 deletions