1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3
Volker Lendecke 30c917c215 lib: Fix a theoretical out-of-bounds write
This routine looked fishy: We do cap_vals[num_cap_vals++] = XXX based
on #ifdefs and capabilities. Then later on we did a check that we did
not overwrite the stack. The change I did is to just count the number
of num_cap_vals++, right now it's 5. I know it is in different switch
branches, but with the #ifdefs it's a bit clumsy to read the exact
number of actual num_cap_vals++ that can happen in one run. On debian
buster, cap_val_t is an int, so this is not really wasting too much.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2020-11-10 19:49:33 +00:00
..
auth auth_generic: fix empty initializer compile warning 2020-11-10 06:53:42 +00:00
build
client libsmb: Remove "mntpoint" argument from cli_list() callback 2020-11-04 18:55:40 +00:00
exports
groupdb lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
include libsmb: Remove cli_state->dfs_mountpoint 2020-11-04 20:17:47 +00:00
intl
lib lib: Fix a theoretical out-of-bounds write 2020-11-10 19:49:33 +00:00
libads auth:creds: Rename CRED_USE_KERBEROS values 2020-11-03 15:25:37 +00:00
libgpo/gpext Spelling fixes s/emtpy/empty/ 2019-09-01 22:21:26 +00:00
libnet auth:creds: Rename CRED_USE_KERBEROS values 2020-11-03 15:25:37 +00:00
librpc s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
libsmb libsmb: Remove cli_state->dfs_mountpoint 2020-11-04 20:17:47 +00:00
locale pam_winbind/ro.po: fix error from previous patch merge 2020-10-29 20:49:16 +00:00
locking locking: Remove an unused anonymous struct reference 2020-11-10 19:49:33 +00:00
modules s3-vfs_glusterfs: always disable write-behind translator 2020-11-04 22:53:49 +00:00
nmbd daemons: report status to systemd even when running in foreground 2020-10-26 19:58:17 +00:00
param s3:param:service - ensure registry shares loaded before home check 2020-10-22 00:30:38 +00:00
passdb Revert "lookup_name: allow lookup for own realm" 2020-11-05 07:53:02 +00:00
printing smb: rename NTCREATEX_OPTIONS_PRIVATE_DELETE_ON_CLOSE to NTCREATEX_FLAG_DELETE_ON_CLOSE 2020-10-23 17:44:34 +00:00
profile s3:profile: Allow profile subsystem to use SHA1 in FIPS mode 2019-07-09 13:31:46 +00:00
registry s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
rpc_client auth:creds: Rename CRED_USE_KERBEROS values 2020-11-03 15:25:37 +00:00
rpc_server s3:rpc_server: Allow to use RC4 for creating trusts 2020-11-09 08:58:35 +00:00
rpcclient auth:creds: Rename CRED_USE_KERBEROS values 2020-11-03 15:25:37 +00:00
script torture: Show that recursive ls across dfs is broken 2020-11-04 18:55:40 +00:00
selftest test: Add a first unit test for notifyd 2020-10-24 05:57:31 +00:00
services
smbd smbd: Use ISDOT[DOT] in can_delete_directory_fsp() 2020-11-10 19:49:33 +00:00
torture libsmb: Remove "mntpoint" argument from cli_list_trans() callback 2020-11-04 18:55:40 +00:00
utils libsmb: Remove "mntpoint" argument from cli_list() callback 2020-11-04 18:55:40 +00:00
web
winbindd auth:creds: Rename CRED_USE_KERBEROS values 2020-11-03 15:25:37 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript build: put quotes around '!vfs_snapper' module instructions 2020-11-06 18:56:29 +00:00
wscript_build build: remove smbd_conn private library 2020-10-02 19:39:43 +00:00
wscript_configure_system_ncurses