mirror of https://github.com/google/oss-fuzz.git
Fix muparser (#9006)
The recent versions of muparser are using `mu::ParserError`. Co-authored-by: Julien Voisin <jvoisin@google.com>
This commit is contained in:
parent
3ff681232d
commit
31f6eba0c2
|
@ -26,8 +26,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||
parser.SetExpr(line_string);
|
||||
parser.Eval();
|
||||
} catch (mu::Parser::exception_type &e) {
|
||||
// Skip logging errors to avoid log spam.
|
||||
// std::cout << e.GetMsg() << std::endl;
|
||||
} catch (mu::ParserError &e) {
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue