Re: [libvirt PATCH v2 6/6] virDomainAudioSDLParse: 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 `bufferCount`. `bufferCount` does not benefit from being referable as e.g. "-7" for requesting 4294967289 buffers, as this value is distinctly o

[libvirt PATCH v2 6/6] virDomainAudioSDLParse: Use virXMLProp*

2021-04-27 Thread Tim Wiederhake
This strictens the parser to disallow negative values (interpreted as `UINT_MAX + value + 1`) for attribute `bufferCount`. `bufferCount` does not benefit from being referable as e.g. "-7" for requesting 4294967289 buffers, as this value is distinctly out of range for normal use. Signed-off-by: Ti