summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorLizhi Xu <lizhi.xu@windriver.com>2025-10-09 10:37:33 +0800
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2025-11-10 14:30:16 +0100
commitc3856bb499eae0cd5773b609ee9aa8a0e6e42b6c (patch)
treeb5edd3c47a0c9b495b8a074699d90881bf7fb0ae /tools/docs/parse-headers.py
parent5f33da04e6ceee849e76e6592cc283c72fef7af9 (diff)
ntfs3: avoid memcpy size warning
There are more entries after the structure, use unsafe_memcpy() to avoid this warning. syzbot reported: memcpy: detected field-spanning write (size 3656) of single field "hdr1" at fs/ntfs3/index.c:1927 (size 16) Call Trace: indx_insert_entry+0x1a0/0x460 fs/ntfs3/index.c:1996 ni_add_name+0x4dd/0x820 fs/ntfs3/frecord.c:2995 ni_rename+0x98/0x170 fs/ntfs3/frecord.c:3026 ntfs_rename+0xab9/0xf00 fs/ntfs3/namei.c:332 Reported-by: syzbot+3a1878433bc1cb97b42a@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=3a1878433bc1cb97b42a Signed-off-by: Lizhi Xu <lizhi.xu@windriver.com> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions