mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 03:57:47 +03:00
XML: Remove error messages from stderr
This commit is contained in:
@@ -99,6 +99,9 @@ bool XML::processChunk(const char *buf, unsigned int size,
|
||||
error->assign("XML: Failed to create parsing context.");
|
||||
return false;
|
||||
}
|
||||
|
||||
xmlSetGenericErrorFunc(m_data.parsing_ctx, null_error);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user