From: Daniel Mack Date: Tue, 7 Oct 2014 11:41:25 +0000 (+0200) Subject: ASoC: 88pm860x-codec: Fix possibly missing string termination X-Git-Tag: fixes-against-v3.18-rc2~128^2^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77eca3cd461da663945eceddf454466a609d8ca4;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed