1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib
Andreas Schneider 3e6a6c00cc lib:krb5_wrap: Fix debug statements when princ_s is NULL
In file included from source4/include/includes.h:61,
                 from lib/krb5_wrap/krb5_samba.c:23:
lib/krb5_wrap/krb5_samba.c: In function ‘smb_krb5_kt_seek_and_delete_old_entries’:
lib/util/debug.h:200:12: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  200 |        && (dbgtext body) )
      |           ~^~~~~~~~~~~~~
lib/krb5_wrap/krb5_samba.c:1753:25: note: in expansion of macro ‘DEBUG’
 1753 |                         DEBUG(5, (__location__ ": Saving previous (kvno %d) "
      |                         ^~~~~
lib/util/debug.h:200:12: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  200 |        && (dbgtext body) )
      |           ~^~~~~~~~~~~~~
lib/krb5_wrap/krb5_samba.c:1763:25: note: in expansion of macro ‘DEBUG’
 1763 |                         DEBUG(5, (__location__ ": Saving entry with kvno [%d] "
      |                         ^~~~~
lib/util/debug.h:200:12: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  200 |        && (dbgtext body) )
      |           ~^~~~~~~~~~~~~
lib/krb5_wrap/krb5_samba.c:1769:17: note: in expansion of macro ‘DEBUG’
 1769 |                 DEBUG(5, (__location__ ": Found old entry for principal: %s "
      |                 ^~~~~
lib/util/debug.h:200:12: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  200 |        && (dbgtext body) )
      |           ~^~~~~~~~~~~~~
lib/krb5_wrap/krb5_samba.c:1787:17: note: in expansion of macro ‘DEBUG’
 1787 |                 DEBUG(5, (__location__ ": removed old entry for principal: "
      |                 ^~~~~

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-04-27 07:21:33 +00:00
..
addns lib:addns: Fix code spelling 2023-04-03 03:56:35 +00:00
afs auth: Make more liberal use of SID index constants 2023-02-08 00:03:39 +00:00
async_req lib: Use FIONREAD in wait_for_read_send/recv 2021-03-16 17:09:31 +00:00
audit_logging lib:audit_logging: Fix code spelling 2023-04-03 03:56:35 +00:00
cmdline lib:cmdline: Fix code spelling 2023-04-03 03:56:35 +00:00
compression lib:compression: Fix code spelling 2023-04-03 03:56:35 +00:00
crypto lib:crypto: Improve comment about weak crypto 2023-04-03 03:56:35 +00:00
dbwrap lib:dbwrap: Fix code spelling 2023-04-03 03:56:35 +00:00
fuzzing lib:fuzzing: Fix code spelling 2023-04-03 03:56:35 +00:00
krb5_wrap lib:krb5_wrap: Fix debug statements when princ_s is NULL 2023-04-27 07:21:33 +00:00
ldb ldb: Implement ldap_whoami in pyldb 2023-04-26 06:27:31 +00:00
ldb-samba ldb: Allow extended operations through ildap 2023-04-26 06:27:31 +00:00
messaging lib:messaging: Fix code spelling 2023-04-11 09:06:36 +00:00
mscat lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
param Add ROLE_IPA_DC into two more places 2023-04-25 07:46:36 +00:00
printer_driver printing: Align integer types 2021-04-01 19:32:36 +00:00
pthreadpool lib:pthreadpool: Fix code spelling 2023-04-11 09:06:36 +00:00
replace lib:replace: Fix code spelling 2023-04-14 05:25:33 +00:00
smbconf lib:smbconf: Fix code spelling 2023-04-14 05:25:33 +00:00
socket lib:socket: Fix code spelling 2023-04-14 05:25:33 +00:00
talloc lib:talloc: Fix code spelling 2023-04-14 05:25:33 +00:00
tdb lib:tdb: Fix code spelling 2023-04-14 05:25:33 +00:00
tdb_wrap lib: Open tdb files with O_CLOEXEC 2021-06-04 16:47:34 +00:00
tdr lib: Fix 1354521 Unchecked return value 2016-03-01 21:49:44 +01:00
tevent lib:tevent: Fix code spelling 2023-04-14 05:25:33 +00:00
texpect texpect: don't ignore unknown options 2021-09-10 15:10:30 +00:00
torture lib/torture: Don't overwrite test outcomes 2023-04-12 13:52:32 +00:00
tsocket lib:tsocket: Fix code spelling 2023-04-14 05:25:33 +00:00
util debug: Only initialize gpfs wrapper when gpfs logging is enabled 2023-04-14 12:28:23 +00:00
README various: Remove references to about to be deleted thirdparty/dnspython 2018-12-11 20:07:18 +01:00
wscript_build

compression - Various compression algorithms (MSZIP, lzxpress)
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
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