Eric Blake
2b045d39df
command: handle empty buffer argument correctly
...
virBufferContentAndReset (intentionally) returns NULL for a buffer
with no content, but it is feasible to invoke a command with an
explicit empty string.
* src/util/command.c (virCommandAddEnvBuffer): Reject empty string.
(virCommandAddArgBuffer): Allow explicit empty argument.
* tests/commandtest.c (test9): Test it.
* tests/commanddata/test9.log: Adjust.
2011-12-03 15:55:46 -07:00
..
2010-03-16 20:15:32 +01:00
2011-05-05 13:47:40 -06:00
2011-02-24 12:04:06 +00:00
2011-11-15 15:00:10 -05:00
2011-10-20 16:02:16 -06:00
2011-11-29 12:26:21 -07:00
2011-11-29 12:26:21 -07:00
2011-12-03 15:55:46 -07:00
2011-07-21 10:34:51 -06:00
2011-10-19 09:14:34 +01:00
2011-11-09 17:10:23 +00:00
2011-11-15 10:27:54 +00:00
2011-06-07 14:06:11 -04:00
2011-11-30 11:43:50 +00:00
2011-03-07 14:16:13 +00:00
2011-11-24 11:44:08 +01:00
2011-06-21 10:08:47 -04:00
2011-11-18 11:58:17 -05:00
2011-11-18 11:58:17 -05:00
2011-07-29 22:40:47 +08:00
2011-03-22 21:12:36 +08:00
2011-06-22 17:13:58 -06:00
2011-11-25 05:37:39 -07:00
2011-11-09 17:10:23 +00:00
2011-11-15 10:27:54 +00:00
2011-06-30 18:04:01 +01:00
2011-05-09 14:02:13 +02:00
2011-07-21 15:02:52 +08:00
2011-12-01 16:08:34 -07:00
2011-09-29 13:42:34 +02:00
2011-02-11 12:32:17 -07:00
2011-04-25 10:20:18 -06:00
2011-06-23 11:54:11 -04:00
2011-06-23 11:54:11 -04:00
2011-10-30 13:00:06 +08:00
2011-10-30 13:00:06 +08:00
2011-11-18 16:00:31 -07:00
2011-04-05 09:14:59 +02:00
2011-07-21 10:34:51 -06:00
2011-11-30 11:05:13 +01:00
2011-07-14 16:39:42 +02:00
2011-10-20 16:02:16 -06:00
2011-10-20 16:02:16 -06:00
2011-09-07 14:23:26 +02:00
2011-09-05 18:14:08 +02:00
2011-11-04 16:43:37 -06:00
2011-04-25 08:53:09 -06:00
2011-04-25 08:53:09 -06:00
2011-04-25 08:53:09 -06:00
2011-04-25 08:53:09 -06:00
2011-11-30 11:43:50 +00:00
2011-11-30 11:43:50 +00:00
2011-10-28 08:54:34 -06:00
2011-10-13 12:23:37 -06:00
2011-07-21 10:34:51 -06:00
2011-07-12 07:24:43 -06:00
2011-10-27 20:11:24 +02:00
2011-10-27 20:11:24 +02:00
2011-08-26 14:18:57 +01:00
2011-08-26 14:18:57 +01:00
2011-07-21 15:57:47 +08:00
2011-12-03 13:03:44 -07:00
2011-11-18 16:10:02 +00:00
2011-11-29 14:26:14 +01:00
2011-11-15 10:27:54 +00:00
2011-12-03 13:03:44 -07:00
2011-11-09 16:34:25 +00:00
2011-11-30 16:57:08 -07:00
2011-11-18 16:10:37 +00:00
2011-11-15 10:27:54 +00:00
2011-11-09 16:34:25 +00:00
2011-11-15 10:28:02 +00:00
2011-11-15 10:28:02 +00:00
2011-11-23 12:29:37 +00:00
2011-11-18 16:10:01 +00:00
2011-11-30 10:12:30 +00:00
2011-11-30 10:12:29 +00:00
2011-09-27 10:16:46 +02:00
2011-08-12 20:37:00 +01:00
2011-11-15 10:27:54 +00:00
2011-11-15 10:27:54 +00:00
2011-07-14 07:51:30 -06:00
2011-11-22 11:31:22 +08:00
2011-12-01 13:28:44 +00:00
2011-11-30 11:43:49 +00:00
2011-10-27 20:13:06 +02:00
2011-10-27 20:13:06 +02:00