On Fri, Sep 01, 2017 at 01:55:00PM +0200, Juan Quintela wrote: > Just make sure that nr_tables is size_t not int. > Once there, do the assert in the right place and be sure that we don't > have a division by zero. > > Suggested-by: Cédric Le Goater <[email protected]> > Signed-off-by: Juan Quintela <[email protected]> > Tested-by: Cleber Rosa <[email protected]>
Reviewed-by: Daniel P. Berrange <[email protected]> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
