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

Ján Tomko jtomko at redhat.com
Tue Apr 27 18:09:17 UTC 2021


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 Wiederhake <twiederh at redhat.com>
>---
> src/conf/domain_conf.c | 8 +++-----
> 1 file changed, 3 insertions(+), 5 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/20210427/cc3ef025/attachment-0001.sig>


More information about the libvir-list mailing list