From: Dan Carpenter Date: Thu, 29 Sep 2011 06:10:48 +0000 (+0300) Subject: sound: oss: use strlcpy() in sound_timer_init() X-Git-Tag: v3.2-rc1~127^2~3^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb690c9e2702e49af3be2fb6f03d9b60e0afcab7;p=pandora-kernel.git sound: oss: use strlcpy() in sound_timer_init() sound_timer.info.name is a 32 character buffer. This function only has one caller (in sound/oss/ad1848.c) and it passes as 128 character buffer as "name". I don't know if this is a problem in real life, and I doubt we're going to add more OSS drivers so it's unlikely to become an issue. But we may as well take care of it. Signed-off-by: Dan Carpenter Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed