Age | Commit message (Collapse) | Author | Files | Lines |
|
The core ldb code for string matching assumed NULL terminated strings,
whereas the anr module used data_blob_const() to effectively truncate
a ldb_val by changing its length. The ldb code is supposed to be based
around length limited blobs, not NULL terminated strings, so the
correct fix was to change the string comparison functions to be length
limited
(This used to be commit 26c6aa5a80ffaf06fc33f30a6533f8f16ef538bc)
|
|
This is a partial fix towards bugs due to us walking past the end of
what we think are strings in ldb. There is much more work to do in
this area.
Andrew Bartlett
(This used to be commit 5805a9a8f35fd90fa4f718f73534817fa3bbdfd2)
|
|
(This used to be commit 396ea14732d667960091f4a2570341059914ecb6)
|
|
warning on 64bit.
The 'p' type is just a flag to mark the presence of a pointer,
not a real pointer itself.
The code is now the same as in Samba3's tdb_unpack.
Michael
(This used to be commit a516bc9a2d4ce86244d0e2fbfacf6fda5e12e987)
|
|
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
|
|
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
|
|
Add a simple test to benchmark the rate at which a server can accept
new tree connections. You can tune the length of time to run the
benchmark for and the number of parallel connections to make.
(This used to be commit ea3f4b93057e85c4ea516cc77dd0f293016d520c)
|
|
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
|
|
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
|
|
middle.
(This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
|
|
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
|
|
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
|
|
(This used to be commit d62f2bcc85c13605c133db250e0a86d2d6ccc481)
|
|
directly instead.
(This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)
|
|
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
|
|
(This used to be commit e2c3fab9d1bf0482c15a115e7d373562ffe50b29)
|
|
(This used to be commit 38413ed4b6957e5f72e78a04f479c6a5d8b69ef5)
|
|
(This used to be commit fc50e78e2631e8253571bc236302e2859e4d1559)
|
|
Also fixed extra include in regpatch.
(This used to be commit 0e371cf169e9a607fcbb3e65437ab9413935dd52)
|
|
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
|
|
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
|
|
(This used to be commit 7bfe359c73aac96f8e983e8d5e9621235cf79a3a)
|
|
(This used to be commit d4272bc6bcfcd71fa93edb25bb33d6458e8b33cd)
|
|
(This used to be commit 2dc2bb800dab3f7dbdba01f5ca5076edd1a2b0f3)
|
|
metze
(This used to be commit b7dad8674a3aaa27bc1103a83be75434d413239b)
|
|
(This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)
|
|
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.
Conflicts:
source/auth/config.mk
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/config_mk.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/lib/charset/config.mk
source/lib/tdr/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/torture/config.mk
(This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
|
|
(This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)
|
|
(This used to be commit ce332130ea77159832da23bab760fa26921719e2)
|
|
(This used to be commit b0991cc09b36171c18d2407c9f3153b6f7e8299b)
|
|
(This used to be commit 54e7d10fe0eb4837b00b9b049fbd59a56ee85bea)
|
|
(This used to be commit 9705263a6c58d4ade556d17db2009dbb85291b22)
|
|
DEBUG(), DEBUGADD() and friends can now use debug_ctx() in the
formatting expressions again,
e.g.
DEBUG(5,("Guid failed to match: %s\n", GUID_string(debug_ctx(), r->guid)));
Sadly it's done with macros (again) but when we need to save the 8 or 16
bytes of object code per DEBUG() expression we can do it the Samba 3 way
with added thread-safety for Samba 4. That could save up to 200K,
allowing 12 bytes for each occurrance of DEBUG...
Signed-off-by: Amin Azez <azez@ufomechanic.net>
(This used to be commit 9781967542b00c279563d435aec72dac1e8c7e9a)
|
|
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
|
|
(This used to be commit 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)
|
|
Also rename the corresponding wrap_ functions.
(This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
|
|
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf.
(This used to be commit 5b3a8c8ae195e6a98357a407a0699493f54a8b79)
|
|
(This used to be commit 447bc42180cf0be71a35e40f6d93d91879397a48)
|
|
(This used to be commit a76625994abf9906d54ae11f9c171f89063cf508)
|
|
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
|
|
(This used to be commit cf8636c8b77c745812376d0ea6f0fb6246a2e4fb)
|
|
Fix segfault found when running smbd without options.
Andrew Bartlett
(This used to be commit 880dfeadae41be5f0140ac07afb8680fc11f6ebf)
|
|
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
|
|
(This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
|
|
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
|
|
metze
(This used to be commit 26bfdff48779447a2f4b552c5af32abf2b8c4c45)
|
|
metze
(This used to be commit 7d6c3e31de448c59dbb6933917c4f434c90cedf6)
|
|
not at the
beginning or the end of a blob). Usefull when inspecting protocols that
exchange huge mostly empty blobs.
Guenther
(This used to be commit c96047d022555678dabe08c0de94f0913bb4d047)
|
|
some random bytes.
Andrew Bartlett
(This used to be commit 606c82f6254b8dc6fb32740a7bb55a1989081fe7)
|
|
require top-quality entropy. We don't want to waste system enropy
generating challenges (which simply need to be unpredictable, not
secret) or when generating UUIDs.
Rework generate_random_buffer() to use /dev/urandom less often, only
to seed the existing RC4 based PRNG. (With an exception to ensure we
don't waste this setup cost for very small entropy requests).
Perhaps we should be using heimdal's code for this instead?
This should drasticly reduce our entropy use, particularly in the
build farm (automated Samba build on hosts without much other source
of entropy).
Andrew Bartlett
(This used to be commit 6a5630d37191542022f02fae519227b7829ef620)
|