diff options
author | Daniel Mack <daniel@zonque.org> | 2014-10-19 09:07:36 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-22 12:38:01 +0200 |
commit | 6aa256b6c680245b4c402f2c8a8ee356f03df3ea (patch) | |
tree | cb8faa364e6f8406173ee1abc486198af9d1104f /Documentation/devicetree | |
parent | Linux 3.18-rc1 (diff) | |
download | linux-6aa256b6c680245b4c402f2c8a8ee356f03df3ea.tar.xz linux-6aa256b6c680245b4c402f2c8a8ee356f03df3ea.zip |
ASoC: fsl: use strncpy() to prevent copying of over-long names
Use strncpy() instead of strcpy(). That's not a security issue, as the
source buffer is taken from DT nodes, but we should still enforce bound
checks. Spotted by Coverity.
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions