lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <13e803a4-a018-2f4d-830d-5dfa2058d709@gmail.com>
Date:   Fri, 10 Nov 2017 19:58:58 +0200
From:   Yordan Karadzhov <y.karadz@...il.com>
To:     Steven Rostedt <rostedt@...dmis.org>
Cc:     jan.kiszka@...mens.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/4] kernelshark: Adding gui_event_handlers for View
 and Graph

On 10.11.2017 17:28, Steven Rostedt wrote:
> On Fri, 10 Nov 2017 14:29:14 +0200
> "Yordan Karadzhov (VMware)" <y.karadz@...il.com> wrote:
>
>
>> +void trace_graph_register_gui_handler(struct graph_info *info,
>> +				      struct gui_event_handler *handler) {
>> +	handler->next = info->event_handlers;
>> +	info->event_handlers = handler;
>> +}
>> +
>
>>   
>> +void trace_view_store_register_gui_handler(TraceViewStore *store, struct gui_event_handler *handler)
>> +{
>> +	handler->next = store->event_handlers;
>> +	store->event_handlers = handler;
>> +}
>> +
>
> Hmm, and in the last patch we have:
>
> +		trace_view_store_register_gui_handler(ks_store, switch_handler);
> +		trace_view_store_register_gui_handler(ks_store, wakeup_handler);
> +
> +		trace_graph_register_gui_handler(ks_info->ginfo, switch_handler);
> +		trace_graph_register_gui_handler(ks_info->ginfo, wakeup_handler);
>
> I think I see an issue here. ;-)
>
> (Hint, what's the state of switch_handler->next and
>   wakeup_handler->next, when this is done?)
I see the issue now.
Thank you very much!
Yordan

> -- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ