Re: [PATCH v2 2/3] util/xml: don't assume libxml2 has the filename of the document

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  src/util/virxml.c | 17 +++++++++++------
>  1 file changed, 11 insertions(+), 6 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux