From patchwork Wed Apr 7 17:01:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Fritz X-Patchwork-Id: 91100 X-Patchwork-Delegate: jikos@jikos.cz Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o37GvTkf018149 for ; Wed, 7 Apr 2010 16:57:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932825Ab0DGQ46 (ORCPT ); Wed, 7 Apr 2010 12:56:58 -0400 Received: from mail-fx0-f223.google.com ([209.85.220.223]:57542 "EHLO mail-fx0-f223.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756387Ab0DGQ44 (ORCPT ); Wed, 7 Apr 2010 12:56:56 -0400 Received: by fxm23 with SMTP id 23so1244195fxm.21 for ; Wed, 07 Apr 2010 09:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=YwR+RoUCSxTq/6IAzE3oeHlwEgcRA+hS5yZQYqpD9zs=; b=d+xsY+JRQ8fZpdOnSHA8yD4w2YyDBpVZKkKc4nAXkNlibPJRzO95RUrLqOeaUO3Wl1 JeG+aIlKDz/Sjtvl+oHKov3woHboLBw8l+CLZMWbToMp01REn7MzkjwlAE08MB5djFEj 8tc/lQRuXU+nAnPykbpVVmavL3g5McTdohN0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=OuLaePv7VFJ6+dqQzM2QiRArkXbeVzx85ZodBvnJvDd0+i1vqf5elTGYUbQmnD62f3 D4DU1tWX38+bPRJS9KTvEFwuFgE5UMblMPec/I2x3VuTMUp2/YvlE0N9fvYQAXPRCMcc Yzaahldqf0pxR/ky8kDg0fns3LtQ1N48+A1LM= Received: by 10.223.24.133 with SMTP id v5mr9174339fab.46.1270659414117; Wed, 07 Apr 2010 09:56:54 -0700 (PDT) Received: from [127.0.0.1] (e180010141.adsl.alicedsl.de [85.180.10.141]) by mx.google.com with ESMTPS id 12sm12711107fks.50.2010.04.07.09.56.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Apr 2010 09:56:52 -0700 (PDT) Subject: Re: [BUG] hid NULL ptr deref on usb reset with hid disabled quirk From: Christoph Fritz To: Hans de Goede Cc: linux-usb In-Reply-To: <4BBC4B51.8060005@redhat.com> References: <4BBC4B51.8060005@redhat.com> Date: Wed, 07 Apr 2010 19:01:41 +0200 Message-Id: <1270659702.27948.9.camel@lovely> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 07 Apr 2010 16:57:30 +0000 (UTC) --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1683,6 +1683,7 @@ static const struct hid_device_id hid_ignore_list[] = { { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_1_PHIDGETSERVO_20) }, { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_8_8_4_IF_KIT) }, { HID_USB_DEVICE(USB_VENDOR_ID_YEALINK, USB_DEVICE_ID_YEALINK_P1K_P4K_B2K) }, + { HID_USB_DEVICE(0x1908, 0x1315) }, { } };