From: Dan Carpenter Date: Thu, 9 Apr 2015 09:05:04 +0000 (+0300) Subject: dmaengine: xgene: buffer overflow in xgene_dma_init_channels() X-Git-Tag: omap-for-v4.2/o2_dc~23^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed1f041842f0c4226a78fcd96ccb8e6a5433ae9d;p=pandora-kernel.git dmaengine: xgene: buffer overflow in xgene_dma_init_channels() We put 9 characters into the 8 character name[] array. Let's make the array bigger and change the sprintf() to snprintf(). Signed-off-by: Dan Carpenter Signed-off-by: Vinod Koul --- Reading git-diff-tree failed