]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitdbaffde76405012778b8815b7721554b1302038e
tree34711f45f0700477fd1d35d34b6aa8f8ad4e6848
parenteaa27f34e91a14cdceed26ed6c6793ec1d186115
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