1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib/tsocket
Andreas Schneider 4524f5986c tsocket: Do not dereference a NULL pointer
Make sure the lrbsda pointer is not allocated and we will
not end up dereferencing a NULL pointer. In practice this
can't happen, but this change links the pointer with the
code that uses it.

Found by Coverity.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 30 02:53:02 CEST 2016 on sn-devel-144
2016-06-30 02:53:01 +02:00
..
doxy.config tsocket: Added doxygen config file. 2010-01-11 11:23:04 +01:00
tsocket_bsd.c tsocket: Do not dereference a NULL pointer 2016-06-30 02:53:01 +02:00
tsocket_guide.txt tsocket: Fix a couple of typos and spellings in tsocket_guide.txt 2012-04-17 14:41:52 +02:00
tsocket_helpers.c lib/tsocket: optimize syscalls in tstream_readv_pdu_send() 2012-11-05 17:13:40 +01:00
tsocket_internal.h tsocket: Fixed typo in LGPL header. 2009-12-15 23:34:22 +01:00
tsocket.c tsocket: Fix some unreachable code 2010-07-11 18:14:33 +02:00
tsocket.h lib/tsocket: add tdgram_inet_udp_broadcast_socket() 2015-06-12 17:08:17 +02:00
wscript_build tsocket: Use common code in tsocket_bsd_common_prepare_fd 2015-06-05 14:33:19 +02:00