Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1414839

Re: [PATCH] mailbox: mailbox-test: set tdev->signal to NULL after freeing

From Sudeep Holla <sudeep.holla@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mailbox: mailbox-test: set tdev->signal to NULL after freeing
Date 2016-06-06 11:40 +0200
Message-ID <rGZaN-31b-9@gated-at.bofh.it> (permalink)
References <rCndL-5Ak-9@gated-at.bofh.it>
Organization ARM

Show all headers | View raw


Hi Jassi, Lee,

On 24/05/16 17:12, Sudeep Holla wrote:
> tdev->signal is not set NULL after it's freed. This will cause random
> exceptions when the stale pointer is accessed after tdev->signal is
> freed. Also, since tdev->signal allocation is skipped the next time
> it's written, this leads to continuous fault finally leading to the
> total death of the system.
>
> Cc: Lee Jones <lee.jones@linaro.org>
> Cc: Jassi Brar <jassisinghbrar@gmail.com>

Can you review this ?

-- 
Regards,
Sudeep

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] mailbox: mailbox-test: set tdev->signal to NULL after  freeing Sudeep Holla <sudeep.holla@arm.com> - 2016-06-06 11:40 +0200

csiph-web