Re: [PATCH 2/2] perf, tools: Avoid segfault on alias parse error

Andi Kleen
2017-08-17T17:05:13Z

> So it will _not_ set to null a member that it doesn't have, i.e. the
> minimal fix is to just have the hunks below, making sure that the error
> field is present in both structs. No need to set
> parse_event_terms->error to anything, it will be set to null since other
> fields are set to something.

Right but I want to see the error too. That is why I added a real
error handler.

-Andi