aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorRae Moar <[email protected]>2023-01-27 20:12:19 +0000
committerJohn Johansen <[email protected]>2023-07-06 10:58:49 -0700
commitb54aebd4411134b525a82d663a26b2f135ecb7e8 (patch)
tree94a642e5dd9e758838cb58d5e9908878ccedf705 /scripts/bpf_doc.py
parent76862af5d1add618f0cc99868bc729925f9551d2 (diff)
apparmor: fix use of strcpy in policy_unpack_test
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]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions