mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
new helper: memdup_user_nul()
Similar to memdup_user(), except that allocated buffer is one byte longer and '\0' is stored after the copied data. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
74bf8efb5f
commit
e9d408e107
2 changed files with 32 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue