1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3
Jeremy Allison 3ddc9344c2 CVE-2022-32742: s3: smbd: Harden the smbreq_bufrem() macro.
Fixes the raw.write.bad-write test.

NB. We need the two (==0) changes in source3/smbd/smb2_reply.c
as the gcc optimizer now knows that the return from
smbreq_bufrem() can never be less than zero.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15085

Remove knownfail.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): Jule Anger <janger@samba.org>
Autobuild-Date(master): Wed Jul 27 11:46:46 UTC 2022 on sn-devel-184
2022-07-27 11:46:46 +00:00
..
auth s3:smbd: Free allocated strings before leaving user_in_netgroup() function 2022-06-09 22:40:43 +00:00
build
client s3/client: fix dfs deltree, resolve dfs path 2022-06-17 17:12:07 +00:00
exports
groupdb
include CVE-2022-32742: s3: smbd: Harden the smbreq_bufrem() macro. 2022-07-27 11:46:46 +00:00
intl
lib s3:dbwrap_watch: call dbwrap_watched_trigger_wakeup() outside of the low level record lock 2022-07-26 14:32:35 +00:00
libads s3: libads: Fix coverity false positive. 2022-07-04 16:42:28 +00:00
libgpo/gpext
libnet s3:libads: Allocate ads->auth.ccache_name under ADS_STRUCT talloc context 2022-06-27 15:50:30 +00:00
librpc lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
libsmb s3:winbind: Improve logging in samlogon_cache.c 2022-07-15 14:25:38 +00:00
locale spelling: connnect encrytion exisit expection explicit invalide missmatch paramater paramter partion privilige relase reponse seperate unkown verson authencication progagated 2022-06-10 18:12:33 +00:00
locking s3: smbd: Move implicit call to lp_posix_cifsu_locktype() out of init_strict_lock_struct(). 2022-01-06 15:11:38 +00:00
modules vfs_error_inject: Ignore openat() from openat_pathref_dirfsp_nosymlink() 2022-07-25 12:04:33 +00:00
nmbd source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
param dsdb: Allow password history and password changes without an NT hash 2022-06-26 22:10:29 +00:00
passdb CVE-2022-32746 ldb: Make use of functions for appending to an ldb_message 2022-07-27 10:52:36 +00:00
printing s3:printing: Do not clear the printer-list.tdb 2022-06-30 22:08:39 +00:00
profile s3:profile: make use of tevent_cached_getpid() in performance critical code 2022-07-25 18:32:18 +00:00
registry registry3: Align an integer type 2022-07-25 12:04:33 +00:00
rpc_client spelling: connnect encrytion exisit expection explicit invalide missmatch paramater paramter partion privilige relase reponse seperate unkown verson authencication progagated 2022-06-10 18:12:33 +00:00
rpc_server mdssvc: return all-zero policy handle if spotlight is disabled 2022-07-12 15:42:52 +00:00
rpcclient s3:rpcclient: Goto done in cmd_samr_setuserinfo_int() 2022-07-18 21:21:59 +00:00
script smbd: Userspace symlink eval in filename_convert_dirfsp() 2022-07-25 12:56:08 +00:00
selftest s4:torture: Rename rpc.samr.passwords tests 2022-07-15 13:28:37 +00:00
services s3:services: Disable rcinit-based service control code 2021-12-10 14:02:30 +00:00
smbd CVE-2022-32742: s3: smbd: Harden the smbreq_bufrem() macro. 2022-07-27 11:46:46 +00:00
torture s3:dbwrap_watch: allow callers of dbwrap_watched_watch_send/recv() to manage the watcher instances 2022-07-26 13:40:34 +00:00
utils testparm: clarify "Weak crypto is allowed" message 2022-07-01 14:35:09 +00:00
web
winbindd winbind: Fix a "format string is not a string literal" warning 2022-07-23 23:29:38 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript Revert "s3:smbd: Remove NIS support" 2022-06-09 21:45:28 +00:00
wscript_build s3:waf: Fix version number of public libsmbconf 2022-06-24 09:48:38 +00:00
wscript_configure_system_ncurses