diff options
author | Daniel Mack <daniel@zonque.org> | 2014-10-07 13:41:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-07 13:13:22 +0100 |
commit | 77eca3cd461da663945eceddf454466a609d8ca4 (patch) | |
tree | 6a784c3d1d6285e4ea9f98d521bede20562b138d /sound/oss/v_midi.c | |
parent | a5448c88b812390a3622e76d774e10c0da1fb970 (diff) | |
download | blackbird-op-linux-77eca3cd461da663945eceddf454466a609d8ca4.tar.gz blackbird-op-linux-77eca3cd461da663945eceddf454466a609d8ca4.zip |
ASoC: 88pm860x-codec: Fix possibly missing string termination
Coverity spotted an issue with strncpy() in pm860x_codec_probe()
which does not take the \0 termination byte into account. Fix this
by making the buffers one byte larger so the can really accommodate
MAX_NAME_LEN bytes long strings.
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/oss/v_midi.c')
0 files changed, 0 insertions, 0 deletions