[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87bn1w1ec3.fsf@belgarion.home>
Date: Sun, 17 Jul 2016 17:20:12 +0200
From: Robert Jarzmik <robert.jarzmik@...e.fr>
To: Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
Tomi Valkeinen <tomi.valkeinen@...com>,
Dan Carpenter <dan.carpenter@...cle.com>
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Viresh Kumar <viresh.kumar@...aro.org>,
"Luis R. Rodriguez" <mcgrof@...e.com>, linux-fbdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] video: fbdev: pxafb: potential NULL dereference on error
Dan Carpenter <dan.carpenter@...cle.com> writes:
> If we "goto out;" then it calls display_timings_release(timings);
> Since "timings" is NULL, that's going to oops. Just return directly.
>
> Fixes: 420a488278e8 ('video: fbdev: pxafb: initial devicetree conversion')
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Acked-by: Robert Jarzmik <robert.jarzmik@...e.fr>
Cheers.
--
Robert
Powered by blists - more mailing lists