mirror of
https://github.com/samba-team/samba.git
synced 2025-01-06 13:18:07 +03:00
6cadb1d695
"Error: INTEGER_OVERFLOW (CWE-190): samba-4.20.0rc2/source3/registry/regfio.c:175: tainted_data_argument: The check ""bytes_read < block_size"" contains the tainted expression ""bytes_read"" which causes ""block_size"" to be considered tainted. samba-4.20.0rc2/source3/registry/regfio.c:176: overflow: The expression ""block_size - bytes_read"" is deemed overflowed because at least one of its arguments has overflowed. samba-4.20.0rc2/source3/registry/regfio.c:176: overflow_sink: ""block_size - bytes_read"", which might have underflowed, is passed to ""read(file->fd, buffer + bytes_read, block_size - bytes_read)"". [Note: The source code implementation of the function has been overridden by a builtin model.] 174| 175| while ( bytes_read < block_size ) { 176|-> if ( (returned = read( file->fd, buffer+bytes_read, block_size-bytes_read )) == -1 ) { 177| DEBUG(0,(""read_block: read() failed (%s)\n"", strerror(errno) )); 178| return False;" Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> |
||
---|---|---|
.. | ||
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 |