1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +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
reg_api_regf.h
reg_api_util.c
reg_api_util.h
reg_api.c
reg_api.h
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
reg_backend_netlogon_params.c
reg_backend_perflib.c
reg_backend_printing.c
reg_backend_prod_options.c
reg_backend_shares.c
reg_backend_smbconf.c
reg_backend_tcpip_params.c
reg_cachehook.c
reg_cachehook.h
reg_db.h
reg_dispatcher.c
reg_dispatcher.h
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
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
reg_objects.h
reg_parse_dox.cfg
reg_parse_internal.c
reg_parse_internal.h
reg_parse_prs.c
reg_parse_prs.h
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
reg_util_internal.c
reg_util_internal.h
reg_util_token.c
reg_util_token.h
regfio.c
regfio.h