Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 28 Jan 2003 10:50:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 28 Jan 2003 10:50:07 -0500 Received: from wohnheim.fh-wedel.de ([195.37.86.122]:9651 "EHLO wohnheim.fh-wedel.de") by vger.kernel.org with ESMTP id ; Tue, 28 Jan 2003 10:50:06 -0500 Date: Tue, 28 Jan 2003 16:59:22 +0100 From: =?iso-8859-1?Q?J=F6rn?= Engel To: Vojtech Pavlik Cc: linux-kernel@vger.kernel.org Subject: Re: [BUG] in drivers/char/joystick/magellan.c Message-ID: <20030128155922.GF10685@wohnheim.fh-wedel.de> References: <20030128155312.GD10685@wohnheim.fh-wedel.de> <20030128165719.A382@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030128165719.A382@ucw.cz> User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 January 2003 16:57:19 +0100, Vojtech Pavlik wrote: > On Tue, Jan 28, 2003 at 04:53:12PM +0100, J?rn Engel wrote: > > > > Without the patch below, the \0 terminating the string is written > > anywhere. nibbles[] would be even better, I guess. > > Well, the zero isn't used, so it might make sense to use '0', 'A', 'B' ... > ... though that's not very nice either. And maintenance wins over any byte of memory. :) > > Can you check for stupidity on my side? > > Can't find any. ;) Patch applied with []. Cool! J?rn -- A victorious army first wins and then seeks battle. -- Sun Tzu - 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/