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

Ján Tomko jtomko at redhat.com
Tue Apr 27 18:23:47 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 `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: Tim Wiederhake <twiederh at redhat.com>
>---
> src/conf/domain_conf.c | 10 ++--------
> 1 file changed, 2 insertions(+), 8 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/a4c2f74f/attachment-0001.sig>


More information about the libvir-list mailing list