Re: [libvirt PATCH v2 3/6] virDomainFeaturesDefParse: Use virXMLPropUInt

2021-04-27 Thread Ján Tomko
On a Tuesday in 2021, Tim Wiederhake wrote: This strictens the parser to disallow negative values (interpreted as `UINT_MAX + value + 1`) for attribute `retries`. UINT_MAX holds no special significance for this attribute and is distinctly out of range for normal use. Signed-off-by: Tim Wiederhak

[libvirt PATCH v2 3/6] virDomainFeaturesDefParse: Use virXMLPropUInt

2021-04-27 Thread Tim Wiederhake
This strictens the parser to disallow negative values (interpreted as `UINT_MAX + value + 1`) for attribute `retries`. UINT_MAX holds no special significance for this attribute and is distinctly out of range for normal use. Signed-off-by: Tim Wiederhake --- src/conf/domain_conf.c | 8 +++- 1