From: Tomas Winkler Date: Wed, 24 Jul 2013 13:22:59 +0000 (+0300) Subject: mei: bus: do not overflow the device name buffer X-Git-Tag: v3.12-rc1~185^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b613bb86a3d4a106c9a8f6de3d8a4c3628ea998;p=pandora-kernel.git mei: bus: do not overflow the device name buffer 1. use strncmp for comparsion strncpy was used for copying which may omit the final %NUL terminator 2. id->name is statically defined so we can use sizeof Acked-by: Samuel Ortiz Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed