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


Groups > linux.kernel > #1414839 > unrolled thread

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

Started bySudeep Holla <sudeep.holla@arm.com>
First post2016-06-06 11:40 +0200
Last post2016-06-06 11:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromSudeep Holla <sudeep.holla@arm.com>
Date2016-06-06 11:40 +0200
SubjectRe: [PATCH] mailbox: mailbox-test: set tdev->signal to NULL after freeing
Message-ID<rGZaN-31b-9@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web