[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140125.180534.939675200515296620.davem@davemloft.net>
Date: Sat, 25 Jan 2014 18:05:34 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: joe@...ches.com
Cc: horia.geanta@...escale.com, steffen.klassert@...unet.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] xfrm: fix potential incorrect pointer dereference in
xfrm_bundle_create
From: Joe Perches <joe@...ches.com>
Date: Sat, 25 Jan 2014 11:32:58 -0800
> Yes, but perhaps the failure test be done before the
> assignment anyway. There are more paths below the test
> where the value is not yet used.
And because we have no uses, there is no harm in the assignment.
> Perhaps something like this would be more readable.
That's a lot of useless churn if you ask me.
If we happen to be making other changes to this file, fine.
But there are much bigger fish to fry.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists