1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/lib/tdb
Douglas Bagnall e653b0870f tdb: fix compilation with TDB_TRACE=1
../../lib/tdb/common/tdb.c: In function ‘tdb_trace_record’:
../../lib/tdb/common/tdb.c:1224:22: error: ‘snprintf’ output truncated before the last format character [-Werror=format-truncation=]
 1224 |                 p += snprintf(p, 2, %02x, rec.dptr[i]);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tdb/common/tdb.c:1224:22: note: ‘snprintf’ output 3 bytes into a destination of size 2
cc1: all warnings being treated as errors

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-07-27 22:47:39 +00:00
..
ABI tdb: release 1.4.10 2024-01-29 14:39:32 +00:00
common tdb: fix compilation with TDB_TRACE=1 2024-07-27 22:47:39 +00:00
docs lib:tdb: Fix code spelling 2023-04-14 05:25:33 +00:00
include tdb: Fix invalid syntax in tdb.h 2021-07-20 10:57:35 +00:00
man docs: Document new tdbdump -x option 2024-04-16 18:37:17 +00:00
python tdb:pytests: remove unused Py2 test branches 2024-05-31 00:25:33 +00:00
test tdb: Add test for tdbdump -x 2024-04-16 17:32:34 +00:00
tools tdb: Add tdbdump option to output all data as hex values 2024-04-16 17:32:34 +00:00
web
_tdb_text.py tdb:pytdb:_tdb_text: remove Py2 compatibility code 2024-05-31 00:25:33 +00:00
configure configure/Makefile: export PYTHONHASHSEED=1 in all 'configure/Makefile' scripts 2022-03-29 22:32:32 +00:00
doxy.config doc: Remove build/ from doxygen config or it will not work in brew. 2012-08-04 16:31:22 +02:00
Makefile Python: remove pydoctor 2023-02-02 21:15:54 +00:00
pytdb.c lib:tdb: Add missing overflow check for num_values in pytdb.c 2024-04-30 14:30:34 +00:00
tdb.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
wscript tdb: Add test for tdbdump -x 2024-04-16 17:32:34 +00:00