summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* smbpasswd: Don't leak memory.Andreas Schneider2013-02-221-0/+1
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* smbget: Fix file descriptor leak.Andreas Schneider2013-02-221-0/+3
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-policy: Fix memory leaks in push_recursive().Andreas Schneider2013-02-221-14/+26
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-cifsdd: Don't leak memory.Andreas Schneider2013-02-221-0/+6
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-registry: Don't leak file descriptor.Andreas Schneider2013-02-221-2/+1
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-registry: Don't leak memory on error.Andreas Schneider2013-02-221-0/+7
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* winbind: Don't leak centry memory.Andreas Schneider2013-02-221-0/+1
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-client: Don't leak memory.Andreas Schneider2013-02-221-0/+2
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s3-torture: Don't leak memory.Andreas Schneider2013-02-221-0/+3
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* wbinfo: Fix several memory leaks.Andreas Schneider2013-02-221-0/+8
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* winbind: Don't leak memory on return.Andreas Schneider2013-02-221-0/+3
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s3-smbd: Don't leak subcntarr array.Andreas Schneider2013-02-221-1/+1
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* torture: Don't leak file resource handle in spoolss test.Andreas Schneider2013-02-221-0/+1
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s3-vfs: Don't leak file descriptor.Andreas Schneider2013-02-221-2/+1
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s3-param: Don't leak file descriptor.Andreas Schneider2013-02-221-0/+1
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s3-lsasd: Don't leak file descriptors.Andreas Schneider2013-02-221-11/+18
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s3-spoolss: Don't leak memory.Andreas Schneider2013-02-221-1/+3
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s3-net: Don't leak username.Andreas Schneider2013-02-221-1/+2
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-client: Don't leak file descriptor.Andreas Schneider2013-02-221-0/+7
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-client: Don't leak resource handle.Andreas Schneider2013-02-221-0/+2
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* torture: Make sure we don't overrun the buffer.Andreas Schneider2013-02-221-1/+1
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* torture: Fix memcmp of short buffer.Andreas Schneider2013-02-221-2/+2
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* torture: Fix array access in spoolss test.Andreas Schneider2013-02-221-2/+2
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* pdb: Fix array overrun by one.Andreas Schneider2013-02-221-3/+4
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-libcli: Check return value of smbcli_request_setup().Andreas Schneider2013-02-223-0/+15
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* pyauth: Check return value of lpcfg_from_py_object().Andreas Schneider2013-02-221-0/+4
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* ndrdump: Check return value of ndr_pull_init_blob().Andreas Schneider2013-02-221-0/+12
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-libcli: Check return code of smbcli_request_setup().Andreas Schneider2013-02-221-0/+3
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* librpc: Add NULL check for ndr functions for epm bindings.Andreas Schneider2013-02-221-1/+6
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s3-tldap: Make sure we don't deref a null pointer.Andreas Schneider2013-02-221-0/+3
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* s4-libcli: Add null check for ndr functions in rap.Andreas Schneider2013-02-221-0/+8
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* nmbd: Fix request data data processing.Andreas Schneider2013-02-221-2/+2
| | | | | answers->rdata is an array and will never be NULL. Reviewed-by: Alexander Bokovoy <ab@samba.org>
* torture: Fix samsync domain_name checks.Andreas Schneider2013-02-221-4/+45
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* libsmb: Fix possible null pointer dereference.Andreas Schneider2013-02-221-2/+2
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* ndr: Comparing an array to null is always true.Andreas Schneider2013-02-221-1/+1
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* winbind: Correctly cast name to messaging_send_buf().Andreas Schneider2013-02-221-3/+3
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* winbind: Use uint8_t type and use const where needed.Andreas Schneider2013-02-221-7/+7
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* messages: Use uint8_t type.Andreas Schneider2013-02-221-2/+2
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* winbind: Make domain_name const in wcache_ndr_key().Andreas Schneider2013-02-221-1/+1
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* build: use -fstack-protector if availableBjörn Jacke2013-02-221-0/+3
| | | | | | | | Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Matthieu Patou <mat@samba.org> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Feb 22 15:38:21 CET 2013 on sn-devel-104
* Revert "wafbuild: use -Wstack-protector if available"Björn Jacke2013-02-221-3/+0
| | | | | | | This reverts commit e6643fbf48afccd0acedb65fbe24d3ce84d44c40. Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Matthieu Patou <mat@samba.org>
* build/autoconf: put ld check variable in quotesBjörn Jacke2013-02-221-1/+1
| | | | | Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* dsdb-descriptor: Avoid segfault copying an SD without an owner or groupAndrew Bartlett2013-02-221-4/+12
| | | | | | | | | | | This is an unusual SD, but it does exist is some very old upgraded databases. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Feb 22 11:06:17 CET 2013 on sn-devel-104
* dsdb-descriptor: Spell out security descriptor flags as constantsAndrew Bartlett2013-02-222-2/+2
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* torture-drs: Fix comment in replica_sync testAndrew Bartlett2013-02-221-1/+1
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* torture-drs: Make the samba4.drs.repl_schema.python emit failures, not ↵Andrew Bartlett2013-02-221-1/+5
| | | | | | | | | | errors on add failure This then allows this particular failure to be masked with a knownfail. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb: Add missing dependency on replace for ldbAndrew Bartlett2013-02-221-1/+1
| | | | | | | | This brings in rep_timegm() on Solaris for example. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* build: Remove includes.h dep in winbind client librariesAndrew Bartlett2013-02-221-1/+0
| | | | | | | | | | | | Our LGPL winbind client libs do not link against our server-side code, and should not use the server-side includes.h. This removes a build-time dep on talloc that was brought in via includes.h as this code also does not use talloc. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* build: Remove unused includes.h reference to avoid build-time talloc depAndrew Bartlett2013-02-221-1/+0
| | | | | | | | | | | | talloc is not a dependency of this library, but is required by includes.h. By not including includes.h, we avoid needing to add an otherwise false talloc dep. (this comes up if talloc.h is not installed as a system package). Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* build:autoconf: fix output of syslog-facility checkBjörn Jacke2013-02-211-1/+4
| | | | | | | | | | | thanks to Thomas Bork for reporting! Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Feb 21 00:00:06 CET 2013 on sn-devel-104