commit | ed1f041842f0c4226a78fcd96ccb8e6a5433ae9d | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Apr 09 12:05:04 2015 +0300 |
committer | Vinod Koul <vinod.koul@intel.com> | Fri Apr 17 23:34:51 2015 +0530 |
tree | 39d1f23b90f566646ce8a4f4c4f30358cab6cd39 | |
parent | d7d8e892aa6fe280a2e2974d9fd1ec9253ee1a05 [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>