[alsa-devel] [PATCH 3/3] ASoC: 88pm860x-codec: Fix possibly missing string termination
Mark Brown
broonie at kernel.org
Tue Oct 7 14:13:37 CEST 2014
On Tue, Oct 07, 2014 at 01:41:25PM +0200, Daniel Mack wrote:
> 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.
Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141007/f50ba92e/attachment.sig>
More information about the Alsa-devel
mailing list