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

2021-11-23 Thread Ján Tomko
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 furthe

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

2021-11-22 Thread Peter Krempa
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