Peter Krempa 98784369fd storage: Fix crash when parsing backing store URI with schema
The code that parses the schema from the URI touches the "hosts[0]"
member of the storage file source structure in case the URI contains a
schema. The hosts array was not yet allocated at the point in the code
where the transport protocol was parsed and set. This lead to a crash of
libvirtd.

Fix the code by allocating the "hosts" array upfront and add a test case
to verify this scenario. (Unfortunately this requires shuffling the test
case numbers too).

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1156288
2014-10-29 17:10:42 +01:00
..
2014-07-24 18:56:37 +04:00
2014-09-03 09:36:13 -06:00
2014-07-16 13:35:26 +02:00
2014-07-16 13:35:26 +02:00
2014-01-01 16:34:13 +00:00
2012-04-02 09:33:54 -06:00
2014-09-18 13:37:12 +04:00
2014-08-19 20:50:22 +04:00
2014-09-03 09:36:13 -06:00
2014-09-04 15:18:43 -06:00
2014-08-18 20:36:24 -06:00
2013-07-29 13:09:39 -06:00
2013-03-19 13:13:28 -06:00
2013-10-08 12:39:30 +01:00
2013-10-14 10:31:01 +01:00
2014-04-08 11:15:55 +01:00
2014-04-21 16:49:08 -06:00
2014-08-18 20:36:24 -06:00
2014-08-18 20:36:24 -06:00