[libvirt] [PATCH 0/2] Reject negative storage size

Martin Kletzander mkletzan at redhat.com
Mon Mar 27 14:51:20 UTC 2017


On Mon, Mar 27, 2017 at 02:42:06PM +0200, Ján Tomko wrote:
>https://bugzilla.redhat.com/show_bug.cgi?id=1436119
>

Who would even!...

>Ján Tomko (2):
>  storage: reject negative capacity
>  virsh: reject more negative numbers
>

Some of these are parsing data gotten from libvirt, so it's not
preventing user input, but why couldn't they be checking the values,
right?

ACK "series" =)

> src/conf/storage_conf.c |  2 +-
> tools/virsh-domain.c    | 22 +++++++++++-----------
> tools/virsh-host.c      |  6 +++---
> tools/virsh-volume.c    |  2 +-
> 4 files changed, 16 insertions(+), 16 deletions(-)
>
>--
>2.10.2
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170327/ca27b5f7/attachment-0001.sig>


More information about the libvir-list mailing list