1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

17 Commits

Author SHA1 Message Date
Andrew Bartlett
379368b0be Always call the auto-init funciton - this avoids tdb segfaulting under
us if we failed to open it earlier.

Andrew Bartlett
-
Tim Potter
3aab7a3bc7 Reformat debug. -
Volker Lendecke
0f3822c8e7 Different fix for memleak just committed. This belongs into
tdb_search_list_free.

Volker
-
Volker Lendecke
0f8933ae77 Fix two memory leaks. tdb_search_keys allocates space for the key
strings.

Running 'net cache list' or secrets_get_trusted_domains through
valgrind gives a *huge* amount of invalid reads of one byte beyond the
indicated string length in libc's strncpy. Annoying...

Volker
-
Volker Lendecke
f036368efd Fix a segfault found by metze & valgrind...
Don't overwrite past the end of a string.

Volker
-
Gerald Carter
7bc4b65b91 * fix the trustdom_cache to work when winbindd is not running.
smbd will update the trustdom_cache periodically after locking
  the timestamp key
-
Tim Potter
6d7baad38f Merge of doxygen updates from HEAD. -
Andrew Bartlett
8315b9c311 (merge from HEAD) Valgrind found some memory leaks! -
Andrew Bartlett
c91e76bddb (merge from HEAD)
Small clenaup patches:
 - safe_string.h - don't assume that __FUNCTION__ is available
 - process.c - use new workaround from safe_string.h for the same
 - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc()
 - gencache.c - Keep valgrind quiet by always null terminating.
 - clistr.c - Add copyright
 - srvstr.h - move srvstr_push into a .c file again, as a real function.
 - srvstr.c - revive, with 'safe' checked srvstr_push
 - loadparm.c - set a default for the display charset.

 - connection.c - use safe_strcpy()
Andrew Bartlett
-
Tim Potter
bae354a20c Merge cleanups of return values. -
Tim Potter
23ca540005 Merge of nicer error message for gencache open error from HEAD. -
Gerald Carter
305f167db2 sync with tpot's change to gencache_get() in HEAD -
Gerald Carter
607bc0b4fc masking an assert error in Tim's wins server checking code; needs a proper fix after I talk to tpot -
Andrew Bartlett
5fc90b6cf4 Merge from HEAD - whitespace :-) -
Andrew Bartlett
f79324f730 Merge from HEAD - mimir's new gencache based namecache code.
Andrew Bartlett
-
Jeremy Allison
5d5762d178 Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
-
Andrew Tridgell
05a202c287 added gencache implementation from mimir - thanks! -