From 62313d93480f2631ea82664c790fd01875b850a6 Mon Sep 17 00:00:00 2001 From: Bhargava Shastry Date: Fri, 27 Dec 2019 17:50:49 +0100 Subject: xml proto converter: Fix ossfuzz issue 19507 (no return value). (#3167) --- projects/xerces-c/xmlProtoConverter.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'projects/xerces-c/xmlProtoConverter.h') diff --git a/projects/xerces-c/xmlProtoConverter.h b/projects/xerces-c/xmlProtoConverter.h index a6333f1b3..501dde36c 100644 --- a/projects/xerces-c/xmlProtoConverter.h +++ b/projects/xerces-c/xmlProtoConverter.h @@ -89,6 +89,11 @@ private: void visit(XmlDocument const&); + template + bool isValid(T const& messageType) { + return T::Type_IsValid(messageType.type()); + } + std::string removeNonAscii(std::string const&); std::string getUri(Element_Id _x); std::string getPredefined(Element_Id _x, std::string const&); -- cgit v1.2.3