John Ferlan
dfb18b0afb
tools: Fix comparison in virLoginShellGetShellArgv
...
Commit id '740e4d70' altered the logic to fetch the sysconf values and
added a new virConfGetValueStringList which returns -1 on failure, 0 if
missing, and 1 if the value was present.
However, the caller only checked !shargv which caught Coverity's attention
since the following VIR_ALLOC_N(*shargv, 2) would be a NULL ptr deref
Signed-off-by: John Ferlan <jferlan@redhat.com>
2016-07-19 07:51:10 -04:00
..
2016-06-24 14:20:57 +02:00
2016-01-12 11:30:08 -05:00
2016-01-11 15:49:13 +01:00
2015-11-18 08:15:12 +01:00
2015-05-12 08:53:14 +02:00
2016-04-25 18:56:48 +02:00
2015-08-14 15:45:44 +02:00
2015-08-14 15:45:44 +02:00
2016-07-11 14:00:51 +02:00
2015-08-14 15:45:44 +02:00
2016-06-22 15:54:21 +02:00
2015-08-14 15:45:44 +02:00
2016-04-25 13:27:16 +02:00
2016-01-11 18:14:01 -05:00
2015-08-14 15:45:44 +02:00
2016-06-16 09:38:41 -04:00
2015-08-14 15:45:44 +02:00
2016-01-11 18:14:00 -05:00
2016-01-11 18:14:00 -05:00
2015-08-14 15:45:44 +02:00
2016-06-24 18:26:11 +01:00
2015-08-14 15:45:44 +02:00
2016-05-16 12:58:48 +02:00
2016-01-11 18:14:00 -05:00
2016-05-04 10:03:04 +02:00
2015-08-14 15:45:44 +02:00
2016-06-20 18:16:33 +02:00
2016-03-01 06:50:16 -05:00
2016-07-11 14:00:51 +02:00
2016-07-19 13:27:45 +02:00
2015-12-21 10:07:59 +01:00
2016-05-19 12:31:53 +02:00
2016-05-04 16:30:30 +02:00
2016-05-11 09:06:32 +02:00
2016-03-30 09:41:54 +02:00
2016-05-11 09:06:32 +02:00
2016-06-14 08:02:45 +03:00
2016-05-11 09:06:32 +02:00
2016-04-25 15:40:43 +02:00
2016-04-25 15:40:44 +02:00
2016-07-19 07:51:10 -04:00
2016-06-10 11:03:02 +01:00
2016-06-10 11:03:02 +01:00
2016-04-25 15:40:43 +02:00
2016-04-25 15:40:44 +02:00
2016-04-25 15:40:43 +02:00
2016-04-25 15:40:44 +02:00
2016-04-25 15:40:43 +02:00
2016-04-25 15:40:44 +02:00
2016-07-11 08:48:05 +02:00
2016-06-21 18:07:25 +02:00