1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/registry
Andreas Schneider 29f6842ee8 s3:registry: Fix buffer truncation issues issues with gcc8
../source3/registry/reg_perfcount.c: In function ‘reg_perfcount_get_hkpd’:
../source3/registry/reg_perfcount.c:337:29: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
   snprintf(buf, buflen,"%d%s", key_part1, key_part2);

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13437

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2018-06-20 22:22:07 +02:00
..
reg_api_regf.c werror: replace WERR_OBJECT_PATH_INVALID with WERR_BAD_PATHNAME in source3/registry/reg_api_regf.c 2016-09-28 00:04:24 +02:00
reg_api_regf.h
reg_api_util.c werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/registry/ 2016-09-28 00:04:22 +02:00
reg_api_util.h Change the registry subsystem to use uint32_t from uint32. Also change session.h. 2015-04-16 00:37:28 +02:00
reg_api.c Correct "perfom" typos. 2017-02-22 08:26:22 +01:00
reg_api.h Change the registry subsystem to use uint32_t from uint32. Also change session.h. 2015-04-16 00:37:28 +02:00
reg_backend_current_version.c
reg_backend_db.c s3-rpc_cli: add winreg_add_core_driver() 2017-05-09 16:43:13 +02:00
reg_backend_db.h
reg_backend_hkpt_params.c Convert all uses of uint32/16/8 to _t in source3/registry. 2015-05-12 01:32:12 +02:00
reg_backend_netlogon_params.c Change the registry subsystem to use uint32_t from uint32. Also change session.h. 2015-04-16 00:37:28 +02:00
reg_backend_perflib.c
reg_backend_printing.c
reg_backend_prod_options.c
reg_backend_shares.c Convert all uses of uint32/16/8 to _t in source3/registry. 2015-05-12 01:32:12 +02:00
reg_backend_smbconf.c Change the registry subsystem to use uint32_t from uint32. Also change session.h. 2015-04-16 00:37:28 +02:00
reg_backend_tcpip_params.c
reg_cachehook.c werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/registry/ 2016-09-28 00:04:22 +02:00
reg_cachehook.h
reg_db.h
reg_dispatcher.c werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/registry/ 2016-09-28 00:04:18 +02:00
reg_dispatcher.h Change the registry subsystem to use uint32_t from uint32. Also change session.h. 2015-04-16 00:37:28 +02:00
reg_format.c s3:registry: Fix size types and length calculations 2018-03-21 04:25:39 +01:00
reg_format.h
reg_import.c werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/registry/ 2016-09-28 00:04:18 +02:00
reg_import.h
reg_init_basic.c
reg_init_basic.h
reg_init_full.c s3-rpc_cli: add winreg_add_core_driver() 2017-05-09 16:43:13 +02:00
reg_init_full.h
reg_init_smbconf.c
reg_init_smbconf.h
reg_objects.c Correct "existence" typos. 2017-02-22 08:26:22 +01:00
reg_objects.h lib: Remove unused functions 2015-06-23 22:12:09 +02:00
reg_parse_dox.cfg
reg_parse_internal.c
reg_parse_internal.h
reg_parse_prs.c Convert uint64 to uint64_t 2015-05-15 19:31:24 +02:00
reg_parse_prs.h Convert uint64 to uint64_t 2015-05-15 19:31:24 +02:00
reg_parse.c
reg_parse.h
reg_perfcount.c s3:registry: Fix buffer truncation issues issues with gcc8 2018-06-20 22:22:07 +02:00
reg_perfcount.h Change the registry subsystem to use uint32_t from uint32. Also change session.h. 2015-04-16 00:37:28 +02:00
reg_util_internal.c
reg_util_internal.h
reg_util_token.c
reg_util_token.h
regfio.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
regfio.h Convert all uses of uint32/16/8 to _t in source3/registry. 2015-05-12 01:32:12 +02:00