mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
37fd93194d
When probing for a size change (eg. just before tdb_expand, tdb_check, tdb_rescue) we call tdb_oob(tdb, tdb->map_size, 1, 1). Unfortunately this does nothing if the tdb has actually shrunk, which as Volker demonstrated, can actually happen if a "longlived" parent crashes. So move the map/update size/remap before the limit check. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
addns | ||
async_req | ||
ccan | ||
compression | ||
crypto | ||
dbwrap | ||
dnspython | ||
iniparser | ||
iniparser_build | ||
krb5_wrap | ||
ldb | ||
ldb-samba | ||
nss_wrapper | ||
ntdb | ||
param | ||
pep8 | ||
popt | ||
replace | ||
smbconf | ||
socket | ||
socket_wrapper | ||
subunit | ||
talloc | ||
tdb | ||
tdb_compat | ||
tdb_wrap | ||
tdr | ||
testtools | ||
tevent | ||
torture | ||
tsocket | ||
uid_wrapper | ||
util | ||
zlib | ||
README | ||
update-external.sh | ||
wscript_build |
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