On Tue, Oct 22, 2024 at 10:27:53 +0100, Daniel P. Berrangé wrote:
The libxml2 error handling gets the filename from a libxml2 struct,
but
it is better to not assume libxml2 knows the filename being parsed, as
we might have simply provided it a pre-loaded string.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/util/virxml.c | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>