Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-04 | tdb: Only use system pytdb when using system tdb. | Jelmer Vernooij | 1 | -2/+2 | |
2010-10-04 | tdb: Support using system pytdb. | Jelmer Vernooij | 1 | -8/+9 | |
2010-10-04 | pytdb: Add __version__ attribute. | Jelmer Vernooij | 3 | -1/+10 | |
2010-10-02 | pytdb: Include Python.h first to prevent warning. | Jelmer Vernooij | 1 | -1/+1 | |
2010-10-02 | pytdb: Check errors after PyObject_New() calls | Kirill Smelkov | 1 | -0/+7 | |
The call could fail with e.g. MemoryError, and we'll dereference NULL pointer without checking. Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-10-02 | pytdb: Add support for tdb_repack() | Kirill Smelkov | 2 | -0/+15 | |
Cc: 597386@bugs.debian.org Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-10-02 | pytdb: Add TDB_INCOMPATIBLE_HASH open flag | Kirill Smelkov | 1 | -0/+1 | |
In 2dcf76 Rusty added TDB_INCOMPATIBLE_HASH open flag which selects Jenkins lookup3 hash for new databases. Expose this flag to python users too. Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-10-02 | s3: Fix a 64-bit BUG | Volker Lendecke | 1 | -1/+1 | |
Quick explanation why this is a problem: It is not safe to pass a pointer to a uint32_t into a routine that expects a size_t *. The routine that this pointer is passed to has no chance to find out that in reality it was passed a pointer to a uint32_t. On platforms where sizeof(size_t)==8, we get a nice overwrite of a stack area that should not be overwritten. As this happens over an over again: Does someone know a means to make gcc stop with an error in this case? Volker | |||||
2010-10-01 | samba: share select wrappers. | Günther Deschner | 4 | -2/+242 | |
Guenther | |||||
2010-09-30 | subunit: Import new upstream snapshot (adds subunit_progress()) | Jelmer Vernooij | 4 | -0/+80 | |
2010-09-30 | testtools: Import new upstream snapshot. | Jelmer Vernooij | 5 | -3/+49 | |
2010-09-29 | util: added BINARY_ARRAY_SEARCH_V() | Andrew Tridgell | 1 | -0/+16 | |
this is used to search an array of values | |||||
2010-09-28 | ldb/tevent: Fix detection of waf paths. | Jelmer Vernooij | 2 | -2/+11 | |
2010-09-28 | tevent: Remove make targets that are not relevant for tevent. | Jelmer Vernooij | 1 | -8/+0 | |
2010-09-28 | tevent: Don't update Makefile/configure files. | Jelmer Vernooij | 2 | -2/+12 | |
2010-09-28 | tsocket: make sure we delete the fd event before calling close() | Stefan Metzmacher | 1 | -0/+1 | |
We got random double free errors, when getting events from epoll_wait() and try to dereference the private talloc pointer attached to it. Before doing the close() in the tstream_disconnect_send() function we need to delete the fd event. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 28 01:02:55 UTC 2010 on sn-devel-104 | |||||
2010-09-27 | Remove talloc_autofree_context() from pm_process | Volker Lendecke | 1 | -1/+1 | |
This would be a classic for talloc_tos(), InFile is freed a few lines down. But unfortunately S4 does not support talloc_tos(). | |||||
2010-09-27 | Lift talloc_autofree_context() from OpenConfFile() | Volker Lendecke | 1 | -3/+3 | |
2010-09-27 | libsmbconf: parse an empty share as empty share, not as NULL. | Michael Adam | 1 | -5/+1 | |
This fixes a segfault in net conf import: Importing a text file with an empty share resulted in a segfault. Now this creates an empty share in registry config, just as it should. Thanks to Gregor Beck <gbeck@sernet.de> for reporting. | |||||
2010-09-27 | lib/util: change tevent_req_nterror() to a macro | Stefan Metzmacher | 2 | -3/+10 | |
This way we can record where a tevent_req was finished by tevent_req_nterror(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 27 03:18:14 UTC 2010 on sn-devel-104 | |||||
2010-09-27 | tdb: fix non-WAF build, commit 1.2.6 ABI file. | Rusty Russell | 2 | -1/+62 | |
Sorry Jeremy. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2010-09-27 | tdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash. | Rusty Russell | 6 | -6/+23 | |
This flag to tdb_open/tdb_open_ex effects creation of a new database: 1) Uses the Jenkins lookup3 hash instead of the old gdbm hash if none is specified, 2) Places a non-zero field in header->rwlocks, so older versions of TDB will refuse to open it. This means that the caller (ie Samba) can set this flag to safely change the hash function. Versions of TDB from this one on will either use the correct hash or refuse to open (if a different hash is specified). Older TDB versions will see the nonzero rwlocks field and refuse to open it under any conditions. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2010-09-27 | tdb: automatically identify Jenkins hash tdbs | Rusty Russell | 1 | -14/+27 | |
If the caller to tdb_open_ex() doesn't specify a hash, and tdb_old_hash doesn't match, try tdb_jenkins_hash. This was Metze's idea: it makes life simpler, especially with the upcoming TDB_INCOMPATIBLE_HASH flag. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2010-09-27 | tdb: add Bob Jenkins lookup3 hash as helper hash. | Rusty Russell | 7 | -18/+447 | |
This is a better hash than the default: shipping it with tdb makes it easy for callers to use it as the hash by passing it to tdb_open_ex(). This version taken from CCAN and modified, which took it from http://www.burtleburtle.net/bob/c/lookup3.c. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2010-09-26 | lib/util/asn1: add asn1_peek_tag_needed_size() and asn1_peek_full_tag() | Stefan Metzmacher | 2 | -0/+85 | |
We need a way to ask for the length of a tag without having the full buffer yet. metze | |||||
2010-09-25 | pyteven: Fix build warnings. | Jelmer Vernooij | 1 | -6/+16 | |
2010-09-25 | Check in configure/Makefile for those projects that have waf as primary ↵ | Jelmer Vernooij | 2 | -0/+71 | |
build system. | |||||
2010-09-25 | pytevent: Add more tests. | Jelmer Vernooij | 2 | -2/+81 | |
2010-09-25 | pytevent: Fill in client side fnuctions. | Jelmer Vernooij | 1 | -52/+393 | |
2010-09-25 | tevent: Add infrastructure for python bindings. | Jelmer Vernooij | 2 | -1/+418 | |
2010-09-25 | tevent: Switch to using waf by default. | Jelmer Vernooij | 2 | -14/+15 | |
2010-09-24 | talloc: Add a warning about talloc_autofree_context() and dlclose() | Volker Lendecke | 2 | -0/+22 | |
2010-09-23 | tdb: add restore | Volker Lendecke | 5 | -2/+310 | |
Based on an idea by Simon McVittie, largely rewritten | |||||
2010-09-23 | torture: Remove unused variable. | Jelmer Vernooij | 1 | -1/+0 | |
2010-09-23 | lib-subunit: fixed build on systems without subunit devel library | Andrew Tridgell | 1 | -4/+2 | |
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-09-22 | smbtorture: Report times. | Jelmer Vernooij | 3 | -5/+39 | |
2010-09-22 | torture: Use system subunit library if available. | Jelmer Vernooij | 2 | -1/+14 | |
2010-09-22 | smbtorture: Use subunit C library. | Jelmer Vernooij | 2 | -28/+27 | |
2010-09-22 | libreplace: fix endless strerror_r has been redefined warnings on AIX | Björn Jacke | 1 | -0/+1 | |
2010-09-21 | torture: Remove active_testname variable. | Jelmer Vernooij | 2 | -22/+1 | |
2010-09-21 | torture: Fix running individual tests. | Jelmer Vernooij | 3 | -28/+70 | |
2010-09-21 | strlist: Make test names unique. | Jelmer Vernooij | 1 | -2/+8 | |
2010-09-21 | tevent: include libreplace heade before tevent header | Björn Jacke | 1 | -1/+1 | |
this is supposed to fix bug #7463. Thanks to Joachim Schmitz. | |||||
2010-09-21 | pytalloc: Add default compare function. | Jelmer Vernooij | 2 | -1/+15 | |
2010-09-20 | pidl: Fix segfault when accessing unicode objects. | Jelmer Vernooij | 2 | -11/+0 | |
2010-09-20 | lib/tdb: fix c++ build warning in tdb_header_hash(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-09-19 | s3: Fix the charset_pull routine (bug 7531) | Volker Lendecke | 1 | -1/+1 | |
In the push routine we do the SVAL, so we should do the SSVAL here. | |||||
2010-09-19 | testtools: Import newer upstream revision. | Jelmer Vernooij | 4 | -37/+78 | |
This fixes (among other things) a warning during 'make test' on systems with Python 2.6. | |||||
2010-09-19 | pytdb: Make filename argument optional. | Jelmer Vernooij | 2 | -13/+15 | |
2010-09-19 | pytdb: Add support for tdb_freelist_size() | Kirill Smelkov | 2 | -0/+9 | |
Cc: 597386@bugs.debian.org Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org> |