Re: [Patch] Possible double free in net/bluetooth/sco.c

From: David S. Miller
Date: Thu Apr 06 2006 - 01:28:45 EST


From: Eric Sesterhenn <snakebyte@xxxxxx>
Date: Tue, 04 Apr 2006 21:25:18 +0200

> this fixes coverity bug id #1068.
> hci_send_sco() frees skb if (skb->len > hdev->sco_mtu).
> Since it returns a negative error value only in this case, we
> can directly return here.
>
> Signed-off-by: Eric Sesterhenn <snakebyte@xxxxxx>

This looks fine, applied.

Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/