Messages in this thread |  | | Date | Thu, 17 Aug 2017 10:04:53 -0700 | From | Andi Kleen <> | Subject | Re: [PATCH 2/2] perf, tools: Avoid segfault on alias parse error |
| |
> 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
|  |