Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270066AbUJHRX5 (ORCPT ); Fri, 8 Oct 2004 13:23:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270069AbUJHRX5 (ORCPT ); Fri, 8 Oct 2004 13:23:57 -0400 Received: from clock-tower.bc.nu ([81.2.110.250]:10165 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S270066AbUJHRXv (ORCPT ); Fri, 8 Oct 2004 13:23:51 -0400 Subject: Re: [PATCH] protect against buggy drivers From: Alan Cox To: Stephen Hemminger Cc: linus@osdl.org, akpm@osdl.org, Linux Kernel Mailing List In-Reply-To: <1097254421.16787.27.camel@localhost.localdomain> References: <1097254421.16787.27.camel@localhost.localdomain> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1097252477.2528.20.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Fri, 08 Oct 2004 17:21:19 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 584 Lines: 16 On Gwe, 2004-10-08 at 17:53, Stephen Hemminger wrote: > # fs/char_dev.c > # 2004/10/08 09:51:52-07:00 shemminger@zqx3.pdx.osdl.net +5 -0 > # Protect against bad driver writers who pass invalid names when > # setting up character devices. > # And how many badly mannered people check the return on this ? Shouldn't it just BUG() ? - 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/