Re: [Qemu-devel] [PATCH v9 06/27] qapi: Test failure in middle of array parse

2015-11-04 Thread Markus Armbruster
Eric Blake writes: > Our generated list visitors have the same problem as has been > mentioned elsewhere (see commit 2f52e20): they allocate data > even on failure. An upcoming patch will correct things to > provide saner guarantees, but first we need to expose the > behavior in the testsuite to

[Qemu-devel] [PATCH v9 06/27] qapi: Test failure in middle of array parse

2015-11-03 Thread Eric Blake
Our generated list visitors have the same problem as has been mentioned elsewhere (see commit 2f52e20): they allocate data even on failure. An upcoming patch will correct things to provide saner guarantees, but first we need to expose the behavior in the testsuite to ensure we aren't introducing an