mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
dfbd950a1d
==36258==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x51300000b096 at pc 0x7fb6b4880b46 bp 0x7ffc67d44b40 sp 0x7ffc67d44300 READ of size 1 at 0x51300000b096 thread T0 #0 0x7fb6b4880b45 in strlen ../../../../libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:391 #1 0x560fe898cde3 in winbindd_wins_byip_done ../../source3/winbindd/winbindd_wins_byip.c:111 #2 0x7fb6b4ef8ae5 in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177 #3 0x7fb6b4ef8d1c in tevent_req_finish ../../lib/tevent/tevent_req.c:234 #4 0x7fb6b4ef8d84 in _tevent_req_done ../../lib/tevent/tevent_req.c:240 #5 0x7fb6b1e24c80 in node_status_query_done ../../source3/libsmb/namequery.c:904 #6 0x7fb6b4ef8ae5 in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177 #7 0x7fb6b4ef8d1c in tevent_req_finish ../../lib/tevent/tevent_req.c:234 #8 0x7fb6b4ef8d84 in _tevent_req_done ../../lib/tevent/tevent_req.c:240 #9 0x7fb6b1e250bc in nb_trans_done ../../source3/libsmb/namequery.c:756 #10 0x7fb6b4ef8ae5 in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177 #11 0x7fb6b4ef8d1c in tevent_req_finish ../../lib/tevent/tevent_req.c:234 #12 0x7fb6b4ef8d84 in _tevent_req_done ../../lib/tevent/tevent_req.c:240 #13 0x7fb6b1e270af in sock_packet_read_got_socket ../../source3/libsmb/namequery.c:537 #14 0x7fb6b4ef8ae5 in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177 #15 0x7fb6b4ef8d1c in tevent_req_finish ../../lib/tevent/tevent_req.c:234 #16 0x7fb6b4ef8d84 in _tevent_req_done ../../lib/tevent/tevent_req.c:240 #17 0x7fb6b33db183 in tdgram_recvfrom_done ../../lib/tsocket/tsocket.c:240 #18 0x7fb6b4ef8ae5 in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177 #19 0x7fb6b4ef8d1c in tevent_req_finish ../../lib/tevent/tevent_req.c:234 #20 0x7fb6b4ef8d84 in _tevent_req_done ../../lib/tevent/tevent_req.c:240 #21 0x7fb6b33e0d99 in tdgram_bsd_recvfrom_handler ../../lib/tsocket/tsocket_bsd.c:1087 #22 0x7fb6b33e0263 in tdgram_bsd_fde_handler ../../lib/tsocket/tsocket_bsd.c:811 #23 0x7fb6b4ef5ac1 in tevent_common_invoke_fd_handler ../../lib/tevent/tevent_fd.c:174 #24 0x7fb6b4f0b185 in epoll_event_loop ../../lib/tevent/tevent_epoll.c:696 #25 0x7fb6b4f0b185 in epoll_event_loop_once ../../lib/tevent/tevent_epoll.c:926 #26 0x7fb6b4f037b8 in std_event_loop_once ../../lib/tevent/tevent_standard.c:110 #27 0x7fb6b4ef3549 in _tevent_loop_once ../../lib/tevent/tevent.c:820 #28 0x560fe8a15198 in main ../../source3/winbindd/winbindd.c:1729 #29 0x7fb6afe2a2ad in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #30 0x7fb6afe2a378 in __libc_start_main_impl ../csu/libc-start.c:360 #31 0x560fe89454e4 in _start ../sysdeps/x86_64/start.S:115 0x51300000b096 is located 12 bytes after 330-byte region [0x51300000af40,0x51300000b08a) allocated by thread T0 here: #0 0x7fb6b48fc777 in malloc ../../../../libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7fb6b3a64c57 in __talloc_with_prefix ../../lib/talloc/talloc.c:783 #2 0x7fb6b3a66acf in __talloc ../../lib/talloc/talloc.c:825 #3 0x7fb6b3a66acf in _talloc_named_const ../../lib/talloc/talloc.c:982 #4 0x7fb6b3a66acf in _talloc_array ../../lib/talloc/talloc.c:2784 #5 0x7fb6b1e2b43e in parse_node_status ../../source3/libsmb/namequery.c:337 #6 0x7fb6b1e2b43e in node_status_query_recv ../../source3/libsmb/namequery.c:921 #7 0x560fe898cc4f in winbindd_wins_byip_done ../../source3/winbindd/winbindd_wins_byip.c:87 #8 0x7fb6b4ef8ae5 in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177 #9 0x7fb6b4ef8d1c in tevent_req_finish ../../lib/tevent/tevent_req.c:234 #10 0x7fb6b4ef8d84 in _tevent_req_done ../../lib/tevent/tevent_req.c:240 #11 0x7fb6b1e24c80 in node_status_query_done ../../source3/libsmb/namequery.c:904 #12 0x7fb6b4ef8ae5 in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177 #13 0x7fb6b4ef8d1c in tevent_req_finish ../../lib/tevent/tevent_req.c:234 #14 0x7fb6b4ef8d84 in _tevent_req_done ../../lib/tevent/tevent_req.c:240 #15 0x7fb6b1e250bc in nb_trans_done ../../source3/libsmb/namequery.c:756 #16 0x7fb6b4ef8ae5 in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177 #17 0x7fb6b4ef8d1c in tevent_req_finish ../../lib/tevent/tevent_req.c:234 #18 0x7fb6b4ef8d84 in _tevent_req_done ../../lib/tevent/tevent_req.c:240 #19 0x7fb6b1e270af in sock_packet_read_got_socket ../../source3/libsmb/namequery.c:537 #20 0x7fb6b4ef8ae5 in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177 #21 0x7fb6b4ef8d1c in tevent_req_finish ../../lib/tevent/tevent_req.c:234 #22 0x7fb6b4ef8d84 in _tevent_req_done ../../lib/tevent/tevent_req.c:240 #23 0x7fb6b33db183 in tdgram_recvfrom_done ../../lib/tsocket/tsocket.c:240 #24 0x7fb6b4ef8ae5 in _tevent_req_notify_callback ../../lib/tevent/tevent_req.c:177 #25 0x7fb6b4ef8d1c in tevent_req_finish ../../lib/tevent/tevent_req.c:234 #26 0x7fb6b4ef8d84 in _tevent_req_done ../../lib/tevent/tevent_req.c:240 #27 0x7fb6b33e0d99 in tdgram_bsd_recvfrom_handler ../../lib/tsocket/tsocket_bsd.c:1087 #28 0x7fb6b33e0263 in tdgram_bsd_fde_handler ../../lib/tsocket/tsocket_bsd.c:811 #29 0x7fb6b4ef5ac1 in tevent_common_invoke_fd_handler ../../lib/tevent/tevent_fd.c:174 #30 0x7fb6b4f0b185 in epoll_event_loop ../../lib/tevent/tevent_epoll.c:696 #31 0x7fb6b4f0b185 in epoll_event_loop_once ../../lib/tevent/tevent_epoll.c:926 #32 0x7fb6b4f037b8 in std_event_loop_once ../../lib/tevent/tevent_standard.c:110 #33 0x7fb6b4ef3549 in _tevent_loop_once ../../lib/tevent/tevent.c:820 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> |
||
---|---|---|
.. | ||
idmap_hash | ||
idmap_ad_nss.c | ||
idmap_ad.c | ||
idmap_autorid_tdb.c | ||
idmap_autorid.c | ||
idmap_ldap.c | ||
idmap_nss.c | ||
idmap_passdb.c | ||
idmap_proto.h | ||
idmap_rfc2307.c | ||
idmap_rid.c | ||
idmap_rw.c | ||
idmap_rw.h | ||
idmap_script.c | ||
idmap_tdb2.c | ||
idmap_tdb_common.c | ||
idmap_tdb_common.h | ||
idmap_tdb.c | ||
idmap_util.c | ||
idmap.c | ||
nss_info_template.c | ||
nss_info.c | ||
wb_alias_members.c | ||
wb_dsgetdcname.c | ||
wb_getgrsid.c | ||
wb_getpwsid.c | ||
wb_gettoken.c | ||
wb_group_members.c | ||
wb_lookupname.c | ||
wb_lookupsid.c | ||
wb_lookupsids.c | ||
wb_lookupuseraliases.c | ||
wb_lookupusergroups.c | ||
wb_next_grent.c | ||
wb_next_pwent.c | ||
wb_query_group_list.c | ||
wb_query_user_list.c | ||
wb_queryuser.c | ||
wb_seqnum.c | ||
wb_seqnums.c | ||
wb_sids2xids.c | ||
wb_xids2sids.c | ||
winbindd_ads.c | ||
winbindd_ads.h | ||
winbindd_allocate_gid.c | ||
winbindd_allocate_uid.c | ||
winbindd_cache.c | ||
winbindd_ccache_access.c | ||
winbindd_change_machine_acct.c | ||
winbindd_check_machine_acct.c | ||
winbindd_cm.c | ||
winbindd_cred_cache.c | ||
winbindd_creds.c | ||
winbindd_domain_info.c | ||
winbindd_domain.c | ||
winbindd_dsgetdcname.c | ||
winbindd_dual_ndr.c | ||
winbindd_dual_srv.c | ||
winbindd_dual.c | ||
winbindd_endgrent.c | ||
winbindd_endpwent.c | ||
winbindd_getdcname.c | ||
winbindd_getgrent.c | ||
winbindd_getgrgid.c | ||
winbindd_getgrnam.c | ||
winbindd_getgroups.c | ||
winbindd_getpwent.c | ||
winbindd_getpwnam.c | ||
winbindd_getpwsid.c | ||
winbindd_getpwuid.c | ||
winbindd_getsidaliases.c | ||
winbindd_getuserdomgroups.c | ||
winbindd_getusersids.c | ||
winbindd_gpupdate.c | ||
winbindd_group.c | ||
winbindd_idmap.c | ||
winbindd_irpc.c | ||
winbindd_list_groups.c | ||
winbindd_list_users.c | ||
winbindd_locator.c | ||
winbindd_lookupname.c | ||
winbindd_lookuprids.c | ||
winbindd_lookupsid.c | ||
winbindd_lookupsids.c | ||
winbindd_misc.c | ||
winbindd_msrpc.c | ||
winbindd_ndr.c | ||
winbindd_pam_auth_crap.c | ||
winbindd_pam_auth.c | ||
winbindd_pam_chauthtok.c | ||
winbindd_pam_chng_pswd_auth_crap.c | ||
winbindd_pam_logoff.c | ||
winbindd_pam.c | ||
winbindd_ping_dc.c | ||
winbindd_proto.h | ||
winbindd_reconnect_ads.c | ||
winbindd_reconnect.c | ||
winbindd_rpc.c | ||
winbindd_rpc.h | ||
winbindd_samr.c | ||
winbindd_setgrent.c | ||
winbindd_setpwent.c | ||
winbindd_show_sequence.c | ||
winbindd_sids_to_xids.c | ||
winbindd_traceid.c | ||
winbindd_traceid.h | ||
winbindd_util.c | ||
winbindd_wins_byip.c | ||
winbindd_wins_byname.c | ||
winbindd_xids_to_sids.c | ||
winbindd.c | ||
winbindd.h | ||
wscript_build |