On 01/16/2015 02:27 PM, Cédric Bosdonnat wrote:
Hi John,
Here is a possible fix for the coverity issue you mentioned. Since ipv6
addresses are too big to be converted to a single integer, I just looped
over the array... not sure that is the most elegant way to do it.
Cédric Bosdonnat (1):
Coverity fix: properly check for 0 ipv6 address.
src/util/virsocketaddr.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
I don't see the actual patch, but you can use the virSocketAddrIsWildcard
helper for the most elegant way.
Jan