1. 23 8月, 2007 1 次提交
    • E
      9p: fix use after free · 1a3cac6c
      Eric Van Hensbergen 提交于
      On 7/22/07, Adrian Bunk <bunk@stusta.de> 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 (!m->tagpool) {
                           kfree(m);
                           return ERR_PTR(PTR_ERR(m->tagpool));
                   }
           ...
      
           <--  snip  -->
      
      Also spotted was a leak of the same structure further down in the function.
      Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
      1a3cac6c
  2. 21 8月, 2007 20 次提交
  3. 20 8月, 2007 11 次提交
  4. 19 8月, 2007 8 次提交