summaryrefslogtreecommitdiff
path: root/lib/util/talloc_report.c
AgeCommit message (Collapse)AuthorFilesLines
2019-07-01util: Fix signed/unsigned comparisons by castingMartin Schwenke1-1/+1
One case needs a variable declared, so it can be compared to -1 and then cast to size_t for comparison. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Jul 1 08:00:29 UTC 2019 on sn-devel-184
2019-05-29lib/util: Fix cppcheck null pointer dereference warningNoel Power1-0/+2
lib/util/talloc_report.c:58: warning: nullPointer: Possible null pointer dereference: start <--[cppcheck] Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org>
2018-11-14lib:util Always initialize start and spaceAndreas Schneider1-5/+2
Found by cppcheck. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13680 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2016-08-24lib/util: Fix format strings and argument data typesAmitay Isaacs1-3/+3
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12168 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Aug 24 05:32:15 CEST 2016 on sn-devel-144
2016-08-24lib/util: Fix format-nonliteral warningAmitay Isaacs1-0/+8
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12168 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2016-06-22util: Fix a possible null pointer dereferenceAndreas Schneider1-0/+3
Found by cppcheck. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2015-08-20lib: Add the pointer itself to talloc_report_strVolker Lendecke1-2/+2
A ctdb test found this discrepancy to talloc_report_full :-) Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
2015-02-13lib: Add talloc_report_str()Volker Lendecke1-0/+174
This creates a talloc report into a string and will replace the code used in source3/lib/tallocmsg.c Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>