linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Theodore Ts'o <tytso@mit.edu>
To: Eugene Shatokhin <eugene.shatokhin@rosalab.ru>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [PATCH] ext4: fix possible memory leak in ext4_xattr_set_acl()
Date: Thu, 8 Nov 2012 15:11:35 -0500	[thread overview]
Message-ID: <20121108201135.GL19977@thunk.org> (raw)
In-Reply-To: <1349694672-16992-1-git-send-email-eugene.shatokhin@rosalab.ru>

On Mon, Oct 08, 2012 at 03:11:12PM +0400, Eugene Shatokhin wrote:
> In ext4_xattr_set_acl(), if ext4_journal_start() returns an error,
> posix_acl_release() will not be called for 'acl' which may result
> in a memory leak.
> 
> This patch fixes that.
> 
> Signed-off-by: Eugene Shatokhin <eugene.shatokhin@rosalab.ru>

Thanks, applied.

					- Ted

      parent reply	other threads:[~2012-11-08 22:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-08 11:11 [PATCH] ext4: fix possible memory leak in ext4_xattr_set_acl() Eugene Shatokhin
2012-10-08 12:36 ` Lukáš Czerner
2012-11-08 20:11 ` Theodore Ts'o [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=20121108201135.GL19977@thunk.org \
    --to=tytso@mit.edu \
    --cc=eugene.shatokhin@rosalab.ru \
    --cc=linux-ext4@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).