lkml.org 
[lkml]   [2006]   [Apr]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 05 Apr 2006 22:28:31 -0700 (PDT)
SubjectRe: [Patch] Possible double free in net/bluetooth/sco.c
From"David S. Miller" <>
From: Eric Sesterhenn <snakebyte@gmx.de>
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@gmx.de>

This looks fine, applied.

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

\
 
 \ /
  Last update: 2006-04-06 07:30    [from the cache]
©2003-2008