Re: net/9p/mux.c: use-after-free

2007-07-25 Thread Eric Van Hensbergen
On 7/25/07, Latchesar Ionkov <[EMAIL PROTECTED]> wrote: Yep, it's a leak. Okay, I'll roll that into the patch as well. -eric - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.o

Re: net/9p/mux.c: use-after-free

2007-07-25 Thread Latchesar Ionkov
Yep, it's a leak. Thanks, Lucho On 7/25/07, Eric Van Hensbergen <[EMAIL PROTECTED]> wrote: On 7/22/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: > The Coverity checker spotted the following use-after-free > in net/9p/mux.c: > > <-- snip --> > > ... > struct p9_conn *p9_conn_create(struct p9_t

Re: net/9p/mux.c: use-after-free

2007-07-25 Thread Eric Van Hensbergen
On 7/22/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: 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 (!

net/9p/mux.c: use-after-free

2007-07-22 Thread Adrian Bunk
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);