From patchwork Sat Sep 12 14:50:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Ellingsworth X-Patchwork-Id: 47081 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8CEoCuC027624 for ; Sat, 12 Sep 2009 14:50:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754653AbZILOuX (ORCPT ); Sat, 12 Sep 2009 10:50:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754602AbZILOuX (ORCPT ); Sat, 12 Sep 2009 10:50:23 -0400 Received: from mail-qy0-f172.google.com ([209.85.221.172]:50386 "EHLO mail-qy0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754645AbZILOuV (ORCPT ); Sat, 12 Sep 2009 10:50:21 -0400 Received: by mail-qy0-f172.google.com with SMTP id 2so1629968qyk.21 for ; Sat, 12 Sep 2009 07:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :reply-to:user-agent:mime-version:to:subject:content-type; bh=Kt+5qW+YMhaKcS/BRBj3fD/k7cOM+9y39Ckc2jpTar8=; b=kob14NWSM/r6D+FzRZ6+etjdBmZn2s1EyENf4IUQkP08YWvn93TtPBFGu4GoFQFgmN znU79d9c0FPRWFugESpnlrOuJsKC+1BQbdKWnfDzbTTT/ZbaaglPY43kYffw7dUy4oQf taqT2OS8FUQNK7bI4PvxbebeNH/Z8mSjDjWmA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to :subject:content-type; b=gnCCWh25t09we8CK7MqL+lTPz5Ou4lLvg6TS1fYDLOVx2Oubt4lCGgGsKZRtLYegii LXlVZOV2I3cYIUrfUH9mVIEF+Ed/uAWFXRiY8uVmWlArgoHCUgDa8GGxxtsZ6LDcrbNN PaB7UD/79IdzDoNSBXFiOfTRqnbTYZCx5Vqio= Received: by 10.224.85.133 with SMTP id o5mr3736555qal.387.1252767025421; Sat, 12 Sep 2009 07:50:25 -0700 (PDT) Received: from ?192.168.10.110? (cpe-71-72-62-249.neo.res.rr.com [71.72.62.249]) by mx.google.com with ESMTPS id 6sm1929388qwd.43.2009.09.12.07.50.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 12 Sep 2009 07:50:24 -0700 (PDT) Message-ID: <4AABB528.1060603@gmail.com> Date: Sat, 12 Sep 2009 10:50:16 -0400 From: David Ellingsworth Reply-To: david@identd.dyndns.org User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: linux-media@vger.kernel.org, klimov.linux@gmail.com Subject: [RFC/RFT 10/10] radio-mr800: fix potential use after free Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From 987d22363c7a55a5e48a2746a61a6d805fef8661 Mon Sep 17 00:00:00 2001 From: David Ellingsworth Date: Sat, 12 Sep 2009 02:35:22 -0400 Subject: [PATCH 10/10] mr800: fix potential use after free Signed-off-by: David Ellingsworth --- drivers/media/radio/radio-mr800.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) /* vidioc_querycap - query device capabilities */ From 987d22363c7a55a5e48a2746a61a6d805fef8661 Mon Sep 17 00:00:00 2001 From: David Ellingsworth Date: Sat, 12 Sep 2009 02:35:22 -0400 Subject: [PATCH 10/10] mr800: fix potential use after free Signed-off-by: David Ellingsworth --- drivers/media/radio/radio-mr800.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/media/radio/radio-mr800.c b/drivers/media/radio/radio-mr800.c index 10bed62..806523c 100644 --- a/drivers/media/radio/radio-mr800.c +++ b/drivers/media/radio/radio-mr800.c @@ -274,7 +274,6 @@ static void usb_amradio_disconnect(struct usb_interface *intf) usb_set_intfdata(intf, NULL); video_unregister_device(&radio->videodev); - v4l2_device_disconnect(&radio->v4l2_dev); } /* vidioc_querycap - query device capabilities */ -- 1.6.3.3