Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964953AbbELVwA (ORCPT ); Tue, 12 May 2015 17:52:00 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:35098 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933918AbbELVv4 (ORCPT ); Tue, 12 May 2015 17:51:56 -0400 From: "Luis R. Rodriguez" To: ming.lei@canonical.com, rusty@rustcorp.com.au Cc: torvalds@linux-foundation.org, dhowells@redhat.com, seth.forshee@canonical.com, linux-kernel@vger.kernel.org, pebolle@tiscali.nl, linux-wireless@vger.kernel.org, gregkh@linuxfoundation.org, jlee@suse.com, tiwai@suse.de, "Luis R. Rodriguez" Subject: [PATCH v3 0/4] firmware: few fixes for name uses Date: Tue, 12 May 2015 14:49:39 -0700 Message-Id: <1431467383-28540-1-git-send-email-mcgrof@do-not-panic.com> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 845 Lines: 23 From: "Luis R. Rodriguez" This v3 changes patch 1 to just return -ENOMEM and remove the unlikely() optimization. It also drops the early truncation checks. Luis R. Rodriguez (4): firmware: fix __getname() missing failure check firmware: check for file truncation on direct firmware loading firmware: fix possible use after free on name on asynchronous request firmware: use const for remaining firmware names drivers/base/firmware_class.c | 61 +++++++++++++++++++++++++++++++------------ 1 file changed, 45 insertions(+), 16 deletions(-) -- 2.3.2.209.gd67f9d5.dirty -- 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/