mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
9755206f6d
Strictly speaking, this is not a bug because parsing loop will just skip an empty ({NULL}, 0) blob. But it's better to avoid this case because UBSan (as of clang-17 at least) may complain on such a parsing attempt: source4/ntvfs/posix/posix_eadb.c:56:62: runtime error: applying zero offset to null pointer #0 0x7f9d71ce7b2a in posix_eadb_add_list source4/ntvfs/posix/posix_eadb.c:56 #1 0x7f9d71ce7b2a in push_xattr_blob_tdb_raw source4/ntvfs/posix/posix_eadb.c:178 #2 0x7f9d71cec1f5 in py_wrap_setxattr source4/ntvfs/posix/python/pyposix_eadb.c:64 #3 0x7f9d88bd4507 in cfunction_call (/lib64/libpython3.11.so.1.0+0x1d4507) [... a lot of Python calls skipped...] Signed-off-by: Dmitry Antipov <dantipov@cloudlinux.com> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> |
||
---|---|---|
.. | ||
python | ||
posix_eadb.c | ||
posix_eadb.h | ||
pvfs_acl_nfs4.c | ||
pvfs_acl_xattr.c | ||
pvfs_acl.c | ||
pvfs_dirlist.c | ||
pvfs_fileinfo.c | ||
pvfs_flush.c | ||
pvfs_fsinfo.c | ||
pvfs_ioctl.c | ||
pvfs_lock.c | ||
pvfs_mkdir.c | ||
pvfs_notify.c | ||
pvfs_open.c | ||
pvfs_oplock.c | ||
pvfs_qfileinfo.c | ||
pvfs_read.c | ||
pvfs_rename.c | ||
pvfs_resolve.c | ||
pvfs_search.c | ||
pvfs_seek.c | ||
pvfs_setfileinfo.c | ||
pvfs_shortname.c | ||
pvfs_streams.c | ||
pvfs_sys.c | ||
pvfs_unlink.c | ||
pvfs_util.c | ||
pvfs_wait.c | ||
pvfs_write.c | ||
pvfs_xattr.c | ||
vfs_posix.c | ||
vfs_posix.h | ||
wscript_build | ||
xattr_system.c |