Fix windows symbol converter blacklisting.

- Was attempting "full match" when we meant to do "partial match".

Change-Id: Ia748a7fc8707e11f44c205e57f218f5f4bbc5612
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1676936
Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
diff --git a/src/tools/windows/converter_exe/converter.cc b/src/tools/windows/converter_exe/converter.cc
index 9418eca..df87c7b 100644
--- a/src/tools/windows/converter_exe/converter.cc
+++ b/src/tools/windows/converter_exe/converter.cc
@@ -276,11 +276,12 @@
 // external request unless the symbol file's debug_file string matches

 // the given blacklist regular expression.

 // The debug_file name is used from the MissingSymbolInfo struct,

-// matched against the PCRE blacklist_regex.

+// matched against the blacklist_regex.

 static bool SafeToMakeExternalRequest(const MissingSymbolInfo &missing_info,

                                       std::regex blacklist_regex) {

   string file_name = missing_info.debug_file;

-  if (std::regex_match(file_name, blacklist_regex)) {

+  // Use regex_search because we want to match substrings.

+  if (std::regex_search(file_name, blacklist_regex)) {

     FprintfFlush(stderr, "Not safe to make external request for file %s\n",

                  file_name.c_str());

     return false;