mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Oleg Drokin <green@namesys.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.5] double free in ext2?
Date: Fri, 7 Mar 2003 02:11:39 -0800	[thread overview]
Message-ID: <20030307021139.5268cc44.akpm@digeo.com> (raw)
In-Reply-To: <20030307130655.A17819@namesys.com>

Oleg Drokin <green@namesys.com> wrote:
>
> Hello!
> 
>    I am playing with smatch and while testing my improved version of
>    unfree.pl, I seems to have found a double free condition in ext2:
> 
>    fs/ext2/super.c::ext2_fill_super()  (I am looking at yesterday's 2.5 snapshot)
> 
>    in line 784 we do kfree(sbi->s_group_desc); (then print "EXT2-fs: unable to read group descriptors\n")
>    and go to failed_mount_group_desc, which reads (from line 821):
> failed_mount_group_desc:
>         kfree(sbi->s_group_desc);
> 

yes, bug.  Thanks.

      reply	other threads:[~2003-03-07 10:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-07 10:06 Oleg Drokin
2003-03-07 10:11 ` Andrew Morton [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=20030307021139.5268cc44.akpm@digeo.com \
    --to=akpm@digeo.com \
    --cc=green@namesys.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®