[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <21d7e9971001061948m466e0abdwb03ceef2cb947687@mail.gmail.com>
Date: Thu, 7 Jan 2010 13:48:49 +1000
From: Dave Airlie <airlied@...il.com>
To: Darren Jenkins <darrenrjenkins@...il.com>
Cc: David Airlie <airlied@...ux.ie>,
dri-devel mailing list <dri-devel@...ts.sourceforge.net>,
Kernel Janitors <kernel-janitors@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/radeon/radeon_cp.c: check for invalid radeon family
On Wed, Dec 30, 2009 at 11:23 AM, Darren Jenkins
<darrenrjenkins@...il.com> wrote:
> If there is an invalid radeon family the fw_name is NULL and causes an
> NULL pointer dereference.
> This just adds a check for something unexpected.
>
Same as for last one, unless a developer explicity writes code wrong,
this cannot
happen, and I'd prefer a developer would see an oops.
Dave.
--
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