Dr. David Alan Gilbert
c19f2b711e
test qgraph.c: Fix segs due to out of scope default
...
The test uses the trick:
if (!opts) {
opts = &(QOSGraph...Options) { };
}
in a couple of places, however the temporary created
by the &() {} goes out of scope at the bottom of the if,
and results in a seg or assert when opts-> fields are
used (on fedora 30's gcc 9).
Fixes: fc281c802022cb3a73a5
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190405184037.16799-1-dgilbert@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2019-04-08 12:38:07 +02:00
..
2019-03-07 17:28:25 +01:00
2019-03-07 16:50:04 +01:00
2018-06-25 16:50:48 -04:00
2019-03-07 17:28:25 +01:00
2019-03-07 17:28:25 +01:00
2019-03-07 17:28:25 +01:00
2019-03-07 17:28:26 +01:00
2019-03-07 17:28:25 +01:00
2019-03-07 17:28:26 +01:00
2019-03-07 17:28:26 +01:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:41 +01:00
2016-02-16 14:29:27 +00:00
2018-06-08 13:15:32 +01:00
2019-03-07 17:28:07 +01:00
2016-07-12 16:20:46 +02:00
2019-03-07 17:28:07 +01:00
2016-09-23 10:29:40 +10:00
2019-03-12 07:40:59 +01:00
2019-03-12 07:40:59 +01:00
2019-03-07 17:28:07 +01:00
2019-03-07 17:28:07 +01:00
2019-03-07 17:28:07 +01:00
2019-03-07 17:28:07 +01:00
2019-03-07 17:28:07 +01:00
2019-03-07 17:28:07 +01:00
2019-04-08 12:38:07 +02:00
2019-03-07 17:28:24 +01:00
2019-04-08 12:38:07 +02:00
2019-03-07 17:28:25 +01:00
2019-03-07 17:28:26 +01:00
2019-03-07 17:28:26 +01:00
2019-03-07 17:28:26 +01:00
2019-03-07 17:28:24 +01:00
2019-04-08 12:38:07 +02:00
2019-03-07 17:28:24 +01:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:41 +01:00
2019-03-07 17:28:25 +01:00
2019-03-07 17:28:25 +01:00
2019-03-07 17:28:46 +01:00
2018-08-16 08:42:06 +02:00
2018-08-16 08:42:06 +02:00
2019-03-07 17:28:27 +01:00
2019-03-07 17:28:27 +01:00
2019-03-07 17:28:27 +01:00
2019-03-07 17:28:27 +01:00
2019-03-07 17:28:27 +01:00
2019-03-07 17:28:27 +01:00
2019-03-07 17:28:26 +01:00
2019-03-07 17:28:26 +01:00
2019-03-07 17:28:42 +01:00
2019-03-07 17:28:42 +01:00
2019-03-07 17:28:45 +01:00
2019-03-07 17:28:45 +01:00
2019-03-07 17:28:27 +01:00
2019-03-07 17:28:27 +01:00
2019-03-07 17:28:42 +01:00
2019-03-07 17:28:42 +01:00
2019-03-07 17:28:27 +01:00
2019-03-07 17:28:27 +01:00
2019-03-07 17:28:45 +01:00
2019-03-07 17:28:45 +01:00
2019-03-07 17:28:25 +01:00