]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu-ga: Add 'Null' check and Redefine 'route'
authorDehan Meng <demeng@redhat.com>
Thu, 7 Nov 2024 10:21:53 +0000 (12:21 +0200)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Thu, 7 Nov 2024 10:28:20 +0000 (12:28 +0200)
commit32bd9e206e04111ac3bb4fabdb215060ee1076e1
treee76c51f69db05ba54707847f45ded54c2f72fdd1
parentf15f7273ea55472d5904c53566c82369d81214c1
qemu-ga: Add 'Null' check and Redefine 'route'

sscanf return values are checked and add 'Null' check for
mandatory parameters. And merged redundant route and
networkroute variables.

Signed-off-by: Dehan Meng <demeng@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Message-ID: <20241107102155.57573-2-kkostiuk@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
qga/commands-linux.c