From: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Mon, 23 Jul 2007 09:47:12 +0200
> Hi Adrian,
>
> > Commit 8de0a15483b357d0f0b821330ec84d1660cadc4e added the following
> > use-after-free in net/bluetooth/rfcomm/tty.c:
...
> > Spotted by the Coverity checker.
>
> really good catch. I fully overl
Hi Adrian,
> Commit 8de0a15483b357d0f0b821330ec84d1660cadc4e added the following
> use-after-free in net/bluetooth/rfcomm/tty.c:
>
> <-- snip -->
>
> ...
> static int rfcomm_dev_add(struct rfcomm_dev_req *req, struct rfcomm_dlc *dlc)
> {
> ...
> if (IS_ERR(dev->tty_dev)) {
>
Commit 8de0a15483b357d0f0b821330ec84d1660cadc4e added the following
use-after-free in net/bluetooth/rfcomm/tty.c:
<-- snip -->
...
static int rfcomm_dev_add(struct rfcomm_dev_req *req, struct rfcomm_dlc *dlc)
{
...
if (IS_ERR(dev->tty_dev)) {
list_del(&dev->list);