[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 6dcf8d76ccc vfs-docs: Fix the list of full_audit operations via fbcaecab3c7 full_audit: whitespace fixes via 0671d91ac8b s3: VFS: vfs_full_audit. Remove SMB_VFS_OP_FSYNC, it no longer exists in sync form. from 7e0e3f47cd6 s4/lib/registry: Fix use after free with popt 1.19 https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 6dcf8d76ccce310515ffa693fa5a2120d8b5b206 Author: Volker Lendecke Date: Fri Oct 7 09:52:19 2022 +0200 vfs-docs: Fix the list of full_audit operations I got this list with modified source3/modules/test_vfs_full_audit.c @@ -34,6 +34,7 @@ static void test_full_audit_array(void **state) for (i=0; i Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Oct 14 17:58:56 UTC 2022 on sn-devel-184 commit fbcaecab3c748feb9015b26545098117f792389f Author: Volker Lendecke Date: Fri Oct 7 09:31:14 2022 +0200 full_audit: whitespace fixes Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison commit 0671d91ac8b1627c9f2ce4c6e014c2d5a22c8f06 Author: Jeremy Allison Date: Fri Oct 7 17:39:39 2022 -0700 s3: VFS: vfs_full_audit. Remove SMB_VFS_OP_FSYNC, it no longer exists in sync form. Signed-off-by: Jeremy Allison Reviewed-by: Volker Lendecke --- Summary of changes: docs-xml/manpages/vfs_full_audit.8.xml | 218 - source3/modules/vfs_full_audit.c | 30 +++-- 2 files changed, 122 insertions(+), 126 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/manpages/vfs_full_audit.8.xml b/docs-xml/manpages/vfs_full_audit.8.xml index dcd71fa9b64..401ac5a0d8f 100644 --- a/docs-xml/manpages/vfs_full_audit.8.xml +++ b/docs-xml/manpages/vfs_full_audit.8.xml @@ -38,116 +38,114 @@ complete set of Samba VFS operations: -aio_force -audit_file -brl_lock_windows -brl_unlock_windows -chdir -chflags -chmod -close -closedir -connect -connectpath -create_dfs_pathat -create_file -disconnect -disk_free -durable_cookie -durable_disconnect -durable_reconnect -fallocate -fchmod -fchown -fdopendir -fget_compression -fget_dos_attributes -fget_nt_acl_at -fgetxattr -file_id_create -flistxattr -fremovexattr -fs_capabilities -fsctl -fset_dos_attributes -fset_nt_acl -fsetxattr -fs_file_id -fstat -fsync -fsync_recv -fsync_send -ftruncate -get_alloc_size -get_dfs_referrals -get_dos_attributes -get_dos_attributes_recv -get_dos_attributes_send -getlock -get_nt_acl -get_quota -get_real_filename -get_shadow_copy_data -getwd -getxattr -getxattrat_recv -getxattrat_send -is_offline -filesystem_sharemode -lchown -linkat -linux_setlease -listxattr -lock -lseek -lstat -mkdirat -mknodat -ntimes -offload_read_recv -offload_read_send -offload_write_recv -offload_write_send -open -pread -pread_recv -pread_send -pwrite -pwrite_recv -pwrite_send -read -readdir -readdir_attr -readlinkat -realpath -recvfile -removexattr -renameat -rewinddir -seekdir -sendfile -set_compression -set_dos_attributes -set_offline -set_quota -setxattr -snap_check_path -snap_create -snap_delete -stat -statvfs -streaminfo -strict_lock_check -symlinkat -sys_acl_blob_get_fd -sys_acl_blob_get_file -sys_acl_get_fd -sys_acl_get_file -sys_acl_set_fd -telldir -translate_name -unlinkat -write + aio_force + audit_file + brl_lock_windows + brl_unlock_windows + chdir + close + closedir + connect + connectpath + create_dfs_pathat + create_file + disconnect + disk_free + durable_cookie + durable_disconnect + durable_reconnect + fallocate + fchflags + fchmod + fchown + fcntl + fdopendir + fget_compression + fget_dos_attributes + fget_nt_acl + fgetxattr + file_id_create + filesystem_sharemode + flistxattr +
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 7e0e3f47cd6 s4/lib/registry: Fix use after free with popt 1.19 via 4b15d8c2a5c s3/utils: Fix use after free with popt 1.19 via e82699fcca3 s3/utils: Fix use after free with popt 1.19 via 31d3d10b260 s3/utils: Add missing poptFreeContext via ff003fc87b8 s3/param: Fix use after free with popt-1.19 via d26d3d9bff6 s3/rpcclient: Duplicate string returned from poptGetArg from 266bcedc18e s4:messaging: let imessaging_client_init() use imessaging_init_discard_incoming() https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 7e0e3f47cd67e4cadc101691cd14837f45d9506a Author: Noel Power Date: Fri Oct 14 11:53:53 2022 +0100 s4/lib/registry: Fix use after free with popt 1.19 popt1.19 fixes a leak that exposes a use as free, make sure we duplicate return of poptGetArg if poptFreeContext is called before we use it. ==6357== Command: ./bin/regpatch file ==6357== Can't load /home/npower/samba-back/INSTALL_DIR/etc/smb.conf - run testparm to debug it ==6357== Syscall param openat(filename) points to unaddressable byte(s) ==6357==at 0x4BFE535: open (in /usr/lib64/libc.so.6) ==6357==by 0x4861432: reg_diff_load (patchfile.c:345) ==6357==by 0x4861CD3: reg_diff_apply (patchfile.c:542) ==6357==by 0x10ADF9: main (regpatch.c:114) ==6357== Address 0x70f79d0 is 0 bytes inside a block of size 5 free'd ==6357==at 0x484617B: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==6357==by 0x4AF38B8: poptResetContext (in /usr/lib64/libpopt.so.0.0.2) ==6357==by 0x4AF45D4: poptFreeContext (in /usr/lib64/libpopt.so.0.0.2) ==6357==by 0x10ADCF: main (regpatch.c:111) ==6357== Block was alloc'd at ==6357==at 0x48437B4: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==6357==by 0x4AF52EE: poptGetNextOpt (in /usr/lib64/libpopt.so.0.0.2) ==6357==by 0x10ACBD: main (regpatch.c:79) ==6357== ==6357== Invalid read of size 1 ==6357==at 0x4849782: strlen (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==6357==by 0x4B5D50F: __vfprintf_internal (in /usr/lib64/libc.so.6) ==6357==by 0x4B7E719: __vasprintf_internal (in /usr/lib64/libc.so.6) ==6357==by 0x4AD32F0: __dbgtext_va (debug.c:1904) ==6357==by 0x4AD33F2: dbgtext (debug.c:1925) ==6357==by 0x4861515: reg_diff_load (patchfile.c:353) ==6357==by 0x4861CD3: reg_diff_apply (patchfile.c:542) ==6357==by 0x10ADF9: main (regpatch.c:114) ==6357== Address 0x70f79d0 is 0 bytes inside a block of size 5 free'd ==6357==at 0x484617B: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==6357==by 0x4AF38B8: poptResetContext (in /usr/lib64/libpopt.so.0.0.2) ==6357==by 0x4AF45D4: poptFreeContext (in /usr/lib64/libpopt.so.0.0.2) ==6357==by 0x10ADCF: main (regpatch.c:111) ==6357== Block was alloc'd at ==6357==at 0x48437B4: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==6357==by 0x4AF52EE: poptGetNextOpt (in /usr/lib64/libpopt.so.0.0.2) ==6357==by 0x10ACBD: main (regpatch.c:79) ==6357== ==6357== Invalid read of size 1 ==6357==at 0x4849794: strlen (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==6357==by 0x4B5D50F: __vfprintf_internal (in /usr/lib64/libc.so.6) ==6357==by 0x4B7E719: __vasprintf_internal (in /usr/lib64/libc.so.6) ==6357==by 0x4AD32F0: __dbgtext_va (debug.c:1904) ==6357==by 0x4AD33F2: dbgtext (debug.c:1925) ==6357==by 0x4861515: reg_diff_load (patchfile.c:353) ==6357==by 0x4861CD3: reg_diff_apply (patchfile.c:542) ==6357==by 0x10ADF9: main (regpatch.c:114) ==6357== Address 0x70f79d1 is 1 bytes inside a block of size 5 free'd ==6357==at 0x484617B: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==6357==by 0x4AF38B8: poptResetContext (in /usr/lib64/libpopt.so.0.0.2) ==6357==by 0x4AF45D4: poptFreeContext (in /usr/lib64/libpopt.so.0.0.2) ==6357==by 0x10ADCF: main (regpatch.c:111) ==6357== Block was alloc'd at ==6357==at 0x48437B4: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==6357==by 0x4AF52EE: poptGetNextOpt (in /usr/lib64/libpopt.so.0.0.2) ==6357==by 0x10ACBD: main (regpatch.c:79) ==6357== ==6357== Invalid read of size 1 ==6357==at 0x4B83DD0: _IO_default_xsputn (in /usr/lib64/libc.so.6) ==6357==by 0x4B5D39E: __vfprintf_internal (in /usr/lib64/libc.so.6) ==6357==by 0x4B7E719: __vasprintf_internal (in /usr/lib64/libc.so.6) ==6357==by 0x4AD32F0: __dbgtext_va (debug.c:1904) ==6357==by 0x4AD33F2: dbgtext (debug.c:1925) ==6357==by