Prev: NOMMU: add [stack] label to per-process maps output
Next: [PATCH] VFS: fix recent breakage of FS_REVAL_DOT
From: David Miller on 24 May 2010 02:20 From: Thomas Chou <thomas(a)wytron.com.tw> Date: Mon, 24 May 2010 10:44:02 +0800 > Dan reported the patch 0baa080c75c: "ethoc: use system memory > as buffer" introduced a potential null dereference. > > 1060 free: > 1061 if (priv->dma_alloc) > ^^^^^^^^^^^^^^^ > priv can be null here. > > He also suggested that the error handling is not complete. > > This patch fixes the null priv issue and improves resources > releasing in ethoc_probe() and ethoc_remove(). > > Reported-by: Dan Carpenter <error27(a)gmail.com> > Signed-off-by: Thomas Chou <thomas(a)wytron.com.tw> Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |