mirror of
https://github.com/samba-team/samba.git
synced 2025-01-06 13:18:07 +03:00
8c4f807350
Found by Covscan. "Error: USE_AFTER_FREE (CWE-416): samba-4.20.0rc2/source3/registry/reg_perfcount.c:309: freed_arg: ""_reg_perfcount_multi_sz_from_tdb"" frees ""*retbuf"". samba-4.20.0rc2/source3/registry/reg_perfcount.c:313: double_free: Calling ""_reg_perfcount_multi_sz_from_tdb"" frees pointer ""*retbuf"" which has already been freed. 311| for(i = 1; i <= base_index; i++) 312| { 313|-> buffer_size = _reg_perfcount_multi_sz_from_tdb(names, i*2, retbuf, buffer_size); 314| } 315| tdb_close(names);" Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Signed-off-by: Martin Schwenke <mschwenke@ddn.com> |
||
---|---|---|
.. | ||
tests | ||
reg_api_util.c | ||
reg_api_util.h | ||
reg_api.c | ||
reg_api.h | ||
reg_backend_current_version.c | ||
reg_backend_db.c | ||
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 | ||
reg_format.h | ||
reg_import.c | ||
reg_import.h | ||
reg_init_basic.c | ||
reg_init_basic.h | ||
reg_init_full.c | ||
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 | ||
reg_perfcount.h | ||
reg_util_internal.c | ||
reg_util_internal.h | ||
reg_util_token.c | ||
reg_util_token.h | ||
regfio.c | ||
regfio.h |