misc: st_kim: Increase size of dev_name buffer to incorporate termination
authorLee Jones <lee.jones@linaro.org>
Thu, 28 Aug 2014 13:14:09 +0000 (14:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 06:14:28 +0000 (23:14 -0700)
commitffdbb715fa0c53203b1ea2a6ecc54bdcc8951612
treedeaf176903bb7cfb7856c68f7cc56cbb717821e1
parente4ebe5fe2d507a4c228bf90dea7dd4de57cbce92
misc: st_kim: Increase size of dev_name buffer to incorporate termination

Calling strncpy with a maximum size argument of 32 bytes on destination
array kim_gdata->dev_name of size 32 bytes might leave the destination
string unterminated.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/ti_wilink_st.h
This page took 0.026002 seconds and 5 git commands to generate.