Re: [PATCH 08/14] qapi: Fix to reject 'data': 'mumble' in struct

2023-03-16 Thread Markus Armbruster
Eric Blake writes: > On Thu, Mar 16, 2023 at 08:13:19AM +0100, Markus Armbruster wrote: >> A struct's 'data' must be a JSON object defining the struct's members. >> The QAPI code generator incorrectly accepts a JSON string instead, and >> then crashes in QAPISchema._make_members() called from >>

Re: [PATCH 08/14] qapi: Fix to reject 'data': 'mumble' in struct

2023-03-16 Thread Eric Blake
On Thu, Mar 16, 2023 at 08:13:19AM +0100, Markus Armbruster wrote: > A struct's 'data' must be a JSON object defining the struct's members. > The QAPI code generator incorrectly accepts a JSON string instead, and > then crashes in QAPISchema._make_members() called from > ._def_struct_type(). > > F