On 10/17/18 2:15 AM, Greg Kurz wrote:
On Tue, 16 Oct 2018 19:41:28 +0200
Markus Armbruster wrote:
Calling error_report() in a function that takes an Error ** argument
is suspicious. 9p-handle.c's handle_parse_opts() does that, and then
fails without setting an error. Wrong. Its caller crash
Greg Kurz writes:
> On Tue, 16 Oct 2018 19:41:28 +0200
> Markus Armbruster wrote:
>
>> Calling error_report() in a function that takes an Error ** argument
>> is suspicious. 9p-handle.c's handle_parse_opts() does that, and then
>> fails without setting an error. Wrong. Its caller crashes when
On Tue, 16 Oct 2018 19:41:28 +0200
Markus Armbruster wrote:
> Calling error_report() in a function that takes an Error ** argument
> is suspicious. 9p-handle.c's handle_parse_opts() does that, and then
> fails without setting an error. Wrong. Its caller crashes when it
> tries to report the er
Calling error_report() in a function that takes an Error ** argument
is suspicious. 9p-handle.c's handle_parse_opts() does that, and then
fails without setting an error. Wrong. Its caller crashes when it
tries to report the error:
$ qemu-system-x86_64 -nodefaults -fsdev id=foo,fsdriver=hand