This is to prevent the fuzzers from running out of memory.
Add regess to verify check_pattern() via sudo_regex_compile().