[PATCH 12/12] util: xml: Remove virXMLPropStringLimit and virXPathStringLimit

Ján Tomko jtomko at redhat.com
Tue Nov 23 14:37:46 UTC 2021


On a Monday in 2021, Peter Krempa wrote:
>The functions have very difficult semantics where callers are not able
>to tell whether the property is missing or failed the length check. Only
>the latter produces errors.
>
>Since usage of the functions was phased out, remove them completely to
>avoid further broken code.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/libvirt_private.syms |  2 --
> src/util/virxml.c        | 62 ----------------------------------------
> src/util/virxml.h        |  8 ------
> 3 files changed, 72 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211123/b91f243f/attachment-0001.sig>


More information about the libvir-list mailing list