diff options
author | Ruan Jinjie <[email protected]> | 2023-08-10 19:14:02 +0800 |
---|---|---|
committer | Jon Mason <[email protected]> | 2023-08-18 09:50:06 -0400 |
commit | 03c9e6f0e0ab3fb6129b8a9f064b7d7957aa969a (patch) | |
tree | 8688fa1cbc97648c9c7d2da2bd3d0d9d453dcee7 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 45191087c3e2866e4fbcd775e443ee0380211ed1 (diff) |
NTB: ntb_tool: Switch to memdup_user_nul() helper
Use memdup_user_nul() helper instead of open-coding to simplify the code.
Signed-off-by: Ruan Jinjie <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Reviewed-by: Serge Semin <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions