From 363baa34aa633453defa716603fa7b76a145fb5f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 6 Sep 2014 23:45:09 -0400 Subject: [PATCH] Parser - Added disqualifier characters for UUID lists. --- src/Parser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Parser.cpp b/src/Parser.cpp index 43e94ab23..acb027f86 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -1469,6 +1469,10 @@ void Parser::findUUIDList () if (! (*i)->hasTag ("?")) continue; + // Easy disqualifiers. + if (raw.find_first_not_of ("0123456789abcdefABCDEF-") != std::string::npos) + break; + Nibbler n (raw); std::vector uuidList; std::string uuid;