You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the use of strcpy() in build_aa_ext_struct() in
policy_unpack_test.c with strscpy().
strscpy() is the safer method to use to ensure the buffer does not
overflow. This was found by kernel test robot:
https://lore.kernel.org/all/[email protected]/.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Rae Moar <[email protected]>
Signed-off-by: John Johansen <[email protected]>
0 commit comments