Skip to content
Snippets Groups Projects
Commit 7981593b authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files

mm: and drivers core: Convert hugetlb_report_node_meminfo to sysfs_emit


Convert the unbound sprintf in hugetlb_report_node_meminfo to use
sysfs_emit_at so that no possible overrun of a PAGE_SIZE buf can occur.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarMike Kravetz <mike.kravetz@oracle.com>
Link: https://lore.kernel.org/r/894b351b82da6013cde7f36ff4b5493cd0ec30d0.1600285923.git.joe@perches.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 948b3edb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment