lkml.org 
[lkml]   [2016]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2016-01-05 12:01    [W:2.048 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site