From: David Sterba <dsterba@suse.cz>
To: void0red <void0red@gmail.com>
Cc: dsterba@suse.com, linux-btrfs@vger.kernel.org,
linux-kernel@vger.kernel.org, eriri <1527030098@qq.com>
Subject: Re: [PATCH] btrfs: avoid use-after-free when return the error code
Date: Wed, 23 Nov 2022 16:40:31 +0100 [thread overview]
Message-ID: <20221123154031.GL5824@twin.jikos.cz> (raw)
In-Reply-To: <20221123143945.2666-1-void0red@gmail.com>
On Wed, Nov 23, 2022 at 10:39:45PM +0800, void0red wrote:
> free_extent_map(em) will free em->map_lookup, so it is
> wrong to use it when return.
>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=216721
> Signed-off-by: void0red <void0red@gmail.com>
> Reported-by: eriri <1527030098@qq.com>
Added to misc-next with updated changelog, thanks.
prev parent reply other threads:[~2022-11-23 15:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 14:39 void0red
2022-11-23 15:40 ` David Sterba [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=20221123154031.GL5824@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=1527030098@qq.com \
--cc=dsterba@suse.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=void0red@gmail.com \
/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
all inboxes | Powered by JetHome®