]> git.baikalelectronics.ru Git - kernel.git/commit
pstore: Use scnprintf() in pstore_mkfile()
authorMark Salyzyn <salyzyn@android.com>
Tue, 6 Jan 2015 19:18:24 +0000 (11:18 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 16 Jan 2015 23:30:50 +0000 (15:30 -0800)
commitd0edddbe4fbb907583e132acc0c9d93b9131e6a9
tree34711f45f0700477fd1d35d34b6aa8f8ad4e6848
parent965987c19682f64bdd8b57d2f524ab43dbed1995
pstore: Use scnprintf() in pstore_mkfile()

No guarantees that the names will not exceed the
name buffer with future adjustments.

Signed-off-by: Mark Salyzyn <salyzyn@android.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
fs/pstore/inode.c