1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/libsmb
Andreas Schneider 93d2847bf4 s3-libsmb: Remove check if array is NULL.
rdata is an array with data. rdlength defines how big rdata is. So if
rdlength is not set we have a big problem.

Found by Coverity.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
2012-12-21 13:56:01 +01:00
..
ABI s3-libsmbclient: change vnum to 0.2.0 2012-06-12 10:48:15 +02:00
async_smb.c libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and smb1cli_trans* 2012-07-24 21:22:44 +02:00
auth_generic.c s3-param: Rename loadparm_s3_context -> loadparm_s3_helpers 2012-06-27 17:11:16 +02:00
cli_np_tstream.c libcli/smb: pass smbXcli_tcon to smb2cli_ioctl*() 2012-07-24 22:20:06 +02:00
cli_np_tstream.h s3:libsmb/cli_np_tstream: remove unused tstream_cli_np_existing() 2012-04-27 08:31:38 +02:00
cliconnect.c Avoid overriding default ccache for ads operations. 2012-09-12 21:18:09 +02:00
clidfs.c s3: Make --pw-nt-hash useable in smbclient 2012-06-12 12:41:10 +02:00
clidgram.c Move everything to use the common pidfile functions. 2012-07-19 16:36:18 -07:00
clidgram.h Fix bug #8953 - winbind can hang as nbt_getdc() has no timeout. 2012-05-22 16:25:14 -07:00
clientgen.c Clean up client timeout definitions [rev. 2] 2012-12-06 03:25:58 +01:00
clierror.c s3:libsmb: get rid of cli_state_disconnect 2012-05-28 14:49:49 +02:00
clifile.c s3:libsmb correctly set isFsctl for snapshot list 2012-08-30 18:57:24 +02:00
clifsinfo.c s3:libsmb: get rid of cli_has_async_calls 2012-05-28 14:49:50 +02:00
clilist.c Fix bug in SMB_FIND_INFO_STANDARD parsing found by Volker. 2012-08-22 10:03:20 -07:00
climessage.c s3:libsmb: remove unused 'inbuf' variable 2012-06-05 17:33:49 +02:00
clioplock.c s3: Convert cli_oplock_break_waiter to smbXcli 2012-09-23 07:20:20 -07:00
cliprint.c s3:libsmb: get rid of cli_state_server_time_zone 2012-05-28 14:49:48 +02:00
cliquota.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
clirap2.c Check error returns from strupper_m() (in all reasonable places). 2012-08-09 12:06:54 -07:00
clirap.c Check error returns from strupper_m() (in all reasonable places). 2012-08-09 12:06:54 -07:00
clirap.h build: Remove SMB_OFF_T, replace with off_t 2012-04-06 01:47:43 +02:00
clireadwrite.c s3:libsmb: remove unused 'inbuf' variable 2012-06-05 17:33:49 +02:00
clisecdesc.c s3:libsmb: add cli_{query,set}_security_descriptor() which take sec_info flags 2012-12-02 22:53:32 +01:00
clispnego.c Fix bug #9213 - Bad ASN.1 NegTokenInit packet can cause invalid free. 2012-09-26 04:07:57 +02:00
clistr.c s3:libsmb: remove unused clistr_push_fn() 2011-07-07 19:16:28 +02:00
clisymlink.c s3:libsmb: get rid of cli_has_async_calls 2012-05-28 14:49:50 +02:00
clitrans.c libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and smb1cli_trans* 2012-07-24 21:22:44 +02:00
conncache.c s3: Fix Coverity ID 2147, FORWARD_NULL 2011-03-16 22:07:24 +01:00
dsgetdcname.c s3-param: Make lp_name_resolve_order() return a list 2012-07-19 08:02:32 +02:00
errormap_wbc.c s3-errormap: move (unused) map_nt_error_from_wbcErr out of errormap. 2011-02-25 01:08:41 +01:00
errormap_wbc.h source3/libsmb/errormap_wbc.h: fix licence/copyright 2011-06-10 15:12:27 +02:00
errormap.c s3-libsmb: Remove dead gssapi code. 2012-02-01 23:29:44 +01:00
libsmb_cache.c s3-libsmb: move protos to libsmb/proto.h 2011-05-06 16:37:18 +02:00
libsmb_compat.c
libsmb_context.c s3-libsmbclient: Add missing talloc_stackframe() calls 2012-07-29 05:21:23 +02:00
libsmb_dir.c s3:libsmb: get rid of cli_state_remote_name 2012-05-28 14:49:45 +02:00
libsmb_file.c s3:libsmb: get rid of cli_state_capabilities 2012-05-28 14:49:46 +02:00
libsmb_misc.c s3-libsmb: move protos to libsmb/proto.h 2011-05-06 16:37:18 +02:00
libsmb_path.c s3-talloc Change TALLOC_ARRAY() to talloc_array() 2011-06-09 12:40:08 +02:00
libsmb_printjob.c s3-libsmb: Fix possible comparsion problems. 2012-12-12 15:00:02 +01:00
libsmb_server.c s3-libsmb: Fix a possible null pointer dereference. 2012-12-21 13:56:01 +01:00
libsmb_setget.c s3-libsmbclient: Add OptionUseNTHash 2012-06-12 10:48:15 +02:00
libsmb_stat.c s3:libsmb: get rid of cli_state_capabilities 2012-05-28 14:49:46 +02:00
libsmb_thread_impl.c
libsmb_thread_posix.c
libsmb_xattr.c s3: Fix Coverity ID 710791 Resource leak 2012-07-31 13:34:53 +02:00
libsmb.h source3/libsmb/libsmb.h: fix licence/copyright 2011-06-10 15:12:29 +02:00
namecache.c
namequery_dc.c Check error returns from strupper_m() (in all reasonable places). 2012-08-09 12:06:54 -07:00
namequery.c lib/param: Rename "socket address" to "nbt client socket address" to clarify role 2012-07-27 12:16:25 +02:00
nmblib.c s3-libsmb: Remove check if array is NULL. 2012-12-21 13:56:01 +01:00
nmblib.h source3/libsmb/nmblib.h: fix licence/copyright 2011-06-10 15:12:31 +02:00
ntlmssp_wrap.c auth/ntlmssp: Remove gensec_security element from gensec_ntlmssp_state 2012-03-09 14:31:24 +11:00
ntlmssp.c S3: Add ntlmssp_set_password_hash 2012-06-12 10:48:15 +02:00
passchange.c s3:libsmb: get rid of cli_negprot 2012-05-28 14:49:49 +02:00
proto.h s3:libsmb: add cli_{query,set}_security_descriptor() which take sec_info flags 2012-12-02 22:53:32 +01:00
pylibsmb.c s3-pylibsmb: Use Py_RETURN_NONE 2012-09-24 08:09:53 +02:00
reparse_symlink.c s3: Fix symlink_reparse_buffer_parse 2011-07-03 11:31:29 +02:00
samlogon_cache.c s3: Fix some False/NULL hickups 2011-12-20 13:13:17 +01:00
smb2cli_tcon.c s3:libsmb: use smbXcli_conn_remote_name() in smb2_tcon_send() 2012-09-29 11:52:43 +02:00
smb2cli.h libcli/smb: move smb2cli_ioctl.c from source3 to the toplevel 2012-05-15 20:17:01 +02:00
smb_share_modes.c s3: Use autogenerated open_files.idl 2011-12-02 22:43:05 +01:00
smbclient.pc.in libsmbclient: add ABI checking and pc file 2011-10-18 11:24:55 +11:00
smberr.c s3:libsmb: remove unused smb_dos_errstr() 2011-07-08 14:09:10 +02:00
smbsharemodes.pc.in build: Provide .pc file for libsmbsharemodes 2012-05-30 04:15:11 +02:00
smbsock_connect.c s3:libsmb: use nb_connect_send() directly instead of doing a 0 timer for port 139 2012-05-30 20:51:51 +02:00
trustdom_cache.c s3: Add some const 2011-11-25 10:21:07 +01:00
trusts_util.c s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/ 2011-11-03 16:55:13 +01:00
unexpected.c s3-lib: If we create a pipe socket, don't start to listen. 2011-08-29 13:21:43 +02:00
wscript s3-libsmbclient: change vnum to 0.2.0 2012-06-12 10:48:15 +02:00