From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu: avoid format string leaks into iommu_device_create Date: Mon, 3 Aug 2015 16:16:26 +0200 Message-ID: <20150803141625.GB20968@8bytes.org> References: <20150724232757.GA14747@www.outflux.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150724232757.GA14747-0X9Bc/hWBUTk6RaD4rd5nQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Kees Cook Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, David Woodhouse , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Fri, Jul 24, 2015 at 04:27:57PM -0700, Kees Cook wrote: > This makes sure it won't be possible to accidentally leak format > strings into iommu device names. Current name allocations are safe, > but this makes the "%s" explicit. > > Signed-off-by: Kees Cook > --- > drivers/iommu/dmar.c | 2 +- > drivers/iommu/intel-iommu.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks.