[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151209141459.41a237c9@lxorguk.ukuu.org.uk>
Date: Wed, 9 Dec 2015 14:14:59 +0000
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: "James E.J. Bottomley" <JBottomley@...n.com>,
Ondrej Zary <linux@...nbow-software.org>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, Hannes Reinecke <hare@...e.com>
Subject: Re: [patch RESEND] atp870u: 64 bit bug in atp885_init()
On Wed, 9 Dec 2015 16:45:12 +0300
Dan Carpenter <dan.carpenter@...cle.com> wrote:
> Everyone knows I didn't test it but it's an obvious one line fix for
> memory corruption. If no one uses the code, at least this is harmless
> and silences a static checker warning.
>
> In olden times we used to say, "Oh this bounds checking is crap but it's
> root only so let's leave it alone." But these days we just fix it.
> It's easier to just fix everything instead of trying to decide which
> bugs are critical.
Unfortunately it's all too easy to look down 50 commit messages to an
apaprently active file all "fixing small bugs" or "correcting indenting"
without realising that every single one of them should have been tagged
"[UNTESTED]: "
so that anyone looking at the code can see immediately its historical
hazardous waste.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists