1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/utils
Jeremy Allison 03841f9e44 Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request.
Found by the CodeNomicon test suites at the SNIA plugfest.

http://www.codenomicon.com/

If an invalid NetBIOS session request is received the code in name_len() in
libsmb/nmblib.c can hit an assert.

Re-write name_len() and name_extract() to use "buf/len" pairs and
always limit reads.

Jeremy.
2010-09-26 03:01:03 -07:00
..
dbwrap_tool.c s3-build: use dbwrap.h only where needed. 2010-08-26 00:25:55 +02:00
dbwrap_torture.c s3-build: use dbwrap.h only where needed. 2010-08-26 00:25:55 +02:00
debug2html.c
debugparse.c
eventlogadm.c s3:registry: extract reg_eventlog prototypes to header of their own 2010-05-25 10:35:26 +02:00
log2pcaphex.c s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +02:00
net_ads_gpo.c s3-auth Change struct nt_user_token -> struct security_token 2010-09-11 18:46:05 +10:00
net_ads.c s3-dsgetdcname: always pass in messaging context. 2010-09-23 10:26:25 -07:00
net_afs.c s3: Fix the build of net_afs.c with --fake-kaserver=yes, bug 7216 2010-03-06 13:00:53 +01:00
net_afs.h
net_cache.c s3 net: Fix compile warnings 2010-01-19 14:48:34 +01:00
net_conf.c smbconf: only include smbconf headers where needed. 2010-05-18 10:36:33 +02:00
net_dns.c s3: Fix some nonempty blank lines 2010-07-18 21:22:41 +02:00
net_dom.c s3-net: only include netapi header when needed. 2010-08-06 15:43:38 +02:00
net_eventlog.c s3: Remove use of iconv_convenience. 2010-05-18 11:45:31 +02:00
net_file.c s3 net: i18n support for net file 2009-07-30 09:35:42 +02:00
net_g_lock.c s3: Remove the dependency of g_lock on procid_self 2010-08-28 12:28:53 +02:00
net_group.c s3: Fix Coverity ID 629: DEADCODE 2010-02-13 17:47:43 +01:00
net_groupmap.c s3:dom_sid Global replace of DOM_SID with struct dom_sid 2010-05-21 10:39:59 +02:00
net_help_common.c s3 net: i18n support for net help 2009-07-30 11:32:08 +02:00
net_help_common.h
net_help.c s3 net: Add a few missing gettext calls. 2010-01-05 09:55:52 +01:00
net_idmap.c s3-build: use dbwrap.h only where needed. 2010-08-26 00:25:55 +02:00
net_join.c s3 net: i18n for net join 2009-07-30 12:07:31 +02:00
net_lookup.c s3-dsgetdcname: always pass in messaging context. 2010-09-23 10:26:25 -07:00
net_printing.c s3-net: fix copy/paste typo in usage of "net printing". 2010-08-06 17:38:15 +02:00
net_proto.h s3:auth Remove NT_USER_TOKEN 2010-09-11 18:46:06 +10:00
net_rap.c s3-rap: include svcctl.h where needed. 2010-08-06 15:43:37 +02:00
net_registry_util.c s3-registry: avoid using registry_value union. 2010-07-02 10:50:21 +02:00
net_registry_util.h
net_registry.c s3:net: add subcommand net registry deletekey_recursive 2010-09-22 06:30:01 +02:00
net_rpc_audit.c s3:dom_sid Global replace of DOM_SID with struct dom_sid 2010-05-21 10:39:59 +02:00
net_rpc_join.c s3-lsa: separate out init_lsa headers. 2010-08-25 22:50:39 +02:00
net_rpc_printer.c s3-build: avoid to globally include printing and spoolss headers. 2010-07-31 00:50:31 +02:00
net_rpc_registry.c s3: Fix bug 7470 2010-09-25 10:59:15 -07:00
net_rpc_rights.c s3-lsa: separate out init_lsa headers. 2010-08-25 22:50:39 +02:00
net_rpc_samsync.c s3-util: use shared dom_sid_dup. 2010-09-20 14:05:07 -07:00
net_rpc_service.c s3:utils/net_rpc_service.c: we also need some ndr_pull functions 2010-08-08 11:05:18 +02:00
net_rpc_sh_acct.c s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +02:00
net_rpc_shell.c s3-net: only include netapi header when needed. 2010-08-06 15:43:38 +02:00
net_rpc.c s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions. 2010-09-20 14:04:37 -07:00
net_sam.c s3: Remove talloc_autofree_context() from net_sam_provision() 2010-09-26 03:29:29 +02:00
net_serverid.c s3-build: use dbwrap.h only where needed. 2010-08-26 00:25:55 +02:00
net_share.c s3: net_share.c: fix argc handling 2010-03-02 15:27:58 -08:00
net_status.c s3: Abstract access to sessionid.tdb, similar to conn_tdb.c 2010-03-01 17:53:22 +01:00
net_time.c s3 net: Fix compile warnings 2010-01-19 14:48:34 +01:00
net_user.c s3 net: i18n support for net user 2009-08-11 09:34:24 +02:00
net_usershare.c s3:dom_sid Global replace of DOM_SID with struct dom_sid 2010-05-21 10:39:59 +02:00
net_util.c s3-secrets: only include secrets.h when needed. 2010-08-05 10:12:25 +02:00
net.c s3-dsgetdcname: always pass in messaging context. 2010-09-23 10:26:25 -07:00
net.h s3-dsgetdcname: always pass in messaging context. 2010-09-23 10:26:25 -07:00
netlookup.c s3:dom_sid Global replace of DOM_SID with struct dom_sid 2010-05-21 10:39:59 +02:00
nmblookup.c s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +02:00
ntlm_auth_diagnostics.c s3-build: only include nsswitch header where needed. 2010-08-26 00:20:28 +02:00
ntlm_auth_proto.h s3: set winbindd request flags in ntlm_auth to make it contact trusted domain when krb5 auth is enabled 2009-05-22 02:03:32 +08:00
ntlm_auth.c s3: Add the PAC info3 struct to the netsamlogon_cache in ntlm_auth 2010-09-16 12:02:57 -07:00
ntlm_auth.h
passwd_proto.h
passwd_util.c
pdbedit.c s3-passdb: include samr.h where needed. 2010-08-06 15:43:37 +02:00
profiles.c s3: Fix bug 7470 2010-09-25 10:59:15 -07:00
sharesec.c s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions. 2010-09-20 14:04:37 -07:00
smbcacls.c s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions. 2010-09-20 14:04:37 -07:00
smbcontrol.c s3: Lift the server_messaging_context from notify_printer_byname 2010-08-08 18:09:36 +02:00
smbcquotas.c s3-build: only include "fake_file.h" where needed. 2010-08-26 00:20:28 +02:00
smbfilter.c Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request. 2010-09-26 03:01:03 -07:00
smbget.c Check all SMB_MALLOC returns correctly. Found by Andreas Moroder <andreas.moroder@gmx.net>. 2010-09-10 11:56:26 -07:00
smbpasswd.c s3: Remove talloc_autofree_context() from smbpasswd 2010-09-26 03:29:29 +02:00
smbta-util.c s3-secrets: only include secrets.h when needed. 2010-08-05 10:12:25 +02:00
smbtree.c s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +02:00
smbw_sample.c
split_tokens.c s3-build: fix the build of split_tokens. 2010-09-23 00:15:22 -07:00
status_profile.c s3: Add SMB2 performance counters. 2010-07-07 18:06:59 -07:00
status.c s3-build: use dbwrap.h only where needed. 2010-08-26 00:25:55 +02:00
testparm.c s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +02:00