John Ferlan
52e90b22cc
virutil: Resolve Coverity RESOURCE_LEAK
...
This ends up being a very bizarre false positive. With an assist from
eblake, the claim is that mgetgroups() could return a -1 value, but yet
still have a groups buffer allocated, yet the example shown doesn't
seem to prove that.
Rather than fret about it, by adding a well placed sa_assert() on the
returned *list value we can "assure" ourselves that the mgetgroups()
failure path won't signal this condition.
Signed-off-by: John Ferlan <jferlan@redhat.com>
2014-09-12 06:12:50 -04:00
..
2014-03-25 14:58:40 +01:00
2014-09-04 14:34:03 -06:00
2014-07-16 06:48:53 -06:00
2014-03-18 14:29:22 +00:00
2014-06-20 15:46:52 +02:00
2014-03-10 14:26:04 +01:00
2014-05-05 14:30:01 -06:00
2014-05-05 14:30:01 -06:00
2014-03-25 14:58:40 +01:00
2014-03-25 14:58:40 +01:00
2014-08-12 17:04:31 +02:00
2014-07-29 12:00:42 +01:00
2014-09-04 14:34:03 -06:00
2014-08-23 14:29:24 -06:00
2014-09-03 15:00:19 -04:00
2014-07-23 15:12:37 +08:00
2014-04-07 06:14:45 -06:00
2014-09-03 15:39:15 +02:00
2014-09-03 05:58:15 -06:00
2014-03-19 10:47:58 +00:00
2014-07-03 10:48:14 +02:00
2014-02-12 17:52:46 +00:00
2014-03-12 16:01:30 -06:00
2014-03-10 16:39:18 +00:00
2014-09-04 14:34:03 -06:00
2014-05-06 11:22:13 -04:00
2014-03-21 11:26:34 +00:00
2014-08-20 14:50:21 +02:00
2014-04-25 15:44:09 +01:00
2014-03-11 11:01:52 +00:00
2014-06-26 00:43:54 +02:00
2014-05-21 09:33:24 -04:00
2014-03-18 14:29:22 +00:00
2014-07-09 10:22:51 +02:00
2014-03-10 14:26:04 +01:00
2014-09-11 08:03:37 -04:00
2014-07-29 11:25:16 +01:00
2014-04-30 08:51:29 +02:00
2014-04-28 14:27:40 +01:00
2014-04-25 15:44:09 +01:00
2014-04-07 06:14:45 -06:00
2014-04-07 06:14:45 -06:00
2014-03-20 17:16:18 +01:00
2014-05-05 14:30:01 -06:00
2014-07-24 07:04:44 -04:00
2014-03-19 10:05:31 +01:00
2014-03-25 14:58:40 +01:00
2014-03-25 14:58:40 +01:00
2014-05-05 14:30:01 -06:00
2014-04-25 15:44:09 +01:00
2014-04-25 15:44:09 +01:00
2014-03-25 14:58:40 +01:00
2014-03-25 08:26:39 +01:00
2014-06-17 08:51:41 +02:00
2014-06-17 08:51:41 +02:00
2013-12-24 17:36:47 +01:00
2013-12-24 17:36:47 +01:00
2014-04-07 06:14:45 -06:00
2014-03-25 14:58:40 +01:00
2014-02-04 08:52:27 -05:00
2014-03-25 14:58:40 +01:00
2014-03-25 17:13:27 -04:00
2014-03-18 14:29:22 +00:00
2014-09-04 15:18:43 -06:00
2014-06-11 09:57:39 +02:00
2014-08-22 12:35:39 +02:00
2014-01-29 19:01:19 +01:00
2014-03-25 14:58:40 +01:00
2014-09-04 15:18:43 -06:00
2014-09-02 13:34:32 +02:00
2014-07-14 12:49:30 +02:00
2014-06-23 14:16:23 +02:00
2014-03-27 08:23:58 +04:00
2014-04-08 13:46:29 +01:00
2014-09-04 14:34:03 -06:00
2014-05-05 14:30:01 -06:00
2014-05-20 11:21:00 +03:00
2014-04-14 18:19:36 +02:00
2014-08-20 16:15:00 +02:00
2014-07-16 20:15:45 +02:00
2014-04-07 06:14:45 -06:00
2014-04-07 06:14:45 -06:00
2014-09-04 14:34:03 -06:00
2014-07-28 14:10:29 -06:00
2014-03-25 14:58:40 +01:00
2014-03-17 10:04:47 -06:00
2014-09-11 15:40:14 -06:00
2014-09-11 15:40:14 -06:00
2014-03-18 14:29:22 +00:00
2014-09-11 15:16:02 +02:00
2014-03-03 12:40:31 -07:00
2014-04-08 13:46:29 +01:00
2014-06-23 14:16:23 +02:00
2014-03-04 12:24:13 +00:00
2014-07-14 05:44:20 -04:00
2014-07-11 10:36:02 +02:00
2014-07-21 15:20:59 +02:00
2014-09-04 14:34:03 -06:00
2014-08-02 20:52:34 -06:00
2014-07-15 22:00:59 +04:00
2014-08-20 14:50:21 +02:00
2014-06-20 09:14:46 +02:00
2014-09-12 09:37:37 +02:00
2014-09-12 09:37:37 +02:00
2014-09-11 08:10:13 -04:00
2014-07-21 15:20:59 +02:00
2014-07-03 10:48:14 +02:00
2014-05-05 14:30:01 -06:00
2014-07-03 10:48:14 +02:00
2014-04-11 15:51:10 -06:00
2014-03-25 14:58:40 +01:00
2014-04-08 13:46:29 +01:00
2014-03-25 14:58:40 +01:00
2014-07-25 12:06:07 +02:00
2014-07-25 12:06:07 +02:00
2014-03-25 14:58:40 +01:00
2014-09-04 15:18:43 -06:00
2014-09-04 14:34:03 -06:00
2014-07-03 10:41:15 +02:00
2014-03-04 12:24:13 +00:00
2014-09-12 06:12:50 -04:00
2014-09-09 15:14:24 +02:00
2014-03-20 17:16:18 +01:00
2014-01-02 22:17:11 -07:00
2014-07-09 10:09:00 +02:00
2014-03-10 14:26:04 +01:00