mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
a9ed0e93bb
This makes "regdb_unpack_values" take a size_t as buflen. The only caller calls it with TDB_DATA.dsize, which *is* size_t. Convert the internal "len" variable to the unsigned size_t as well and add overflow checks. This depends on tdb_unpack to either return -1 or a positive value less than or equal to the passed-in "size_t" buflen; Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> |
||
---|---|---|
.. | ||
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 | ||
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 |