public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* net/9p/mux.c: use-after-free
@ 2007-07-23  1:20 Adrian Bunk
  2007-07-25 18:43 ` Eric Van Hensbergen
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2007-07-23  1:20 UTC (permalink / raw)
  To: Latchesar Ionkov, Eric Van Hensbergen
  Cc: v9fs-developer, netdev, linux-kernel

The Coverity checker spotted the following use-after-free
in net/9p/mux.c:

<--  snip  -->

...
struct p9_conn *p9_conn_create(struct p9_transport *trans, int msize,
                                    unsigned char *extended)
{
...
        if (!m->tagpool) {
                kfree(m);
                return ERR_PTR(PTR_ERR(m->tagpool));
        }
...

<--  snip  -->


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-26 14:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23  1:20 net/9p/mux.c: use-after-free Adrian Bunk
2007-07-25 18:43 ` Eric Van Hensbergen
2007-07-25 19:13   ` Latchesar Ionkov
2007-07-25 19:45     ` Eric Van Hensbergen
     [not found]   ` <20070725202030.7ecf339c.akpm@linux-foundation.org>
2007-07-26 14:29     ` Eric Van Hensbergen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox