public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcin Slusarz <marcin.slusarz@gmail.com>
To: Dan Carpenter <error27@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	eteo@redhat.com, Tobias Lorenz <tobias.lorenz@gmx.net>,
	Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: Re: Dereferencing freed memory bugs
Date: Sat, 28 Mar 2009 18:53:02 +0100	[thread overview]
Message-ID: <49CE63FE.2060609@gmail.com> (raw)
In-Reply-To: <a63d67fe0903240529v6a0e6b51pf67f8ad6dd6842c4@mail.gmail.com>

Dan Carpenter pisze:
> I added a check to smatch (http://repo.or.cz/w/smatch.git/) to check
> for when we dereference
> freed memory.
> 
> (...)
> drivers/media/radio/radio-si470x.c +1144 si470x_fops_release(32) 'radio'
> drivers/media/radio/radio-si470x.c +1722 si470x_usb_driver_disconnect(13) 'radio'
> (...)


Broken by commit ce5829e5fc8204af09db5b226a3dce9824e7d596:
V4L/DVB (7993): si470x: move global lock to device structure
Adding CCs.

  parent reply	other threads:[~2009-03-28 17:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 12:29 Dereferencing freed memory bugs Dan Carpenter
2009-03-28 17:17 ` Marcin Slusarz
2009-03-28 17:31 ` Marcin Slusarz
2009-03-28 17:44 ` [PATCH] mtd: fix use after free in register_mtd_blktrans Marcin Slusarz
2009-03-28 17:53 ` Marcin Slusarz [this message]
2009-03-28 18:18 ` Dereferencing freed memory bugs Marcin Slusarz
2009-03-28 18:50 ` Marcin Slusarz
2009-03-28 19:12 ` Marcin Slusarz

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=49CE63FE.2060609@gmail.com \
    --to=marcin.slusarz@gmail.com \
    --cc=error27@gmail.com \
    --cc=eteo@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=tobias.lorenz@gmx.net \
    /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