[SCM] Samba Shared Repository - branch master updated

Gary Lockyer gary at samba.org
Mon May 6 01:19:03 UTC 2019


The branch, master has been updated
       via  ad3af7cdffb lib util debug: Increase format buffer to 4KiB
      from  f9800450c36 .gitlab-ci.yml: add docker tag back for private jobs

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ad3af7cdffb98b7998857db609548fc96f60c669
Author: Gary Lockyer <gary at catalyst.net.nz>
Date:   Thu Apr 18 10:23:22 2019 +1200

    lib util debug: Increase format buffer to 4KiB
    
    Increase the debug line buffer to 4KiB, the existing size of 1KiB is too
    small for dsdbChange JSON audit messages.  These messages were then
    split across multipe lines causing issues in log ingestion tools
    expecting single line messages.
    
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=13902
    
    Signed-off-by: Gary Lockyer <gary at catalyst.net.nz>
    Reviewed-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
    
    Autobuild-User(master): Gary Lockyer <gary at samba.org>
    Autobuild-Date(master): Mon May  6 01:18:22 UTC 2019 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 lib/util/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/lib/util/debug.c b/lib/util/debug.c
index e6a1ba4f96f..23c78ae19c9 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -44,7 +44,7 @@
  * format_bufr[FORMAT_BUFR_SIZE - 1] should always be reserved
  * for a terminating null byte.
  */
-#define FORMAT_BUFR_SIZE 1024
+#define FORMAT_BUFR_SIZE 4096
 
 /* -------------------------------------------------------------------------- **
  * This module implements Samba's debugging utility.


-- 
Samba Shared Repository



More information about the samba-cvs mailing list