[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160105104630.GB30120@ubuntu>
Date: Tue, 5 Jan 2016 16:16:30 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Rafael Wysocki <rjw@...ysocki.net>,
linaro-kernel <linaro-kernel@...ts.linaro.org>,
Linux PM list <linux-pm@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Len Brown <len.brown@...el.com>,
open list <linux-kernel@...r.kernel.org>,
Nishanth Menon <nm@...com>, Pavel Machek <pavel@....cz>,
Stephen Boyd <sboyd@...eaurora.org>,
Viresh Kumar <vireshk@...nel.org>
Subject: Re: [PATCH V3 2/2] PM / OPP: Parse 'opp-<prop>-<name>' bindings
On 05-01-16, 11:31, Geert Uytterhoeven wrote:
> Any chance an attacker can overflow name[] by providing a very long
> dev_opp->prop_name?
>
> Better safe than sorry:
>
> snprintf(name, sizeof(name), ...);
Sent a patch to you..
--
viresh
--
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