Re: [libvirt PATCH v2 2/6] virDomainSoundDefParseXML: Use virXMLProp*

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 `id`. `id` must be greater than 0 and does not benefit from being referable as e.g. "-7" for host audio backend 4294967289, as this value is dis

[libvirt PATCH v2 2/6] virDomainSoundDefParseXML: Use virXMLProp*

2021-04-27 Thread Tim Wiederhake
This strictens the parser to disallow negative values (interpreted as `UINT_MAX + value + 1`) for attribute `id`. `id` must be greater than 0 and does not benefit from being referable as e.g. "-7" for host audio backend 4294967289, as this value is distinctly out of range for normal use. Addition