From: Harald Welte Date: Wed, 14 Jan 2009 06:01:17 +0000 (+0800) Subject: panasonic-laptop: use snprintf with PAGE_SIZE in sysfs attributes X-Git-Tag: v2.6.30-rc1~199^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba256b41bd58f0821c9c0e203982fb260f09bdeb;p=pandora-kernel.git panasonic-laptop: use snprintf with PAGE_SIZE in sysfs attributes Instead of just sprintf() into the page-sized buffer provided by the sysfs/device_attribute API, we use snprintf with PAGE_SIZE as an additional safeguard. Signed-off-by: Martin Lucina Signed-off-by: Harald Welte Signed-off-by: Len Brown --- Reading git-diff-tree failed