mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Sascha Hauer <sha@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH master 6/6] regmap-mmio: fix use-after-free
Date: Tue, 13 Jun 2023 09:17:14 +0200	[thread overview]
Message-ID: <723a146c-d013-0def-3052-5a48d7c551c4@pengutronix.de> (raw)
In-Reply-To: <20230613071111.GG18491@pengutronix.de>

On 13.06.23 09:11, Sascha Hauer wrote:
> On Mon, Jun 12, 2023 at 02:53:31PM +0200, Ahmad Fatoum wrote:
>> Once we free ctx, dereferencing it to return ERR_CAST(ctx->clk) is
>> verboten. Fix this by using an intermediary variable.
> 
> Looks funny like this, but replaced with forbidden for the non german
> speakers ;)

It was borrowed into English and is listed in Merriam-Webster's Official
Scrabble Players Dictionary, 5th Edition!

Thanks,
Ahmad

> 
> Applied all, thanks
> 
> Sascha
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




      reply	other threads:[~2023-06-13  7:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-12 12:53 [PATCH master 1/6] net: smc1111: add missing drive's of_device_id array sentinel Ahmad Fatoum
2023-06-12 12:53 ` [PATCH master 2/6] scripts: remove openssl dependency in multi_v7_defconfig Ahmad Fatoum
2023-06-12 12:53 ` [PATCH master 3/6] clocksource: armv7m_systick: fix MMIO address Ahmad Fatoum
2023-06-12 12:53 ` [PATCH master 4/6] of: select OF_OVERLAY where appropriate Ahmad Fatoum
2023-06-12 12:53 ` [PATCH master 5/6] memory_display: don't skip va_end in error case Ahmad Fatoum
2023-06-12 12:53 ` [PATCH master 6/6] regmap-mmio: fix use-after-free Ahmad Fatoum
2023-06-13  7:11   ` Sascha Hauer
2023-06-13  7:17     ` Ahmad Fatoum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=723a146c-d013-0def-3052-5a48d7c551c4@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=sha@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox