1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/lib
Petr Cech 32b1f78b23 LDB: Redudant test on NULL context remove
There is redudant test on NULL context in ldb_dn_new_fmt() function.
We use this (NULL) context in talloc_vasprintf() function which is
able to work with NULL at all. And at the end, we free this newly
created (by talloc_vasprintf) context. So it should be safe to remove
this check.

Signed-off-by: Petr Cech <pcech@redhat.com>
Reviewed-by: Simo Sorce <idra@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Apr 26 08:09:25 CEST 2016 on sn-devel-144
2016-04-26 08:09:25 +02:00
..
addns Refactor the dns_open_connection code so that duplicate code is removed and ensure that EINTR is handled in the UDP path. 2016-04-26 01:20:25 +02:00
afs waf: add --with-fake-kaserver option 2014-06-04 20:09:38 +02:00
async_req lib/async_req: do not install async_connect_send_test. 2015-12-01 17:41:19 +01:00
compression lib/compression/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
crypto vfs: Remove smb_traffic_analyzer 2015-11-11 00:23:35 +01:00
dbwrap lib: Avoid "includes.h" in dbwrap.c 2016-03-06 16:21:12 +01:00
krb5_wrap krb5_wrap: fix keep_old_entries logic in smb_krb5_kt_seek_and_delete_old_entries() 2016-04-25 10:35:14 +02:00
ldb LDB: Redudant test on NULL context remove 2016-04-26 08:09:25 +02:00
ldb-samba ldb-samba:wscript: python_samba__ldb depends on pyauth 2016-03-16 01:34:29 +01:00
nss_wrapper nwrap: Fix the build on Solaris 2016-04-05 08:57:06 +02:00
param CVE-2016-2118: docs-xml: default "allow dcerpc auth level connect" to "no" 2016-04-12 19:25:28 +02:00
replace Fix CHECK_CODE usage in atomics builtin detection 2016-04-26 01:19:40 +02:00
resolv_wrapper build: Build *_wrapper without -DNDEBUG for in-tree use 2015-10-16 16:36:22 +02:00
smbconf lib/smbconf: remove const warning 2014-11-14 23:27:05 +01:00
socket lib/socket/interfaces: Fix some uninitialied bytes. 2016-03-12 06:24:24 +01:00
socket_wrapper lib: Update socket_wrapper to version 1.1.6 2016-03-22 00:23:20 +01:00
talloc pytalloc: Correct description of pytalloc_Get{Base,}ObjectType behaviour 2016-03-08 05:14:15 +01:00
tdb tdb mutex check: Fix CID 1358473 Uninitialized scalar variable 2016-04-12 11:39:34 +02:00
tdb_wrap tdb_wrap: Use a struct initializer 2015-07-23 14:39:18 +02:00
tdr lib: Fix 1354521 Unchecked return value 2016-03-01 21:49:44 +01:00
tevent tevent.h: use HAVE___ATTRIBUTE__ instead of __GNUC__ 2016-03-24 15:13:15 +01:00
texpect texpect: undefined symbol rep_fprintf 2015-10-22 14:28:17 +02:00
torture lib/torture: add torture_assert_u64_not_equal_goto macro 2016-03-22 00:23:21 +01:00
tsocket lib/tsocket: workaround sockets not supporting FIONREAD 2016-02-10 10:30:23 +01:00
uid_wrapper lib: Update uid_wrapper to version 1.2.1 2016-03-22 00:23:20 +01:00
util util: Add memcmp_const_time() 2016-04-19 09:37:14 +02:00
README subunit: Update to newer upstream version. 2010-03-29 18:05:29 +02:00
wscript_build Remove 'external' python module support code - use the third_party directory instead. 2015-03-06 04:41:48 +01:00

compression - Various compression algorithms (MSZIP, lzxpress)
dnspython - Python module for working with DNS.
nss_wrapper - Wrapper for the user and group NSS API allowing the use 
              of other data sources.
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
socket_wrapper - Wrapper library allowing TCP/IP traffic to be redirected 
                 over Unix domain sockets.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library