[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111029062031.GF14881@longonot.mountain>
Date: Sat, 29 Oct 2011 09:20:31 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Larry Finger <Larry.Finger@...inger.net>
Cc: Julia Lawall <julia@...u.dk>, kernel-janitors@...r.kernel.org,
Florian Schilhabel <florian.c.schilhabel@...glemail.com>,
Greg Kroah-Hartman <gregkh@...e.de>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/5] drivers/staging/rtl8712/rtl871x_mlme.c: eliminate a
null pointer dereference
On Fri, Oct 28, 2011 at 08:05:52PM -0500, Larry Finger wrote:
> I believe it is. It probably does not matter as I have never hit an
> oops at this location.
>
You would only hit an Oops if you used a zero mac address for
pnetwork->MacAddress.
Julia's patch is turning on some code that was never tested to make
it the common case. So it will be easy to see if it works or not
when it gets merged. ;P To me it could go either way, (the test is
reversed or the memcpy() could be removed).
regards,
dan carpenter
--
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