From: Bob Copeland Date: Fri, 22 Aug 2014 13:18:01 +0000 (-0400) Subject: ath5k: ensure led name is null terminated X-Git-Tag: fixes-against-v3.18-rc2~81^2~133^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daf9669bea30aa22d44671e0d9ce90234579e1db;p=pandora-kernel.git ath5k: ensure led name is null terminated Add the missing null termination after strncpy(). This isn't actually a buffer overflow in this case since we use snprintf() appropriately to fill the buffer passed by the caller, but in the interest of not turning this into a bug down the road, go ahead and force termination here. Found by Coverity. Signed-off-by: Bob Copeland Signed-off-by: John W. Linville --- Reading git-diff-tree failed