Task #131523 - added.err

back to task #131523
download
Error: GCC_ANALYZER_WARNING (CWE-457):
libburn-1.5.8/libburn/mmc.c:1080:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'key'
libburn-1.5.8/libburn/mmc.c:949:5: enter_function: entry to 'mmc_write'
libburn-1.5.8/libburn/mmc.c:988:13: call_function: calling 'mmc_function_spy' from 'mmc_write'
libburn-1.5.8/libburn/mmc.c:988:13: return_function: returning to 'mmc_write' from 'mmc_function_spy'
libburn-1.5.8/libburn/mmc.c:988:12: branch_false: following 'false' branch...
libburn-1.5.8/libburn/mmc.c:991:9: branch_false: ...to here
libburn-1.5.8/libburn/mmc.c:992:12: branch_false: following 'false' branch (when 'cancelled == 0')...
libburn-1.5.8/libburn/mmc.c:996:13: branch_false: ...to here
libburn-1.5.8/libburn/mmc.c:1061:12: branch_true: following 'true' branch...
libburn-1.5.8/libburn/mmc.c:1066:20: branch_false: following 'false' branch (when 'msg' is NULL)...
libburn-1.5.8/libburn/mmc.c:1077:21: branch_false: ...to here
libburn-1.5.8/libburn/mmc.c:1077:20: branch_true: following 'true' branch...
libburn-1.5.8/libburn/mmc.c:1080:21: danger: use of uninitialized value 'key' here
# 1078|   		    (d->progress.buffer_capacity == 0 ||
# 1079|   		     start < (off_t) d->progress.buffer_capacity / 2048) &&
# 1080|-> 		    key == 5 && asc == 0x64 && ascq == 0) {
# 1081|   			if (d->write_opts->write_type == BURN_WRITE_TAO) {
# 1082|   				d->was_feat21h_failure = 1 + (start == 0);

Error: COMPILER_WARNING (CWE-457):
libburn-1.5.8/libburn/mmc.c: scope_hint: In function 'mmc_read_multi_session_c1'
libburn-1.5.8/libburn/mmc.c:1924:11: warning[-Wmaybe-uninitialized]: 'num' may be used uninitialized
# 1924 |         if(num >= 0x80000000) {
#      |           ^
libburn-1.5.8/libburn/mmc.c:1919:15: note: 'num' was declared here
# 1919 |         off_t num;
#      |               ^
# 1922|   	if (ret <= 0)
# 1923|   		return ret;
# 1924|-> 	if(num >= 0x80000000) {
# 1925|   		*start = 0x7fffffff;
# 1926|   		return 0;