From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH V3 2/2] PM / OPP: Parse 'opp--' bindings Date: Tue, 5 Jan 2016 16:16:30 +0530 Message-ID: <20160105104630.GB30120@ubuntu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pf0-f178.google.com ([209.85.192.178]:34483 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751478AbcAEKqf (ORCPT ); Tue, 5 Jan 2016 05:46:35 -0500 Received: by mail-pf0-f178.google.com with SMTP id e65so165594140pfe.1 for ; Tue, 05 Jan 2016 02:46:35 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Geert Uytterhoeven Cc: Rafael Wysocki , linaro-kernel , Linux PM list , Greg Kroah-Hartman , Len Brown , open list , Nishanth Menon , Pavel Machek , Stephen Boyd , Viresh Kumar 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