Re: [Qemu-devel] [PATCH 44/56] json: Fix latent parser aborts at end of input

2018-08-16 Thread Markus Armbruster
Eric Blake writes: > On 08/08/2018 07:03 AM, Markus Armbruster wrote: >> json-parser.c carefully reports end of input like this: >> >> token = parser_context_pop_token(ctxt); >> if (token == NULL) { >> parse_error(ctxt, NULL, "premature EOI"); >> goto out; >> } > > Are th

Re: [Qemu-devel] [PATCH 44/56] json: Fix latent parser aborts at end of input

2018-08-16 Thread Eric Blake
On 08/08/2018 07:03 AM, Markus Armbruster wrote: json-parser.c carefully reports end of input like this: token = parser_context_pop_token(ctxt); if (token == NULL) { parse_error(ctxt, NULL, "premature EOI"); goto out; } Are the TABs in the commit message intentio