John Ferlan 03876cf506 nss: Need to check error condition on virJSONValueArraySize
If the 'nleases < 0' on return, then the subsequent call to
findLeaseInJSON will not produce the expected results (passed
in as a size_t, but nleases is a ssize_t).  So check if the
returned value < 0 and if so, goto cleanup.

Found by Coverity as a NEGATIVE_RETURNS event
2016-12-08 14:58:31 -05:00
..
2016-08-01 12:02:51 +02:00
2016-12-02 09:25:13 +01:00
2016-08-24 17:43:29 +02:00
2016-09-14 13:18:07 +02:00
2016-04-25 15:40:44 +02:00
2016-04-25 15:40:44 +02:00
2016-04-25 15:40:44 +02:00
2016-04-25 15:40:44 +02:00