Alexander Usyskin cfda2794b5 mei: bus: fix possible boundaries violation
function 'strncpy' will fill whole buffer 'id.name' of fixed size (32)
with string value and will not leave place for NULL-terminator.
Possible buffer boundaries violation in following string operations.
Replace strncpy with strlcpy.

Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-23 22:59:10 -07:00
..
2014-07-09 14:19:34 -07:00
2014-05-03 19:21:22 -04:00
2014-05-27 14:16:38 -07:00
2014-09-23 22:57:48 -07:00
2014-02-07 15:08:46 -08:00
2014-09-23 22:57:48 -07:00
2014-09-23 22:57:48 -07:00