From patchwork Sun Sep 13 03:22:34 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Ellingsworth X-Patchwork-Id: 47126 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 n8D3ThhF005597 for ; Sun, 13 Sep 2009 03:30:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754893AbZIMDaa (ORCPT ); Sat, 12 Sep 2009 23:30:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754886AbZIMDaa (ORCPT ); Sat, 12 Sep 2009 23:30:30 -0400 Received: from qw-out-2122.google.com ([74.125.92.24]:27644 "EHLO qw-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754643AbZIMDa3 (ORCPT ); Sat, 12 Sep 2009 23:30:29 -0400 Received: by qw-out-2122.google.com with SMTP id 9so722067qwb.37 for ; Sat, 12 Sep 2009 20:30:32 -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=lSoPbpbApYmlyW2gnHJVxP9Gl7G0MSaPIZHn0lNARVg=; b=lKwkfTqLQ6OMTE6bXTvDtX2r86+y0eBlCgDEmyu2RacCSgY7KB+T/94XkVUrvjpPOl yzGEK1ihPD5M+mC+K8pTIHAmkdpb/KSBmURrNeGcftAiDOk35L2u2K0lEVzuN5+faYkG 55I7yJNmgLzatGAxeRrnjFUeiPbQAOIQjSmSI= 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=MqXRtt05uZyExRMq3gSkCNBkz6r1BZ/gvnRUNUvvKWyiIaIoklLqlCeghedanWMpqa 3kwBEKmIIw8t4HhZsMmDRitYwFQI5ZRYIv4vzq13LAttTEpII1VQs48dT65VH0rHbTxe Vz7omAOTwUE6qgvdYFM8VYq3qUxH8K2O4CLmA= Received: by 10.224.66.211 with SMTP id o19mr4118676qai.342.1252812163738; Sat, 12 Sep 2009 20:22:43 -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 7sm3480646qwb.24.2009.09.12.20.22.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 12 Sep 2009 20:22:42 -0700 (PDT) Message-ID: <4AAC657A.4070307@gmail.com> Date: Sat, 12 Sep 2009 23:22:34 -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 08/14] 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 8c441616f67011244cb15bc1a3dda6fd8706ecd2 Mon Sep 17 00:00:00 2001 From: David Ellingsworth Date: Sat, 12 Sep 2009 16:04:44 -0400 Subject: [PATCH 08/14] 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 8c441616f67011244cb15bc1a3dda6fd8706ecd2 Mon Sep 17 00:00:00 2001 From: David Ellingsworth Date: Sat, 12 Sep 2009 16:04:44 -0400 Subject: [PATCH 08/14] 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 9fd2342..87b58e3 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