1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/libsmb
Andreas Schneider 96b5cfe4e6 s3:libsmb: Pass a memory context to get_ipc_connect()
Indirect leak of 792 byte(s) in 1 object(s) allocated from:                                                                                                                              #0 0x7f261b8dc03f in malloc (/lib64/libasan.so.8+0xdc03f) (BuildId: 3e1694ad218c99a8b1b69231666a27df63cf19d0)
    #1 0x7f261b2c2bc2 in __talloc_with_prefix ../../lib/talloc/talloc.c:783                                                                                                              #2 0x7f261b2c473d in __talloc ../../lib/talloc/talloc.c:825
    #3 0x7f261b2c473d in _talloc_named_const ../../lib/talloc/talloc.c:982
    #4 0x7f261b2c473d in _talloc_zero ../../lib/talloc/talloc.c:2421                                                                                                                     #5 0x7f2618cb42bc in smbXcli_conn_create ../../libcli/smb/smbXcli_base.c:350
    #6 0x7f261a74acd3 in cli_state_create ../../source3/libsmb/clientgen.c:196                                                                                                           #7 0x7f261a751f0d in cli_connect_nb_done ../../source3/libsmb/cliconnect.c:2715
    #8 0x7f261a69bacf in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177                                                                                                   #9 0x7f261a69bd06 in tevent_req_finish ../../lib/tevent/tevent_req.c:234
    #10 0x7f261a69bd6e in _tevent_req_done ../../lib/tevent/tevent_req.c:240                                                                                                             #11 0x7f261a752dde in cli_connect_sock_done ../../source3/libsmb/cliconnect.c:2624
    #12 0x7f261a69bacf in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177
    #13 0x7f261a69bd06 in tevent_req_finish ../../lib/tevent/tevent_req.c:234
    #14 0x7f261a69bd6e in _tevent_req_done ../../lib/tevent/tevent_req.c:240
    #15 0x7f261a7ba2c4 in smbsock_any_connect_connected ../../source3/libsmb/smbsock_connect.c:788
    #16 0x7f261a69bacf in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177
    #17 0x7f261a69bd06 in tevent_req_finish ../../lib/tevent/tevent_req.c:234
    #18 0x7f261a69bd6e in _tevent_req_done ../../lib/tevent/tevent_req.c:240
    #19 0x7f261a7b75ad in smbsock_connect_connected ../../source3/libsmb/smbsock_connect.c:524
    #20 0x7f261a69bacf in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177
    #21 0x7f261a69bd06 in tevent_req_finish ../../lib/tevent/tevent_req.c:234
    #22 0x7f261a69bd6e in _tevent_req_done ../../lib/tevent/tevent_req.c:240
    #23 0x7f261b4b400a in open_socket_out_connected ../../source3/lib/util_sock.c:484
    #24 0x7f261a69bacf in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177
    #25 0x7f261a69bd06 in tevent_req_finish ../../lib/tevent/tevent_req.c:234
    #26 0x7f261a69be3e in tevent_req_trigger ../../lib/tevent/tevent_req.c:291
    #27 0x7f261a699df4 in tevent_common_invoke_immediate_handler ../../lib/tevent/tevent_immediate.c:190
    #28 0x7f261a699e31 in tevent_common_loop_immediate ../../lib/tevent/tevent_immediate.c:236
    #29 0x7f261a6ad3ec in epoll_event_loop_once ../../lib/tevent/tevent_epoll.c:905
    #30 0x7f261a6a679e in std_event_loop_once ../../lib/tevent/tevent_standard.c:110
    #31 0x7f261a696538 in _tevent_loop_once ../../lib/tevent/tevent.c:820

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Apr 29 09:48:47 UTC 2024 on atb-devel-224
2024-04-29 09:48:47 +00:00
..
ABI libsmbclient: Add smbc_[gs]etOptionPosixExtensions() 2023-10-12 16:55:34 +00:00
async_smb.c libcli: SMBntcreateX can return STOPPED_ON_SYMLINK 2023-11-01 18:55:32 +00:00
auth_generic.c s3:auth_generic: fix talloc_unlink() in auth_generic_set_creds() 2024-04-23 14:17:32 +00:00
cli_smb2_fnum.c libsmb: remove mode from struct file_info 2023-10-31 04:38:42 +00:00
cli_smb2_fnum.h libsmb: infer posix context from info_level 2023-10-31 04:38:42 +00:00
cliconnect.c s3:libsmb: Pass a memory context to get_ipc_connect() 2024-04-29 09:48:47 +00:00
clidfs.c s3:libsmb: Pass memory context to cli_connect_nb() 2024-04-29 08:43:32 +00:00
clidgram.c s3:libsmb/unexpected: pass nmbd_socket_dir from the callers of nb_packet_{server_create,reader_send}() 2024-04-05 12:24:41 +00:00
clidgram.h
clientgen.c s3:libsmb: Improve logging for failover scenarios 2023-10-18 14:43:37 +00:00
clierror.c libsmb: Fix whitespace and a typo 2024-01-23 23:28:31 +00:00
clifile.c libsmb: Simplify an if-condition 2024-03-12 13:31:31 +00:00
clifsinfo.c libsmb: Fix whitespace and a typo 2024-01-23 23:28:31 +00:00
clilist.c libsmb: infer posix context from info_level 2023-10-31 04:38:42 +00:00
climessage.c libsmb: Use tevent_req_nterror() properly 2023-08-22 16:45:31 +00:00
clioplock.c libsmb: Use tevent_req_oom() where appropriate 2023-08-22 16:45:31 +00:00
cliprint.c libsmb: Remove a call to SMBC_errno() 2023-09-25 19:01:34 +00:00
cliquota.c libsmb: Fix whitespace and a typo 2024-01-23 23:28:31 +00:00
clirap.c libsmb: Use cli_smb2_qpathinfo_send() for SMB_QUERY_FILE_ALT_NAME_INFO 2023-10-12 17:51:44 +00:00
clirap.h libsmb: Add placeholder "mode" parameter to cli_qpathinfo2() 2023-10-12 16:55:34 +00:00
clireadwrite.c libsmb: Remove "trans_oob()" macro 2021-11-11 19:08:37 +00:00
clisecdesc.c libsmb: Fix whitespace and a typo 2024-01-23 23:28:31 +00:00
clisymlink.c libsmb: Pass "flags" through cli_close_send() and pylibsmb 2023-10-10 08:19:29 +00:00
clitrans.c
conncache.c libsmb: Fix whitespace and a typo 2024-01-23 23:28:31 +00:00
dsgetdcname.c s3:libsmb/dsgetdcname: use NETLOGON_NT_VERSION_AVOID_NT4EMUL 2024-04-05 12:24:41 +00:00
dsgetdcname.h s3-dsgetdcname: add dsgetonedcname() 2021-07-14 16:49:30 +00:00
errormap_wbc.c libsmb: Fix whitespace and a typo 2024-01-23 23:28:31 +00:00
errormap_wbc.h
errormap.c libsmb: Fix whitespace and a typo 2024-01-23 23:28:31 +00:00
libsmb_cache.c libsmb: Make setting errno safer in SMBC_add_cached_server() 2023-04-18 14:58:36 +00:00
libsmb_compat.c libsmb: Slightly simplify smbc_init() 2023-04-18 14:58:36 +00:00
libsmb_context.c libsmbclient: Add smbc_[gs]etOptionPosixExtensions() 2023-10-12 16:55:34 +00:00
libsmb_dir.c libsmb: Remove a call to SMBC_errno() 2023-09-25 19:01:34 +00:00
libsmb_file.c Fix a few "might be uninitialized" errors 2024-04-23 19:02:10 +00:00
libsmb_misc.c libsmb: Remove SMBC_errno() 2023-09-25 19:01:34 +00:00
libsmb_path.c s3:libsmb: Add missing parenthesis to logging message 2023-08-08 04:39:38 +00:00
libsmb_printjob.c libsmb: Remove a call to SMBC_errno() 2023-09-25 19:01:34 +00:00
libsmb_server.c s3:libsmb: Pass memory context to cli_full_connection_creds() 2024-04-29 08:43:32 +00:00
libsmb_setget.c libsmbclient: Add smbc_[gs]etOptionPosixExtensions() 2023-10-12 16:55:34 +00:00
libsmb_stat.c libsmb: Expand IS_DOS_* macros 2023-10-10 23:23:40 +00:00
libsmb_thread_impl.c libsmb: Fix whitespace and a typo 2024-01-23 23:28:31 +00:00
libsmb_thread_posix.c libsmb: Fix whitespace and a typo 2024-01-23 23:28:31 +00:00
libsmb_xattr.c s3:libsmb_xattr: ace_compare() uses NUMERIC_CMP() 2024-04-10 23:58:12 +00:00
libsmb.h
namecache.c s3:libsmb: Fix code spelling 2023-07-13 06:34:01 +00:00
namequery_dc.c libsmb: Fix whitespace and a typo 2024-01-23 23:28:31 +00:00
namequery.c s3:libsmb:namequery: use NUMERIC_CMP in addr_compare 2024-04-10 22:56:33 +00:00
namequery.h lib: Move sockaddr_storage_to_samba_sockaddr() to lib/ 2021-01-11 13:19:32 +00:00
nmblib.c s3:libsmb:nmblib: use NUMERIC_CMP in status_compare 2024-04-23 01:33:29 +00:00
nmblib.h s3:libsmb/unexpected: pass nmbd_socket_dir from the callers of nb_packet_{server_create,reader_send}() 2024-04-05 12:24:41 +00:00
passchange.c s3:libsmb: Pass memory context to cli_connect_nb() 2024-04-29 08:43:32 +00:00
proto.h s3:libsmb: Make get_ipc_connect() static 2024-04-29 08:43:32 +00:00
pylibsmb.c s3:libsmb: Pass memory context to cli_full_connection_creds_recv() 2024-04-29 08:43:32 +00:00
samlogon_cache.c s3:winbind: Improve logging in samlogon_cache.c 2022-07-15 14:25:38 +00:00
samlogon_cache.h
smbclient.pc.in
smberr.c libsmb: Fix whitespace and a typo 2024-01-23 23:28:31 +00:00
smbsock_connect.c libsmb: Use tevent_req_nterror() properly 2023-08-22 16:45:31 +00:00
trusts_util.c s3:libsmb: Fix code spelling 2023-07-13 06:34:01 +00:00
unexpected.c s3:libsmb/unexpected: pass nmbd_socket_dir from the callers of nb_packet_{server_create,reader_send}() 2024-04-05 12:24:41 +00:00
unexpected.h s3:libsmb/unexpected: pass nmbd_socket_dir from the callers of nb_packet_{server_create,reader_send}() 2024-04-05 12:24:41 +00:00
wscript libsmbclient: Add smbc_[gs]etOptionPosixExtensions() 2023-10-12 16:55:34 +00:00