alsa-lib-1.2.12-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/aserver/aserver.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/aserver/aserver.c: scope_hint: In function ‘inet_pending_handler’
alsa-lib-1.2.12-build/alsa-lib-1.2.12/aserver/aserver.c:875:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘client’
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:32: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_local.h:40: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/aserver.h:21: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/aserver/aserver.c:21: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:222: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/aserver/aserver.c:864:9: note: in expansion of macro ‘list_for_each’
alsa-lib-1.2.12-build/alsa-lib-1.2.12/aserver/aserver.c:864:9: note: in expansion of macro ‘list_for_each’
#  873|   	client = calloc(1, sizeof(*client));
#  874|   	client->local = 0;
#  875|-> 	client->poll_fd = pdata->fd;
#  876|   	client->ctrl_fd = waiter->fd;
#  877|   	add_waiter(client->ctrl_fd, POLLIN | POLLHUP, client_ctrl_handler, client);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/aserver/aserver.c: scope_hint: In function ‘local_handler’
alsa-lib-1.2.12-build/alsa-lib-1.2.12/aserver/aserver.c:898:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘client’
#  896|   	} else {
#  897|   		client_t *client = calloc(1, sizeof(*client));
#  898|-> 		client->ctrl_fd = sock;
#  899|   		client->local = 1;
#  900|   		client->open = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/aserver/aserver.c: scope_hint: In function ‘inet_handler’
alsa-lib-1.2.12-build/alsa-lib-1.2.12/aserver/aserver.c:917:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pending’
#  915|   	} else {
#  916|   		inet_pending_t *pending = calloc(1, sizeof(*pending));
#  917|-> 		pending->fd = sock;
#  918|   		pending->cookie = 0;
#  919|   		add_waiter(sock, POLLIN, inet_pending_handler, pending);

Error: CLANG_WARNING: [#def5]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:427: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:222: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/list.h:81:27: warning[core.NullDereference]: Access to field 'prev' results in a dereference of a null pointer (loaded from variable 'list')
#   79|   static inline void list_add_tail(struct list_head *p, struct list_head *list)
#   80|   {
#   81|-> 	struct list_head *last = list->prev;
#   82|   
#   83|   	last->next = p;

Error: CLANG_WARNING: [#def6]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hooks.c:30: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_local.h:40: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:222: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/list.h:107:18: warning[unix.Malloc]: Use of memory after it is freed
#  105|   static inline void list_del(struct list_head *p)
#  106|   {
#  107|-> 	p->prev->next = p->next;
#  108|   	p->next->prev = p->prev;
#  109|   }

Error: COMPILER_WARNING: [#def7]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_local.h:40: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:671: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning__snd_pcm_boundary' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:7766:1: note: in expansion of macro 'link_warning'
# 7766 | link_warning(_snd_pcm_boundary, "Warning: _snd_pcm_boundary() is deprecated, consider to use snd_pcm_sw_params_current()");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: COMPILER_WARNING: [#def8]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning__snd_pcm_mmap_hw_ptr' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:7765:1: note: in expansion of macro 'link_warning'
# 7765 | link_warning(_snd_pcm_mmap_hw_ptr, "Warning: _snd_pcm_mmap_hw_ptr() is deprecated, consider to not use this function");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: COMPILER_WARNING: [#def9]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/control_local.h:22: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/control.c:188: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning_snd_ctl_elem_info_is_indirect' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/control.c:2741:1: note: in expansion of macro 'link_warning'
# 2741 | link_warning(snd_ctl_elem_info_is_indirect, "Warning: snd_ctl_elem_info_is_indirect is deprecated, do not use it");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: COMPILER_WARNING: [#def10]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning_snd_names_list' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/names.c:47:1: note: in expansion of macro 'link_warning'
#   47 | link_warning(snd_names_list, "Warning: snd_names_list is deprecated, use snd_device_name_hint");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: COMPILER_WARNING: [#def11]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/names.c:33: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning_snd_names_list_free' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/names.c:56:1: note: in expansion of macro 'link_warning'
#   56 | link_warning(snd_names_list_free, "Warning: snd_names_list_free is deprecated, use snd_device_name_free_hint");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: COMPILER_WARNING: [#def12]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning_snd_pcm_start_mode_name' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:2260:1: note: in expansion of macro 'link_warning'
# 2260 | link_warning(snd_pcm_start_mode_name, "Warning: start_mode is deprecated, consider to use start_threshold");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: COMPILER_WARNING: [#def13]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning_snd_pcm_sw_params_get_start_mode' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:6495:1: note: in expansion of macro 'link_warning'
# 6495 | link_warning(snd_pcm_sw_params_get_start_mode, "Warning: start_mode is deprecated, consider to use start_threshold");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: COMPILER_WARNING: [#def14]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning_snd_pcm_sw_params_get_xrun_mode' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:6543:1: note: in expansion of macro 'link_warning'
# 6543 | link_warning(snd_pcm_sw_params_get_xrun_mode, "Warning: xrun_mode is deprecated, consider to use stop_threshold");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: COMPILER_WARNING: [#def15]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning_snd_pcm_sw_params_set_start_mode' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:6479:1: note: in expansion of macro 'link_warning'
# 6479 | link_warning(snd_pcm_sw_params_set_start_mode, "Warning: start_mode is deprecated, consider to use start_threshold");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: COMPILER_WARNING: [#def16]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning_snd_pcm_sw_params_set_xrun_mode' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:6527:1: note: in expansion of macro 'link_warning'
# 6527 | link_warning(snd_pcm_sw_params_set_xrun_mode, "Warning: xrun_mode is deprecated, consider to use stop_threshold");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: COMPILER_WARNING: [#def17]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning_snd_pcm_xrun_mode_name' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:2276:1: note: in expansion of macro 'link_warning'
# 2276 | link_warning(snd_pcm_xrun_mode_name, "Warning: xrun_mode is deprecated, consider to use stop_threshold");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: COMPILER_WARNING: [#def18]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/timer/timer_local.h:22: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/timer/timer.c:70: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:317:21: warning[-Wunused-const-variable=]: '__evoke_link_warning_snd_timer_info_get_ticks' defined but not used
#  317 |   static const char __evoke_link_warning_##symbol[]     \
#      |                     ^~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/timer/timer.c:963:1: note: in expansion of macro 'link_warning'
#  963 | link_warning(snd_timer_info_get_ticks, "Warning: snd_timer_info_get_ticks is deprecated");
#      | ^~~~~~~~~~~~
#  315|   #   define link_warning(symbol, msg) \
#  316|     __make_section_unallocated (".gnu.warning." ASM_NAME(#symbol)) \
#  317|->   static const char __evoke_link_warning_##symbol[]	\
#  318|       __attribute__ ((section (".gnu.warning." ASM_NAME(#symbol) "\n\t#"))) = msg;
#  319|   #  endif

Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/pcm.h:1206:28: warning[-Wanalyzer-null-dereference]: dereference of NULL 'src_area'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c: scope_hint: In function 'snd_pcm_route_convert1_one'
# 1204|   static inline void *snd_pcm_channel_area_addr(const snd_pcm_channel_area_t *area, snd_pcm_uframes_t offset)
# 1205|   {
# 1206|-> 	return (char *)area->addr + (area->first + area->step * offset) / 8;
# 1207|   }
# 1208|   

Error: CPPCHECK_WARNING: [#def20]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def21]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:1132:7: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'id')
# 1130|   	n = calloc(1, sizeof(*n));
# 1131|   	if (n == NULL) {
# 1132|-> 		if (*id) {
# 1133|   			free(*id);
# 1134|   			*id = NULL;

Error: CLANG_WARNING: [#def22]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:1216:15: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1214|   						return err;
# 1215|   				}
# 1216|-> 				n->u.real = r;
# 1217|   				*_n = n;
# 1218|   				return 0;

Error: CLANG_WARNING: [#def23]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:1228:11: warning[core.UndefinedBinaryOperatorResult]: The left operand of '<=' is a garbage value
# 1226|   				}
# 1227|   			} else {
# 1228|-> 				if (i <= INT_MAX) 
# 1229|   					err = _snd_config_make_add(&n, id, SND_CONFIG_TYPE_INTEGER, parent);
# 1230|   				else

Error: CLANG_WARNING: [#def24]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:1252:11: warning[unix.Malloc]: Potential leak of memory pointed to by 's'
# 1250|   		err = _snd_config_make_add(&n, id, SND_CONFIG_TYPE_STRING, parent);
# 1251|   		if (err < 0)
# 1252|-> 			return err;
# 1253|   	}
# 1254|   	free(n->u.string);

Error: CLANG_WARNING: [#def25]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:1314:4: warning[deadcode.DeadStores]: Value stored to 'err' is never read
# 1312|   		}
# 1313|   		if (c == '{') {
# 1314|-> 			err = parse_defs(n, input, skip, override);
# 1315|   			endchr = '}';
# 1316|   		} else {

Error: CLANG_WARNING: [#def26]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:1317:4: warning[deadcode.DeadStores]: Value stored to 'err' is never read
# 1315|   			endchr = '}';
# 1316|   		} else {
# 1317|-> 			err = parse_array_defs(n, input, skip, override);
# 1318|   			endchr = ']';
# 1319|   		}

Error: CLANG_WARNING: [#def27]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:2705:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 2703|   
# 2704|   	while (1) {
# 2705|-> 		p = strchr(key, '.');
# 2706|   		if (p) {
# 2707|   			err = _snd_config_search(root, key, p - key, &n);

Error: CLANG_WARNING: [#def28]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:3117:22: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 3115|   			if (err < 0)
# 3116|   				return err;
# 3117|-> 			config->u.integer = i;
# 3118|   		}
# 3119|   		break;

Error: CLANG_WARNING: [#def29]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:3126:24: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 3124|   			if (err < 0)
# 3125|   				return err;
# 3126|-> 			config->u.integer64 = i;
# 3127|   		}
# 3128|   		break;

Error: CLANG_WARNING: [#def30]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:3135:19: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 3133|   			if (err < 0)
# 3134|   				return err;
# 3135|-> 			config->u.real = d;
# 3136|   			break;
# 3137|   		}

Error: CLANG_WARNING: [#def31]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:3720:2: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 3718|   int snd_config_searchv(snd_config_t *config, snd_config_t **result, ...)
# 3719|   {
# 3720|-> 	SND_CONFIG_SEARCHV(config, result, snd_config_search);
# 3721|   }
# 3722|   

Error: CLANG_WARNING: [#def32]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:3749:2: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 3747|   int snd_config_searchva(snd_config_t *root, snd_config_t *config, snd_config_t **result, ...)
# 3748|   {
# 3749|-> 	SND_CONFIG_SEARCHVA(root, config, result, snd_config_searcha);
# 3750|   }
# 3751|   

Error: CLANG_WARNING: [#def33]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:3882:2: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 3880|   			      snd_config_t **result, ...)
# 3881|   {
# 3882|-> 	SND_CONFIG_SEARCHVA(root, config, result, snd_config_searcha_hooks);
# 3883|   }
# 3884|   

Error: CLANG_WARNING: [#def34]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:4059:7: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'
# 4057|   	int err, hit, idx = 0;
# 4058|   
# 4059|-> 	if ((err = snd_config_search(config, "@hooks", &n)) < 0)
# 4060|   		return 0;
# 4061|   	snd_config_lock();

Error: CLANG_WARNING: [#def35]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:4195:8: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'
# 4193|   			return err;
# 4194|   		}
# 4195|-> 		if ((err = snd_config_search(_file, "root", &root)) >= 0) {
# 4196|   			err = snd_config_get_ascii(root, &rname);
# 4197|   			if (err < 0) {

Error: CLANG_WARNING: [#def36]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:4203:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'rname'
# 4201|   			err = snd_config_make_compound(&root, rname, 0);
# 4202|   			if (err < 0)
# 4203|-> 				return err;
# 4204|   		}
# 4205|   	}

Error: CLANG_WARNING: [#def37]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:4209:11: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 4207|   		goto _err;
# 4208|   	name2 = name;
# 4209|-> 	remain = strstr(name, "|||");
# 4210|   	while (1) {
# 4211|   		if (remain) {

Error: CLANG_WARNING: [#def38]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:4243:2: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 4241|   	}
# 4242|   _fin:
# 4243|-> 	free(name);
# 4244|   	free(rname);
# 4245|   	return err;

Error: CLANG_WARNING: [#def39]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:4267:7: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'
# 4265|   
# 4266|   	assert(root && dst);
# 4267|-> 	if ((err = snd_config_search(config, "errors", &n)) >= 0) {
# 4268|   		errors = snd_config_get_bool(n);
# 4269|   		if (errors < 0) {

Error: CLANG_WARNING: [#def40]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:4274:7: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'
# 4272|   		}
# 4273|   	}
# 4274|-> 	if ((err = snd_config_search(config, "files", &n)) < 0) {
# 4275|   		SNDERR("Unable to find field files in the pre-load section");
# 4276|   		return -EINVAL;

Error: CLANG_WARNING: [#def41]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:4298:10: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 4296|   				goto _err;
# 4297|   			}
# 4298|-> 			if (i == idx) {
# 4299|   				err = config_file_load_user_all(root, n, errors);
# 4300|   				if (err < 0)

Error: CLANG_WARNING: [#def42]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:4574:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 4572|   		struct stat64 st;
# 4573|   		struct finfo *lf = &local->finfo[k];
# 4574|-> 		if (stat64(lf->name, &st) >= 0) {
# 4575|   			lf->dev = st.st_dev;
# 4576|   			lf->ino = st.st_ino;

Error: CLANG_WARNING: [#def43]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/conf.c:5665:10: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 5663|   		return err;
# 5664|   	}
# 5665|-> 	*result = res;
# 5666|   	return 1;
# 5667|   }

Error: CPPCHECK_WARNING: [#def44]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/confeval.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def45]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/cards.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def46]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/control.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def47]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/control_ext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def48]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/control_hw.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def49]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/control_remap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def50]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/control_shm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def51]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/ctlparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def52]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/eld.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-121): [#def53]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/eld.c: scope_hint: In function '__snd_pcm_info_eld_fixup'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/eld.c:92:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
#   90|   		c = eld[20 + l];
#   91|   		if (c <= ' ' || c >= 0x7f) {
#   92|-> 			s[l] = ' ';
#   93|   		} else {
#   94|   			valid += !!isalnum(c);

Error: GCC_ANALYZER_WARNING (CWE-121): [#def54]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/eld.c:95:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
#   93|   		} else {
#   94|   			valid += !!isalnum(c);
#   95|-> 			s[l] = c;
#   96|   			if (spc == 0)
#   97|   				spc = l + 1;

Error: CPPCHECK_WARNING: [#def55]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/hcontrol.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/hcontrol.c: scope_hint: In function 'snd_hctl_handle_event'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/hcontrol.c:757:20: warning[-Wanalyzer-malloc-leak]: leak of 'elem'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:32: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/control_local.h:22: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/hcontrol.c:45: included_from: Included from here.
#  755|   		elem->hctl = hctl;
#  756|   		res = snd_hctl_elem_add(hctl, elem);
#  757|-> 		if (res < 0)
#  758|   			return res;
#  759|   	}

Error: CLANG_WARNING: [#def57]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/hcontrol.c:758:11: warning[unix.Malloc]: Potential leak of memory pointed to by 'elem'
#  756|   		res = snd_hctl_elem_add(hctl, elem);
#  757|   		if (res < 0)
#  758|-> 			return res;
#  759|   	}
#  760|   	if (event->data.elem.mask & (SNDRV_CTL_EVENT_MASK_VALUE |

Error: CPPCHECK_WARNING: [#def58]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/namehint.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def59]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/namehint.c:78:28: warning[core.NullDereference]: Array access (via field 'list') results in a null pointer dereference
#   76|   		}
#   77|   	}
#   78|-> 	list->list[list->count++] = x;
#   79|   	return 0;
#   80|   }

Error: CPPCHECK_WARNING (CWE-562): [#def60]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/namehint.c:457: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  455|   	int device, max_device = 0;
#  456|   	
#  457|-> 	list->info = &info;
#  458|   	err = snd_config_search(config, list->siface, &conf);
#  459|   	if (err < 0)

Error: CLANG_WARNING: [#def61]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/namehint.c:460:3: warning[core.StackAddressEscape]: Address of stack memory associated with local variable 'info' is still referred to by the stack variable 'list' upon returning to the caller.  This will be a dangling reference
#  458|   	err = snd_config_search(config, list->siface, &conf);
#  459|   	if (err < 0)
#  460|-> 		return err;
#  461|   	sprintf(ctl_name, "hw:%i", card);
#  462|   	err = snd_ctl_open(&list->ctl, ctl_name, 0);

Error: CLANG_WARNING: [#def62]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/namehint.c:628:4: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  626|   		err = get_card_name(&list, card);
#  627|   		if (err >= 0)
#  628|-> 			err = add_card(local_config, local_config_rw, &list, card);
#  629|   	} else {
#  630|   		add_software_devices(local_config, local_config_rw, &list);

Error: CPPCHECK_WARNING: [#def63]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/setup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def64]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/setup.c:64:24: warning[unix.Malloc]: Use of memory after it is freed
#   62|   	while (!list_empty(&h->elems)) {
#   63|   		snd_sctl_elem_t *elem = list_entry(h->elems.next, snd_sctl_elem_t, list);
#   64|-> 		snd_ctl_elem_id_free(elem->id);
#   65|   		snd_ctl_elem_info_free(elem->info);
#   66|   		snd_ctl_elem_value_free(elem->val);

Error: CPPCHECK_WARNING: [#def65]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/tlv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def66]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/tlv.c:154:14: warning[core.UndefinedBinaryOperatorResult]: The left operand of '<' is a garbage value
#  152|   				return err;
#  153|   			if (pos > 2) {
#  154|-> 				if (rmin < *min)
#  155|   					*min = rmin;
#  156|   				if (rmax > *max)

Error: CLANG_WARNING: [#def67]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/tlv.c:159:10: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  157|   					*max = rmax;
#  158|   			} else {
#  159|-> 				*min = rmin;
#  160|   				*max = rmax;
#  161|   			}

Error: CLANG_WARNING: [#def68]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/tlv.c:316:16: warning[core.UndefinedBinaryOperatorResult]: The right operand of '>=' is a garbage value
#  314|   						  submin, submax,
#  315|   						  &dbmin, &dbmax) &&
#  316|-> 			    db_gain >= dbmin && db_gain <= dbmax)
#  317|   				return snd_tlv_convert_from_dB(tlv + pos + 2,
#  318|   							       submin, submax,

Error: CLANG_WARNING: [#def69]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/control/tlv.c:320:21: warning[core.UndefinedBinaryOperatorResult]: The right operand of '<' is a garbage value
#  318|   							       submin, submax,
#  319|   							       db_gain, value, xdir);
#  320|-> 			else if (db_gain < dbmin) {
#  321|   				*value = xdir > 0 || pos == 2 ? submin : prev_submax;
#  322|   				return 0;

Error: CPPCHECK_WARNING: [#def70]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/dlmisc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-401): [#def71]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/dlmisc.c:361: error[memleak]: Memory leak: c.name
#  359|   		free((void *)c->name);
#  360|   		free((void *)c->lib);
#  361|-> 		free(c);
#  362|   	      __err:
#  363|   		snd_dlclose(dlobj);

Error: CPPCHECK_WARNING: [#def72]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/hwdep/hwdep.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def73]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/hwdep/hwdep_hw.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def74]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/input.c:241:22: warning[deadcode.DeadStores]: Value stored to 'buffer' during its initialization is never read
#  239|   static int snd_input_buffer_scan(snd_input_t *input, const char *format, va_list args)
#  240|   {
#  241|-> 	snd_input_buffer_t *buffer = input->private_data;
#  242|   	extern int vsscanf(const char *, const char *, va_list);
#  243|   	/* FIXME: how can I obtain consumed chars count? */

Error: CPPCHECK_WARNING (CWE-401): [#def75]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/mixer/bag.c:52: error[memleak]: Memory leak: b
#   50|   	b->ptr = ptr;
#   51|   	list_add_tail(&b->list, bag);
#   52|-> 	return 0;
#   53|   }
#   54|   

Error: CPPCHECK_WARNING (CWE-401): [#def76]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/mixer/mixer.c:253: error[memleak]: Memory leak: slave
#  251|   	slave->hctl = hctl;
#  252|   	list_add_tail(&slave->list, &mixer->slaves);
#  253|-> 	return 0;
#  254|   }
#  255|   

Error: CLANG_WARNING: [#def77]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/mixer/mixer.c:619:3: warning[unix.Malloc]: Use of memory after it is freed
#  617|   		snd_mixer_class_t *c;
#  618|   		c = list_entry(mixer->classes.next, snd_mixer_class_t, list);
#  619|-> 		snd_mixer_class_unregister(c);
#  620|   	}
#  621|   	assert(list_empty(&mixer->elems));

Error: CLANG_WARNING: [#def78]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/mixer/mixer.c:629:24: warning[unix.Malloc]: Use of memory after it is freed
#  627|   		snd_mixer_slave_t *s;
#  628|   		s = list_entry(mixer->slaves.next, snd_mixer_slave_t, list);
#  629|-> 		err = snd_hctl_close(s->hctl);
#  630|   		if (err < 0)
#  631|   			res = err;

Error: CPPCHECK_WARNING: [#def79]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/mixer/simple.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def80]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/mixer/simple_abst.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def81]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/mixer/simple_none.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def82]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/mixer/simple_none.c:210:7: warning[deadcode.DeadStores]: Although the value stored to 'res1' is used in the enclosing expression, the value is never actually read from 'res1'
#  208|   		name = name1;
#  209|   	}
#  210|-> 	if ((res1 = compare_mixer_priority_lookup((const char **)&name, names2, 20)) == MIXER_COMPARE_WEIGHT_NOT_FOUND)
#  211|   		return res;
#  212|         __res:

Error: CLANG_WARNING: [#def83]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/mixer/simple_none.c:1562:3: warning[deadcode.DeadStores]: Value stored to 'err' is never read
# 1560|   		       snd_hctl_elem_get_device(helem),
# 1561|   		       snd_hctl_elem_get_subdevice(helem));
# 1562|-> 		err = -EINVAL;
# 1563|   		goto __error;
# 1564|   	}

Error: CLANG_WARNING: [#def84]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/mixer/simple_none.c:1676:2: warning[deadcode.DeadStores]: Value stored to 'err' is never read
# 1674|   	if (snd_mixer_elem_empty(melem))
# 1675|   		return snd_mixer_elem_remove(melem);
# 1676|-> 	err = simple_update(melem);
# 1677|   	return snd_mixer_elem_info(melem);
# 1678|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/output.c: scope_hint: In function 'snd_output_buffer_need'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/output.c:271:30: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:32: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/output.c:30: included_from: Included from here.
#  269|   	buffer->buf = buf;
#  270|   	buffer->alloc = alloc;
#  271|-> 	return buffer->alloc - buffer->size;
#  272|   }
#  273|   

Error: CPPCHECK_WARNING: [#def86]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/interval.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def87]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def88]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:5331: warning[uninitvar]: Uninitialized variable: *val
# 5329|   #endif
# 5330|   {
# 5331|-> 	unsigned int _val = *val;
# 5332|   	int err = snd_pcm_hw_param_get_min(params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir);
# 5333|   	if (err >= 0)

Error: CLANG_WARNING: [#def89]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:5331:2: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 5329|   #endif
# 5330|   {
# 5331|-> 	unsigned int _val = *val;
# 5332|   	int err = snd_pcm_hw_param_get_min(params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir);
# 5333|   	if (err >= 0)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def90]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c: scope_hint: In function '__snd_pcm_hw_params_get_period_size_min'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:5331:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*val'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8051:24: note: in definition of macro '__P_OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8077:1: note: in expansion of macro '__OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8060:46: note: in expansion of macro '__P_OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8077:1: note: in expansion of macro '__OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8060:46: note: in expansion of macro '__P_OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8077:1: note: in expansion of macro '__OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:175: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_local.h:40: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:671: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/alsa-symbols.h:29:39: note: in definition of macro 'INTERNAL_CONCAT2_2'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8054:13: note: in expansion of macro 'INTERNAL'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8060:46: note: in expansion of macro '__P_OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8077:1: note: in expansion of macro '__OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/alsa-symbols.h:29:39: note: in definition of macro 'INTERNAL_CONCAT2_2'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:5326:19: note: in expansion of macro 'INTERNAL'
# 5329|   #endif
# 5330|   {
# 5331|-> 	unsigned int _val = *val;
# 5332|   	int err = snd_pcm_hw_param_get_min(params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir);
# 5333|   	if (err >= 0)

Error: CPPCHECK_WARNING (CWE-457): [#def91]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:5353: warning[uninitvar]: Uninitialized variable: *val
# 5351|   #endif
# 5352|   {
# 5353|-> 	unsigned int _val = *val;
# 5354|   	int err = snd_pcm_hw_param_get_max(params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir);
# 5355|   	if (err >= 0)

Error: CLANG_WARNING: [#def92]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:5353:2: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 5351|   #endif
# 5352|   {
# 5353|-> 	unsigned int _val = *val;
# 5354|   	int err = snd_pcm_hw_param_get_max(params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir);
# 5355|   	if (err >= 0)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def93]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c: scope_hint: In function '__snd_pcm_hw_params_get_period_size_max'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:5353:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*val'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8051:24: note: in definition of macro '__P_OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8086:1: note: in expansion of macro '__OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8060:46: note: in expansion of macro '__P_OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8086:1: note: in expansion of macro '__OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8060:46: note: in expansion of macro '__P_OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8086:1: note: in expansion of macro '__OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/alsa-symbols.h:29:39: note: in definition of macro 'INTERNAL_CONCAT2_2'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8054:13: note: in expansion of macro 'INTERNAL'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8060:46: note: in expansion of macro '__P_OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8086:1: note: in expansion of macro '__OLD_GET1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/alsa-symbols.h:29:39: note: in definition of macro 'INTERNAL_CONCAT2_2'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:5348:19: note: in expansion of macro 'INTERNAL'
# 5351|   #endif
# 5352|   {
# 5353|-> 	unsigned int _val = *val;
# 5354|   	int err = snd_pcm_hw_param_get_max(params, SND_PCM_HW_PARAM_PERIOD_SIZE, &_val, dir);
# 5355|   	if (err >= 0)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def94]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c: scope_hint: In function '__old_snd_pcm_hw_params_set_tick_time_first'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8135:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'val'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8139:39: note: in expansion of macro '__P_OLD_SET_FL1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8151:1: note: in expansion of macro '__OLD_SET_FL1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8139:39: note: in expansion of macro '__P_OLD_SET_FL1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8151:1: note: in expansion of macro '__OLD_SET_FL1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8139:39: note: in expansion of macro '__P_OLD_SET_FL1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8151:1: note: in expansion of macro '__OLD_SET_FL1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8139:39: note: in expansion of macro '__P_OLD_SET_FL1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8151:1: note: in expansion of macro '__OLD_SET_FL1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8139:39: note: in expansion of macro '__P_OLD_SET_FL1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8151:1: note: in expansion of macro '__OLD_SET_FL1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8139:39: note: in expansion of macro '__P_OLD_SET_FL1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8151:1: note: in expansion of macro '__OLD_SET_FL1'
# 8133|   	if (INTERNAL(name)(pcm, params, &val, dir) < 0) \
# 8134|   		return 0; \
# 8135|-> 	return (ret_type)val; \
# 8136|   }
# 8137|   

Error: CLANG_WARNING: [#def95]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8151:1: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
# 8149|   __OLD_SET_FL1(snd_pcm_hw_params_set_buffer_time_first, unsigned int);
# 8150|   __OLD_SET_FL(snd_pcm_hw_params_set_buffer_size_first, snd_pcm_uframes_t);
# 8151|-> __OLD_SET_FL1(snd_pcm_hw_params_set_tick_time_first, unsigned int);
# 8152|   
# 8153|   __OLD_SET_FL(snd_pcm_hw_params_set_access_last, snd_pcm_access_t);

Error: CLANG_WARNING: [#def96]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8163:1: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
# 8161|   __OLD_SET_FL1(snd_pcm_hw_params_set_buffer_time_last, unsigned int);
# 8162|   __OLD_SET_FL(snd_pcm_hw_params_set_buffer_size_last, snd_pcm_uframes_t);
# 8163|-> __OLD_SET_FL1(snd_pcm_hw_params_set_tick_time_last, unsigned int);
# 8164|   
# 8165|   #define __P_OLD_GET_SW(pfx, name, ret_type) \

Error: CLANG_WARNING: [#def97]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8593:9: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'snd_pcm_chmap_query_t', which is incompatible with sizeof operand type 'int'
# 8591|   				    const snd_pcm_chmap_t *src)
# 8592|   {
# 8593|-> 	*dst = malloc((src->channels + 2) * sizeof(int));
# 8594|   	if (!*dst)
# 8595|   		return -ENOMEM;

Error: CLANG_WARNING: [#def98]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8623:8: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'snd_pcm_chmap_t', which is incompatible with sizeof operand type 'int'
# 8621|   	snd_pcm_chmap_t *map;
# 8622|   
# 8623|-> 	map = malloc((src->channels + 1) * sizeof(int));
# 8624|   	if (!map)
# 8625|   		return NULL;

Error: CLANG_WARNING: [#def99]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm.c:8645:13: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'snd_pcm_chmap_query_t', which is incompatible with sizeof operand type 'int'
# 8643|   		return NULL;
# 8644|   	for (i = 0; i < nums; i++) {
# 8645|-> 		maps[i] = malloc((src[i]->map.channels + 2) * sizeof(int));
# 8646|   		if (!maps[i]) {
# 8647|   			snd_pcm_free_chmaps(maps);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_adpcm.c: scope_hint: In function 'snd_pcm_adpcm_hw_params'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_adpcm.c:443:12: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)*adpcm_21->plug.gen.slave.channels * 8)'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:175: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_local.h:40: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_adpcm.c:59: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/alsa-symbols.h:29:39: note: in definition of macro 'INTERNAL_CONCAT2_2'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_adpcm.c:420:15: note: in expansion of macro 'INTERNAL'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:32: included_from: Included from here.
#  441|   	assert(!adpcm->states);
#  442|   	adpcm->states = malloc(adpcm->plug.gen.slave->channels * sizeof(*adpcm->states));
#  443|-> 	if (adpcm->states == NULL)
#  444|   		return -ENOMEM;
#  445|   	return 0;

Error: CPPCHECK_WARNING: [#def101]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_asym.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def102]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_direct.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def103]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_direct.c:1083:12: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'snd_pcm_chmap_query_t', which is incompatible with sizeof operand type 'int *'
# 1081|   	if (!maps)
# 1082|   		return NULL;
# 1083|-> 	maps[0] = calloc(dmix->channels + 2, sizeof(int *));
# 1084|   	if (!maps[0]) {
# 1085|   		free(maps);

Error: CPPCHECK_WARNING: [#def104]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_dmix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def105]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_dshare.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def106]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_dsnoop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def107]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_extplug.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def108]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-401): [#def109]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c:132: error[memleakOnRealloc]: Common realloc mistake: 'string' nulled but not freed upon failure
#  130|   	index = index_ch - string;
#  131|   	len += value_len;
#  132|-> 	string = realloc(string, len + 1);
#  133|   	if (!string)
#  134|   		return -ENOMEM;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c: scope_hint: In function 'snd_pcm_file_replace_fname'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c:161:24: warning[-Wanalyzer-malloc-leak]: leak of 'new_index_ch'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:32: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_local.h:40: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c:29: included_from: Included from here.
#  159|   	new_fname = malloc(new_len + 1);
#  160|   	if (!new_fname)
#  161|-> 		return -ENOMEM;
#  162|   
#  163|   	old_index_ch = fname;	/* first character of the old name */

Error: CLANG_WARNING: [#def111]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c:192:21: warning[core.DivideZero]: Division by zero
#  190|   			case BWIDTH_KEY:
#  191|   				snprintf(value, sizeof(value), "%d",
#  192|-> 					pcm->frame_bits/pcm->channels);
#  193|   				err = snd_pcm_file_append_value(&new_fname,
#  194|   						&new_index_ch, &new_len, value);

Error: CLANG_WARNING: [#def112]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c:204:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'new_fname'
#  202|   					snd_pcm_format_name(pcm->format));
#  203|   				if (err < 0)
#  204|-> 					return err;
#  205|   				break;
#  206|   

Error: CLANG_WARNING: [#def113]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c:204:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'new_index_ch'
#  202|   					snd_pcm_format_name(pcm->format));
#  203|   				if (err < 0)
#  204|-> 					return err;
#  205|   				break;
#  206|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c: scope_hint: In function 'snd_pcm_file_hw_params'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c:766:12: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)snd_pcm_frames_to_bytes(slave, (long int)(*slave.buffer_size * 2)))'
#  764|   	assert(!file->wbuf);
#  765|   	file->wbuf = malloc(file->wbuf_size_bytes);
#  766|-> 	if (file->wbuf == NULL) {
#  767|   		snd_pcm_file_hw_free(pcm);
#  768|   		return -ENOMEM;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c:771:12: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)*slave.channels * 16)'
#  769|   	}
#  770|   	file->wbuf_areas = malloc(sizeof(*file->wbuf_areas) * slave->channels);
#  771|-> 	if (file->wbuf_areas == NULL) {
#  772|   		snd_pcm_file_hw_free(pcm);
#  773|   		return -ENOMEM;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c:780:12: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)snd_pcm_frames_to_bytes(slave, (long int)*slave.buffer_size))'
#  778|   	file->rbuf_used_bytes = 0;
#  779|   	file->rbuf = malloc(file->rbuf_size_bytes);
#  780|-> 	if (file->rbuf == NULL) {
#  781|   		snd_pcm_file_hw_free(pcm);
#  782|   		return -ENOMEM;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def117]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c: scope_hint: In function 'snd_pcm_file_open'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_file.c:918:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'ifd'
#  916|   	else {
#  917|   		SNDERR("file format %s is unknown", fmt);
#  918|-> 		return -EINVAL;
#  919|   	}
#  920|   	file = calloc(1, sizeof(snd_pcm_file_t));

Error: CPPCHECK_WARNING: [#def118]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hooks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-401): [#def119]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hooks.c:69: error[memleak]: Memory leak: dl
#   67|   	dl->dlobj = dlobj;
#   68|   	list_add_tail(&dl->list, &h->dllist);
#   69|-> 	return 0;
#   70|   }
#   71|   

Error: CPPCHECK_WARNING: [#def120]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hw.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def121]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hw.c: scope_hint: In function 'sync_ptr1'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hw.c:145:29: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hw.c:30: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hw.c:1105:9: note: in expansion of macro 'snd_pcm_set_hw_ptr'
#  143|   {
#  144|   	int err;
#  145|-> 	hw->sync_ptr->flags = flags;
#  146|   	if (ioctl(hw->fd, SNDRV_PCM_IOCTL_SYNC_PTR, hw->sync_ptr) < 0) {
#  147|   		err = -errno;

Error: GCC_ANALYZER_WARNING (CWE-416): [#def122]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hw.c: scope_hint: In function 'map_status_and_control_data'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hw.c:1102:19: warning[-Wanalyzer-use-after-free]: use after 'free' of '*hw.mmap_control'
# 1100|   	if (!(pcm->mode & SND_PCM_APPEND)) {
# 1101|   		/* Initialize the data. */
# 1102|-> 		hw->mmap_control->appl_ptr = 0;
# 1103|   		hw->mmap_control->avail_min = 1;
# 1104|   	}

Error: GCC_ANALYZER_WARNING (CWE-416): [#def123]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hw.c:1105:36: warning[-Wanalyzer-use-after-free]: use after 'free' of '*hw.mmap_status'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hw.c:1105:9: note: in expansion of macro 'snd_pcm_set_hw_ptr'
# 1103|   		hw->mmap_control->avail_min = 1;
# 1104|   	}
# 1105|-> 	snd_pcm_set_hw_ptr(pcm, &hw->mmap_status->hw_ptr, hw->fd,
# 1106|   			   SNDRV_PCM_MMAP_OFFSET_STATUS +
# 1107|   				offsetof(struct snd_pcm_mmap_status, hw_ptr));

Error: CLANG_WARNING: [#def124]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_hw.c:1341:8: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'snd_pcm_chmap_query_t *', which is incompatible with sizeof operand type 'int *'
# 1339|   		}
# 1340|   	}
# 1341|-> 	map = calloc(nums + 1, sizeof(int *));
# 1342|   	if (!map)
# 1343|   		return NULL;

Error: CPPCHECK_WARNING: [#def125]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ioplug.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def126]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def127]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c:177:7: warning[unix.Malloc]: Use of memory after it is freed
#  175|   static void snd_pcm_ladspa_free_io(snd_pcm_ladspa_plugin_io_t *io)
#  176|   {
#  177|-> 	free(io->controls);
#  178|   	free(io->controls_initialized);
#  179|   }

Error: GCC_ANALYZER_WARNING (CWE-415): [#def128]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c: scope_hint: In function 'snd_pcm_ladspa_free_io'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c:177:9: warning[-Wanalyzer-double-free]: double-'free' of '*io.controls'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:32: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_local.h:40: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c:35: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c:36: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c:1604:9: note: in expansion of macro 'snd_pcm_plugin_init'
#  175|   static void snd_pcm_ladspa_free_io(snd_pcm_ladspa_plugin_io_t *io)
#  176|   {
#  177|-> 	free(io->controls);
#  178|   	free(io->controls_initialized);
#  179|   }

Error: GCC_ANALYZER_WARNING (CWE-415): [#def129]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c:178:9: warning[-Wanalyzer-double-free]: double-'free' of '*io.controls_initialized'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c:1604:9: note: in expansion of macro 'snd_pcm_plugin_init'
#  176|   {
#  177|   	free(io->controls);
#  178|-> 	free(io->controls_initialized);
#  179|   }
#  180|   

Error: GCC_ANALYZER_WARNING (CWE-416): [#def130]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c: scope_hint: In function 'snd_pcm_ladspa_free_plugins'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c:187:27: warning[-Wanalyzer-use-after-free]: use after 'free' of '*plugins.next'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c:1604:9: note: in expansion of macro 'snd_pcm_plugin_init'
#  185|                   snd_pcm_ladspa_free_io(&plugin->input);
#  186|                   snd_pcm_ladspa_free_io(&plugin->output);
#  187|-> 		if (plugin->dl_handle)
#  188|   			dlclose(plugin->dl_handle);
#  189|   		free(plugin->filename);

Error: GCC_ANALYZER_WARNING (CWE-415): [#def131]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c:189:17: warning[-Wanalyzer-double-free]: double-'free' of '*(snd_pcm_ladspa_plugin_t *)MEM[(const struct list_head *)plugins_8(D)].next.filename'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_ladspa.c:1604:9: note: in expansion of macro 'snd_pcm_plugin_init'
#  187|   		if (plugin->dl_handle)
#  188|   			dlclose(plugin->dl_handle);
#  189|-> 		free(plugin->filename);
#  190|   		list_del(&plugin->list);
#  191|   		free(plugin);

Error: CLANG_WARNING: [#def132]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_lfloat.c:281:3: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  279|   		return err;
#  280|   	if (pcm->stream == SND_PCM_STREAM_PLAYBACK) {
#  281|-> 		err = INTERNAL(snd_pcm_hw_params_get_format)(params, &src_format);
#  282|   		dst_format = slave->format;
#  283|   	} else {

Error: CLANG_WARNING: [#def133]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_lfloat.c:285:3: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  283|   	} else {
#  284|   		src_format = slave->format;
#  285|-> 		err = INTERNAL(snd_pcm_hw_params_get_format)(params, &dst_format);
#  286|   	}
#  287|   	if (snd_pcm_format_linear(src_format)) {

Error: CPPCHECK_WARNING: [#def134]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_meter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_meter.c: scope_hint: In function 'snd_pcm_meter_hw_params'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_meter.c:464:68: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(buf_size_bytes)'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:32: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_local.h:40: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_meter.c:30: included_from: Included from here.
#  462|   	if (!meter->buf)
#  463|   		return -ENOMEM;
#  464|-> 	meter->buf_areas = malloc(sizeof(*meter->buf_areas) * slave->channels);
#  465|   	if (!meter->buf_areas) {
#  466|   		free(meter->buf);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_meter.c:469:35: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)*slave.channels * 16)'
#  467|   		return -ENOMEM;
#  468|   	}
#  469|-> 	for (channel = 0; channel < slave->channels; ++channel) {
#  470|   		snd_pcm_channel_area_t *a = &meter->buf_areas[channel];
#  471|   		a->addr = meter->buf + buf_size_bytes / slave->channels * channel;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_meter.c: scope_hint: In function 's16_enable'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_meter.c:1049:20: warning[-Wanalyzer-malloc-leak]: leak of 'calloc((long unsigned int)*spcm.channels, 8)'
# 1047|   	if (spcm->format == SND_PCM_FORMAT_IMA_ADPCM) {
# 1048|   		s16->adpcm_states = calloc(spcm->channels, sizeof(*s16->adpcm_states));
# 1049|-> 		if (!s16->adpcm_states)
# 1050|   			return -ENOMEM;
# 1051|   	}

Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_meter.c:1064:23: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
# 1062|   	}
# 1063|   	s16->buf_areas = a;
# 1064|-> 	for (c = 0; c < spcm->channels; c++, a++) {
# 1065|   		a->addr = s16->buf + c * meter->buf_size;
# 1066|   		a->first = 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_meter.c:1064:23: warning[-Wanalyzer-malloc-leak]: leak of 'a'
# 1062|   	}
# 1063|   	s16->buf_areas = a;
# 1064|-> 	for (c = 0; c < spcm->channels; c++, a++) {
# 1065|   		a->addr = s16->buf + c * meter->buf_size;
# 1066|   		a->first = 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_meter.c:1064:23: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(*meter.buf_size * (long unsigned int)*spcm.channels * 2)'
# 1062|   	}
# 1063|   	s16->buf_areas = a;
# 1064|-> 	for (c = 0; c < spcm->channels; c++, a++) {
# 1065|   		a->addr = s16->buf + c * meter->buf_size;
# 1066|   		a->first = 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_meter.c:1064:47: warning[-Wanalyzer-malloc-leak]: leak of 'a'
# 1062|   	}
# 1063|   	s16->buf_areas = a;
# 1064|-> 	for (c = 0; c < spcm->channels; c++, a++) {
# 1065|   		a->addr = s16->buf + c * meter->buf_size;
# 1066|   		a->first = 0;

Error: CPPCHECK_WARNING: [#def142]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_mmap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def143]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_mmap_emul.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def144]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_mulaw.c:248:3: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  246|   	if (mulaw->sformat == SND_PCM_FORMAT_MU_LAW) {
#  247|   		snd_pcm_format_mask_t format_mask= { SND_PCM_FMTBIT_LINEAR };
#  248|-> 		err = _snd_pcm_hw_param_set_mask(params, SND_PCM_HW_PARAM_FORMAT,
#  249|   						 &format_mask);
#  250|   	} else {

Error: CLANG_WARNING: [#def145]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_mulaw.c:251:3: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  249|   						 &format_mask);
#  250|   	} else {
#  251|-> 		err = _snd_pcm_hw_params_set_format(params,
#  252|   						   SND_PCM_FORMAT_MU_LAW);
#  253|   	}

Error: CPPCHECK_WARNING: [#def146]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_multi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def147]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_multi.c:866:12: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'snd_pcm_chmap_query_t', which is incompatible with sizeof operand type 'int *'
#  864|   	if (!maps)
#  865|   		return NULL;
#  866|-> 	maps[0] = calloc(multi->channels_count + 2, sizeof(int *));
#  867|   	if (!maps[0])
#  868|   		goto error;

Error: CLANG_WARNING: [#def148]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_multi.c:917:8: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'snd_pcm_chmap_t', which is incompatible with sizeof operand type 'int'
#  915|   
#  916|   	memset(slave_maps, 0, sizeof(slave_maps));
#  917|-> 	map = calloc(multi->channels_count + 1, sizeof(int));
#  918|   	if (!map)
#  919|   		return NULL;

Error: CLANG_WARNING: [#def149]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_multi.c:957:19: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'snd_pcm_chmap_t', which is incompatible with sizeof operand type 'int'
#  955|   
#  956|   	for (i = 0; i < multi->slaves_count; i++) {
#  957|-> 		slave_maps[i] = calloc(multi->slaves[i].channels_count + 1,
#  958|   				       sizeof(int));
#  959|   		if (!slave_maps[i]) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def150]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_multi.c: scope_hint: In function 'snd_pcm_multi_set_chmap'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_multi.c:969:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*slave_maps[<unknown>]'
#  967|   	for (i = 0; i < multi->channels_count; i++) {
#  968|   		snd_pcm_multi_channel_t *bind = &multi->channels[i];
#  969|-> 		slave_maps[bind->slave_idx]->pos[bind->slave_channel] =
#  970|   			map->pos[i];
#  971|   	}

Error: CLANG_WARNING: [#def151]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_multi.c:1393:10: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1391|   				}
# 1392|   				for (k = 0; k < slaves_count; ++k) {
# 1393|-> 					if (strcmp(slaves_id[k], str) == 0)
# 1394|   						slave = k;
# 1395|   				}

Error: CLANG_WARNING: [#def152]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_multi.c:1442:8: warning[core.NullDereference]: Array access (from variable 'slaves_pcm') results in a null pointer dereference
# 1440|   	if (err < 0) {
# 1441|   		for (idx = 0; idx < slaves_count; ++idx) {
# 1442|-> 			if (slaves_pcm[idx])
# 1443|   				snd_pcm_close(slaves_pcm[idx]);
# 1444|   		}

Error: CPPCHECK_WARNING: [#def153]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_params.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def154]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_params.c:969:3: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  967|   	if (boundary_lt(min, *mindir, max, *maxdir)) {
#  968|   		tmp = *params;
#  969|-> 		err = snd_pcm_hw_param_set_near(pcm, &tmp, var, &max, maxdir);
#  970|   	} else {
#  971|   		max = min;

Error: CPPCHECK_WARNING: [#def155]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def156]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c:709: error[uninitvar]: Uninitialized variable: new
#  707|   		}
#  708|   		if (err) {
#  709|-> 			plug->gen.slave = new;
#  710|   		}
#  711|   		k++;

Error: CLANG_WARNING: [#def157]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c:943:5: warning[deadcode.DeadStores]: Value stored to 'f' is never read
#  941|   				continue;
#  942|   			if (snd_pcm_format_mask_test(sformat_mask, format))
#  943|-> 				f = format;
#  944|   			else {
#  945|   				f = snd_pcm_plug_slave_format(format, sformat_mask);

Error: CLANG_WARNING: [#def158]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c:1304:9: warning[deadcode.DeadStores]: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'
# 1302|   		if (strcmp(id, "route_policy") == 0) {
# 1303|   			const char *str;
# 1304|-> 			if ((err = snd_config_get_string(n, &str)) < 0) {
# 1305|   				SNDERR("Invalid type for %s", id);
# 1306|   				return -EINVAL;

Error: CLANG_WARNING: [#def159]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c:1369:8: warning[core.CallAndMessage]: 9th function call argument is an uninitialized value
# 1367|   	if (err < 0)
# 1368|   		return err;
# 1369|-> 	err = snd_pcm_plug_open(pcmp, name, sformat, schannels, srate, rate_converter,
# 1370|   				route_policy, ttable, ssize, cused, sused, spcm, 1);
# 1371|   	if (err < 0)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def160]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c: scope_hint: In function '_snd_pcm_plug_open'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c:1369:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'sused'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:181: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_local.h:40: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c:29: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c:1281:9: note: in expansion of macro 'snd_config_for_each'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c:1286:21: note: in expansion of macro 'snd_pcm_conf_generic_id'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c:1281:9: note: in expansion of macro 'snd_config_for_each'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plug.c:1362:34: note: in expansion of macro 'snd_pcm_rate_get_default_converter'
# 1367|   	if (err < 0)
# 1368|   		return err;
# 1369|-> 	err = snd_pcm_plug_open(pcmp, name, sformat, schannels, srate, rate_converter,
# 1370|   				route_policy, ttable, ssize, cused, sused, spcm, 1);
# 1371|   	if (err < 0)

Error: CPPCHECK_WARNING: [#def161]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plugin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def162]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_plugin.c:633: error[legacyUninitvar]: Uninitialized variable: *&swparams
#  631|   		if (slave->avail_min != needed_slave_avail_min) {
#  632|   			snd_pcm_sw_params_t *swparams;
#  633|-> 			snd_pcm_sw_params_alloca(&swparams);
#  634|   			/* pray that changing sw_params while running is
#  635|   			 * properly implemented in all downstream plugins...

Error: CPPCHECK_WARNING: [#def163]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_rate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def164]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:340:18: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  338|   			goto *add;
#  339|   		add_int64_att:
#  340|-> 			sum.as_sint64 += (int64_t) sample * ttp->as_int;
#  341|   			goto after_sum;
#  342|   		add_int64_noatt:

Error: CLANG_WARNING: [#def165]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:344:19: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  342|   		add_int64_noatt:
#  343|   			if (ttp->as_int)
#  344|-> 				sum.as_sint64 += sample;
#  345|   			goto after_sum;
#  346|   #if SND_PCM_PLUGIN_ROUTE_FLOAT

Error: CLANG_WARNING: [#def166]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:348:17: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  346|   #if SND_PCM_PLUGIN_ROUTE_FLOAT
#  347|   		add_float_att:
#  348|-> 			sum.as_float += sample * ttp->as_float;
#  349|   			goto after_sum;
#  350|   		add_float_noatt:

Error: CLANG_WARNING: [#def167]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:352:18: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  350|   		add_float_noatt:
#  351|   			if (ttp->as_int)
#  352|-> 				sum.as_float += sample;
#  353|   			goto after_sum;
#  354|   #endif

Error: CLANG_WARNING: [#def168]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:356:17: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  354|   #endif
#  355|   		after_sum:
#  356|-> 			srcs[srcidx] += src_steps[srcidx];
#  357|   			ttp++;
#  358|   		}

Error: CLANG_WARNING: [#def169]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:363:3: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  361|   		goto *norm;
#  362|   	norm_int64_att:
#  363|-> 		div(sum.as_sint64);
#  364|   		/* fallthru */
#  365|   	norm_int64_noatt:

Error: CLANG_WARNING: [#def170]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:366:21: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>' is a garbage value
#  364|   		/* fallthru */
#  365|   	norm_int64_noatt:
#  366|-> 		if (sum.as_sint64 > (int64_t)0x7fffffff)
#  367|   			sample = 0x7fffffff;	/* maximum positive value */
#  368|   		else if (sum.as_sint64 < -(int64_t)0x80000000)

Error: CLANG_WARNING: [#def171]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:376:18: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
#  374|   #if SND_PCM_PLUGIN_ROUTE_FLOAT
#  375|   	norm_float:
#  376|-> 		sum.as_float = rint(sum.as_float);
#  377|   		if (sum.as_float > (int64_t)0x7fffffff)
#  378|   			sample = 0x7fffffff;	/* maximum positive value */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c: scope_hint: In function 'determine_chmap'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:781:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'chmap'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:32: included_from: Included from here.
#  779|   		       MAX_CHMAP_CHANNELS * sizeof(unsigned int));
#  780|   
#  781|-> 	chmap->channels = 0;
#  782|   	snd_config_for_each(i, inext, tt) {
#  783|   		const char *id;

Error: CLANG_WARNING: [#def173]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:959:3: warning[core.VLASize]: Declared variable-length array (VLA) has zero size
#  957|   		int att = 0;
#  958|   		int nsrcs = 0;
#  959|-> 		snd_pcm_route_ttable_src_t srcs[sused];
#  960|   		for (src_channel = 0; src_channel < sused; ++src_channel) {
#  961|   			snd_pcm_route_ttable_entry_t v;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def174]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c: scope_hint: In function 'route_load_ttable'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:992:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '__builtin_alloca_with_align((sizetype)sused * 12, 32)'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:30: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:1035:9: note: in expansion of macro 'snd_pcm_plugin_init'
#  990|   			if (!dptr->srcs)
#  991|   				return -ENOMEM;
#  992|-> 			memcpy(dptr->srcs, srcs, sizeof(*srcs) * nsrcs);
#  993|   		} else
#  994|   			dptr->srcs = 0;

Error: CPPCHECK_WARNING: [#def175]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_share.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def176]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_share.c:246:4: warning[deadcode.DeadStores]: Value stored to 'slave_avail' is never read
#  244|   			if (err != frames)
#  245|   				SYSMSG("commit returns %ld for size %ld", err, frames);
#  246|-> 			slave_avail -= err;
#  247|   		} else {
#  248|   			if (safety_missing == 0)

Error: CLANG_WARNING: [#def177]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_share.c:413:4: warning[deadcode.DeadStores]: Value stored to 'err' is never read
#  411|   			slave->polling = 1;
#  412|   			Pthread_mutex_unlock(&slave->mutex);
#  413|-> 			err = poll(pfd, 2, -1);
#  414|   			Pthread_mutex_lock(&slave->mutex);
#  415|   			if (pfd[0].revents & POLLIN) {

Error: COMPILER_WARNING (CWE-252): [#def178]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_share.c: scope_hint: In function 'snd_pcm_share_thread'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_share.c:417:33: warning[-Wunused-result]: ignoring return value of 'read' declared with attribute 'warn_unused_result'
#  417 |                                 read(pfd[0].fd, buf, 1);
#      |                                 ^~~~~~~~~~~~~~~~~~~~~~~
#  415|   			if (pfd[0].revents & POLLIN) {
#  416|   				char buf[1];
#  417|-> 				read(pfd[0].fd, buf, 1);
#  418|   			}
#  419|   		} else {

Error: CPPCHECK_WARNING: [#def179]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_shm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def180]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_simple.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def181]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_softvol.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def182]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:333: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h: scope_hint: In function 'snd_pcm_route_convert1_many'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:55:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'src'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:529:34: note: in expansion of macro 'as_u8c'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:529:34: note: in expansion of macro 'as_u8c'
#   53|   #define as_double(ptr) (*(double_t*)(ptr))
#   54|   
#   55|-> #define as_u8c(ptr) (*(const uint8_t*)(ptr))
#   56|   #define as_u16c(ptr) (*(const uint16_t*)(ptr))
#   57|   #define as_u32c(ptr) (*(const uint32_t*)(ptr))

Error: GCC_ANALYZER_WARNING (CWE-457): [#def183]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:56:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'src'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:531:35: note: in expansion of macro 'as_u16c'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:531:35: note: in expansion of macro 'as_u16c'
#   54|   
#   55|   #define as_u8c(ptr) (*(const uint8_t*)(ptr))
#   56|-> #define as_u16c(ptr) (*(const uint16_t*)(ptr))
#   57|   #define as_u32c(ptr) (*(const uint32_t*)(ptr))
#   58|   #define as_u64c(ptr) (*(const uint64_t*)(ptr))

Error: GCC_ANALYZER_WARNING (CWE-457): [#def184]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:57:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'src'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:535:27: note: in expansion of macro 'as_u32c'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:535:27: note: in expansion of macro 'as_u32c'
#   55|   #define as_u8c(ptr) (*(const uint8_t*)(ptr))
#   56|   #define as_u16c(ptr) (*(const uint16_t*)(ptr))
#   57|-> #define as_u32c(ptr) (*(const uint32_t*)(ptr))
#   58|   #define as_u64c(ptr) (*(const uint64_t*)(ptr))
#   59|   #define as_s8c(ptr) (*(const int8_t*)(ptr))

Error: GCC_ANALYZER_WARNING (CWE-457): [#def185]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:66:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'src'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:84:26: note: in expansion of macro '_get_triple_le'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:547:26: note: in expansion of macro '_get_triple'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:84:26: note: in expansion of macro '_get_triple_le'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:547:26: note: in expansion of macro '_get_triple'
#   64|   #define as_doublec(ptr) (*(const double_t*)(ptr))
#   65|   
#   66|-> #define _get_triple_le(ptr) (*(uint8_t*)(ptr) | (uint32_t)*((uint8_t*)(ptr) + 1) << 8 | (uint32_t)*((uint8_t*)(ptr) + 2) << 16)
#   67|   #define _get_triple_be(ptr) ((uint32_t)*(uint8_t*)(ptr) << 16 | (uint32_t)*((uint8_t*)(ptr) + 1) << 8 | *((uint8_t*)(ptr) + 2))
#   68|   #define _put_triple_le(ptr,val) do { \

Error: GCC_ANALYZER_WARNING (CWE-457): [#def186]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:67:40: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'src'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:85:28: note: in expansion of macro '_get_triple_be'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:549:26: note: in expansion of macro '_get_triple_s'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:85:28: note: in expansion of macro '_get_triple_be'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:549:26: note: in expansion of macro '_get_triple_s'
#   65|   
#   66|   #define _get_triple_le(ptr) (*(uint8_t*)(ptr) | (uint32_t)*((uint8_t*)(ptr) + 1) << 8 | (uint32_t)*((uint8_t*)(ptr) + 2) << 16)
#   67|-> #define _get_triple_be(ptr) ((uint32_t)*(uint8_t*)(ptr) << 16 | (uint32_t)*((uint8_t*)(ptr) + 1) << 8 | *((uint8_t*)(ptr) + 2))
#   68|   #define _put_triple_le(ptr,val) do { \
#   69|   	uint8_t *_tmp = (uint8_t *)(ptr); \

Error: COMPILER_WARNING (CWE-457): [#def187]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:333: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h: scope_hint: In function 'snd_pcm_route_convert1_many'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:67:105: warning[-Wmaybe-uninitialized]: 'src' may be used uninitialized
#   67 | #define _get_triple_be(ptr) ((uint32_t)*(uint8_t*)(ptr) << 16 | (uint32_t)*((uint8_t*)(ptr) + 1) << 8 | *((uint8_t*)(ptr) + 2))
#      |                                                                                                         ^~~~~~~~~~~~~~~~~~~~~~
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:328:37: note: 'src' was declared here
#  328 |                         const char *src = srcs[srcidx];
#      |                                     ^~~
#   65|   
#   66|   #define _get_triple_le(ptr) (*(uint8_t*)(ptr) | (uint32_t)*((uint8_t*)(ptr) + 1) << 8 | (uint32_t)*((uint8_t*)(ptr) + 2) << 16)
#   67|-> #define _get_triple_be(ptr) ((uint32_t)*(uint8_t*)(ptr) << 16 | (uint32_t)*((uint8_t*)(ptr) + 1) << 8 | *((uint8_t*)(ptr) + 2))
#   68|   #define _put_triple_le(ptr,val) do { \
#   69|   	uint8_t *_tmp = (uint8_t *)(ptr); \

Error: CLANG_WARNING: [#def188]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:333: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:529:34: warning[core.NullDereference]: Dereference of undefined pointer value
#  527|   #ifdef GET32_END
#  528|   while (0) {
#  529|-> get32_1_1000: sample = (uint32_t)as_u8c(src) << 24; goto GET32_END;
#  530|   get32_1_9000: sample = (uint32_t)(as_u8c(src) ^ 0x80) << 24; goto GET32_END;
#  531|   get32_12_1200: sample = (uint32_t)as_u16c(src) << 16; goto GET32_END;

Error: CLANG_WARNING: [#def189]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:530:35: warning[core.NullDereference]: Dereference of undefined pointer value
#  528|   while (0) {
#  529|   get32_1_1000: sample = (uint32_t)as_u8c(src) << 24; goto GET32_END;
#  530|-> get32_1_9000: sample = (uint32_t)(as_u8c(src) ^ 0x80) << 24; goto GET32_END;
#  531|   get32_12_1200: sample = (uint32_t)as_u16c(src) << 16; goto GET32_END;
#  532|   get32_12_9200: sample = (uint32_t)(as_u16c(src) ^ 0x8000) << 16; goto GET32_END;

Error: CLANG_WARNING: [#def190]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:531:35: warning[core.NullDereference]: Dereference of undefined pointer value
#  529|   get32_1_1000: sample = (uint32_t)as_u8c(src) << 24; goto GET32_END;
#  530|   get32_1_9000: sample = (uint32_t)(as_u8c(src) ^ 0x80) << 24; goto GET32_END;
#  531|-> get32_12_1200: sample = (uint32_t)as_u16c(src) << 16; goto GET32_END;
#  532|   get32_12_9200: sample = (uint32_t)(as_u16c(src) ^ 0x8000) << 16; goto GET32_END;
#  533|   get32_12_2100: sample = (uint32_t)bswap_16(as_u16c(src)) << 16; goto GET32_END;

Error: CLANG_WARNING: [#def191]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:532:36: warning[core.NullDereference]: Dereference of undefined pointer value
#  530|   get32_1_9000: sample = (uint32_t)(as_u8c(src) ^ 0x80) << 24; goto GET32_END;
#  531|   get32_12_1200: sample = (uint32_t)as_u16c(src) << 16; goto GET32_END;
#  532|-> get32_12_9200: sample = (uint32_t)(as_u16c(src) ^ 0x8000) << 16; goto GET32_END;
#  533|   get32_12_2100: sample = (uint32_t)bswap_16(as_u16c(src)) << 16; goto GET32_END;
#  534|   get32_12_A100: sample = (uint32_t)bswap_16(as_u16c(src) ^ 0x80) << 16; goto GET32_END;

Error: CLANG_WARNING: [#def192]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:533:44: warning[core.NullDereference]: Dereference of undefined pointer value
#  531|   get32_12_1200: sample = (uint32_t)as_u16c(src) << 16; goto GET32_END;
#  532|   get32_12_9200: sample = (uint32_t)(as_u16c(src) ^ 0x8000) << 16; goto GET32_END;
#  533|-> get32_12_2100: sample = (uint32_t)bswap_16(as_u16c(src)) << 16; goto GET32_END;
#  534|   get32_12_A100: sample = (uint32_t)bswap_16(as_u16c(src) ^ 0x80) << 16; goto GET32_END;
#  535|   get32_0123_1230: sample = as_u32c(src) << 8; goto GET32_END;

Error: CLANG_WARNING: [#def193]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:333: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:534:44: warning[core.NullDereference]: Dereference of undefined pointer value
#  532|   get32_12_9200: sample = (uint32_t)(as_u16c(src) ^ 0x8000) << 16; goto GET32_END;
#  533|   get32_12_2100: sample = (uint32_t)bswap_16(as_u16c(src)) << 16; goto GET32_END;
#  534|-> get32_12_A100: sample = (uint32_t)bswap_16(as_u16c(src) ^ 0x80) << 16; goto GET32_END;
#  535|   get32_0123_1230: sample = as_u32c(src) << 8; goto GET32_END;
#  536|   get32_0123_9230: sample = (as_u32c(src) << 8) ^ 0x80000000; goto GET32_END;

Error: CLANG_WARNING: [#def194]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:333: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:535:27: warning[core.NullDereference]: Dereference of undefined pointer value
#  533|   get32_12_2100: sample = (uint32_t)bswap_16(as_u16c(src)) << 16; goto GET32_END;
#  534|   get32_12_A100: sample = (uint32_t)bswap_16(as_u16c(src) ^ 0x80) << 16; goto GET32_END;
#  535|-> get32_0123_1230: sample = as_u32c(src) << 8; goto GET32_END;
#  536|   get32_0123_9230: sample = (as_u32c(src) << 8) ^ 0x80000000; goto GET32_END;
#  537|   get32_1230_3210: sample = bswap_32(as_u32c(src) >> 8); goto GET32_END;

Error: CLANG_WARNING: [#def195]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:536:28: warning[core.NullDereference]: Dereference of undefined pointer value
#  534|   get32_12_A100: sample = (uint32_t)bswap_16(as_u16c(src) ^ 0x80) << 16; goto GET32_END;
#  535|   get32_0123_1230: sample = as_u32c(src) << 8; goto GET32_END;
#  536|-> get32_0123_9230: sample = (as_u32c(src) << 8) ^ 0x80000000; goto GET32_END;
#  537|   get32_1230_3210: sample = bswap_32(as_u32c(src) >> 8); goto GET32_END;
#  538|   get32_1230_B210: sample = bswap_32((as_u32c(src) >> 8) ^ 0x80); goto GET32_END;

Error: CLANG_WARNING: [#def196]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:537:36: warning[core.NullDereference]: Dereference of undefined pointer value
#  535|   get32_0123_1230: sample = as_u32c(src) << 8; goto GET32_END;
#  536|   get32_0123_9230: sample = (as_u32c(src) << 8) ^ 0x80000000; goto GET32_END;
#  537|-> get32_1230_3210: sample = bswap_32(as_u32c(src) >> 8); goto GET32_END;
#  538|   get32_1230_B210: sample = bswap_32((as_u32c(src) >> 8) ^ 0x80); goto GET32_END;
#  539|   get32_1234_1234: sample = as_u32c(src); goto GET32_END;

Error: CLANG_WARNING: [#def197]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:333: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:538:37: warning[core.NullDereference]: Dereference of undefined pointer value
#  536|   get32_0123_9230: sample = (as_u32c(src) << 8) ^ 0x80000000; goto GET32_END;
#  537|   get32_1230_3210: sample = bswap_32(as_u32c(src) >> 8); goto GET32_END;
#  538|-> get32_1230_B210: sample = bswap_32((as_u32c(src) >> 8) ^ 0x80); goto GET32_END;
#  539|   get32_1234_1234: sample = as_u32c(src); goto GET32_END;
#  540|   get32_1234_9234: sample = as_u32c(src) ^ 0x80000000; goto GET32_END;

Error: CLANG_WARNING: [#def198]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:333: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:539:27: warning[core.NullDereference]: Dereference of undefined pointer value
#  537|   get32_1230_3210: sample = bswap_32(as_u32c(src) >> 8); goto GET32_END;
#  538|   get32_1230_B210: sample = bswap_32((as_u32c(src) >> 8) ^ 0x80); goto GET32_END;
#  539|-> get32_1234_1234: sample = as_u32c(src); goto GET32_END;
#  540|   get32_1234_9234: sample = as_u32c(src) ^ 0x80000000; goto GET32_END;
#  541|   get32_1234_4321: sample = bswap_32(as_u32c(src)); goto GET32_END;

Error: CLANG_WARNING: [#def199]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:540:27: warning[core.NullDereference]: Dereference of undefined pointer value
#  538|   get32_1230_B210: sample = bswap_32((as_u32c(src) >> 8) ^ 0x80); goto GET32_END;
#  539|   get32_1234_1234: sample = as_u32c(src); goto GET32_END;
#  540|-> get32_1234_9234: sample = as_u32c(src) ^ 0x80000000; goto GET32_END;
#  541|   get32_1234_4321: sample = bswap_32(as_u32c(src)); goto GET32_END;
#  542|   get32_1234_C321: sample = bswap_32(as_u32c(src) ^ 0x80); goto GET32_END;

Error: CLANG_WARNING: [#def200]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:541:36: warning[core.NullDereference]: Dereference of undefined pointer value
#  539|   get32_1234_1234: sample = as_u32c(src); goto GET32_END;
#  540|   get32_1234_9234: sample = as_u32c(src) ^ 0x80000000; goto GET32_END;
#  541|-> get32_1234_4321: sample = bswap_32(as_u32c(src)); goto GET32_END;
#  542|   get32_1234_C321: sample = bswap_32(as_u32c(src) ^ 0x80); goto GET32_END;
#  543|   get32_0123_1230_20: sample = as_u32c(src) << 12; goto GET32_END;

Error: CLANG_WARNING: [#def201]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:333: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:542:36: warning[core.NullDereference]: Dereference of undefined pointer value
#  540|   get32_1234_9234: sample = as_u32c(src) ^ 0x80000000; goto GET32_END;
#  541|   get32_1234_4321: sample = bswap_32(as_u32c(src)); goto GET32_END;
#  542|-> get32_1234_C321: sample = bswap_32(as_u32c(src) ^ 0x80); goto GET32_END;
#  543|   get32_0123_1230_20: sample = as_u32c(src) << 12; goto GET32_END;
#  544|   get32_0123_9230_20: sample = (as_u32c(src) << 12) ^ 0x80000000; goto GET32_END;

Error: CLANG_WARNING: [#def202]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:333: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:543:30: warning[core.NullDereference]: Dereference of undefined pointer value
#  541|   get32_1234_4321: sample = bswap_32(as_u32c(src)); goto GET32_END;
#  542|   get32_1234_C321: sample = bswap_32(as_u32c(src) ^ 0x80); goto GET32_END;
#  543|-> get32_0123_1230_20: sample = as_u32c(src) << 12; goto GET32_END;
#  544|   get32_0123_9230_20: sample = (as_u32c(src) << 12) ^ 0x80000000; goto GET32_END;
#  545|   get32_1230_3210_20: sample = bswap_32(as_u32c(src)) << 12; goto GET32_END;

Error: CLANG_WARNING: [#def203]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:544:31: warning[core.NullDereference]: Dereference of undefined pointer value
#  542|   get32_1234_C321: sample = bswap_32(as_u32c(src) ^ 0x80); goto GET32_END;
#  543|   get32_0123_1230_20: sample = as_u32c(src) << 12; goto GET32_END;
#  544|-> get32_0123_9230_20: sample = (as_u32c(src) << 12) ^ 0x80000000; goto GET32_END;
#  545|   get32_1230_3210_20: sample = bswap_32(as_u32c(src)) << 12; goto GET32_END;
#  546|   get32_1230_B210_20: sample = (bswap_32(as_u32c(src)) << 12) ^ 0x80000000; goto GET32_END;

Error: CLANG_WARNING: [#def204]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:545:39: warning[core.NullDereference]: Dereference of undefined pointer value
#  543|   get32_0123_1230_20: sample = as_u32c(src) << 12; goto GET32_END;
#  544|   get32_0123_9230_20: sample = (as_u32c(src) << 12) ^ 0x80000000; goto GET32_END;
#  545|-> get32_1230_3210_20: sample = bswap_32(as_u32c(src)) << 12; goto GET32_END;
#  546|   get32_1230_B210_20: sample = (bswap_32(as_u32c(src)) << 12) ^ 0x80000000; goto GET32_END;
#  547|   get32_123_1230: sample = _get_triple(src) << 8; goto GET32_END;

Error: CLANG_WARNING: [#def205]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:333: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:546:40: warning[core.NullDereference]: Dereference of undefined pointer value
#  544|   get32_0123_9230_20: sample = (as_u32c(src) << 12) ^ 0x80000000; goto GET32_END;
#  545|   get32_1230_3210_20: sample = bswap_32(as_u32c(src)) << 12; goto GET32_END;
#  546|-> get32_1230_B210_20: sample = (bswap_32(as_u32c(src)) << 12) ^ 0x80000000; goto GET32_END;
#  547|   get32_123_1230: sample = _get_triple(src) << 8; goto GET32_END;
#  548|   get32_123_9230: sample = (_get_triple(src) << 8) ^ 0x80000000; goto GET32_END;

Error: CLANG_WARNING: [#def206]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/pcm_route.c:333: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:547:26: warning[core.NullDereference]: Dereference of undefined pointer value
#  545|   get32_1230_3210_20: sample = bswap_32(as_u32c(src)) << 12; goto GET32_END;
#  546|   get32_1230_B210_20: sample = (bswap_32(as_u32c(src)) << 12) ^ 0x80000000; goto GET32_END;
#  547|-> get32_123_1230: sample = _get_triple(src) << 8; goto GET32_END;
#  548|   get32_123_9230: sample = (_get_triple(src) << 8) ^ 0x80000000; goto GET32_END;
#  549|   get32_123_3210: sample = _get_triple_s(src) << 8; goto GET32_END;

Error: CLANG_WARNING: [#def207]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:548:27: warning[core.NullDereference]: Dereference of undefined pointer value
#  546|   get32_1230_B210_20: sample = (bswap_32(as_u32c(src)) << 12) ^ 0x80000000; goto GET32_END;
#  547|   get32_123_1230: sample = _get_triple(src) << 8; goto GET32_END;
#  548|-> get32_123_9230: sample = (_get_triple(src) << 8) ^ 0x80000000; goto GET32_END;
#  549|   get32_123_3210: sample = _get_triple_s(src) << 8; goto GET32_END;
#  550|   get32_123_B210: sample = (_get_triple_s(src) << 8) ^ 0x80000000; goto GET32_END;

Error: CLANG_WARNING: [#def208]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:549:26: warning[core.NullDereference]: Dereference of undefined pointer value
#  547|   get32_123_1230: sample = _get_triple(src) << 8; goto GET32_END;
#  548|   get32_123_9230: sample = (_get_triple(src) << 8) ^ 0x80000000; goto GET32_END;
#  549|-> get32_123_3210: sample = _get_triple_s(src) << 8; goto GET32_END;
#  550|   get32_123_B210: sample = (_get_triple_s(src) << 8) ^ 0x80000000; goto GET32_END;
#  551|   get32_123_1230_20: sample = _get_triple(src) << 12; goto GET32_END;

Error: CLANG_WARNING: [#def209]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:550:27: warning[core.NullDereference]: Dereference of undefined pointer value
#  548|   get32_123_9230: sample = (_get_triple(src) << 8) ^ 0x80000000; goto GET32_END;
#  549|   get32_123_3210: sample = _get_triple_s(src) << 8; goto GET32_END;
#  550|-> get32_123_B210: sample = (_get_triple_s(src) << 8) ^ 0x80000000; goto GET32_END;
#  551|   get32_123_1230_20: sample = _get_triple(src) << 12; goto GET32_END;
#  552|   get32_123_9230_20: sample = (_get_triple(src) << 12) ^ 0x80000000; goto GET32_END;

Error: CLANG_WARNING: [#def210]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:551:29: warning[core.NullDereference]: Dereference of undefined pointer value
#  549|   get32_123_3210: sample = _get_triple_s(src) << 8; goto GET32_END;
#  550|   get32_123_B210: sample = (_get_triple_s(src) << 8) ^ 0x80000000; goto GET32_END;
#  551|-> get32_123_1230_20: sample = _get_triple(src) << 12; goto GET32_END;
#  552|   get32_123_9230_20: sample = (_get_triple(src) << 12) ^ 0x80000000; goto GET32_END;
#  553|   get32_123_3210_20: sample = _get_triple_s(src) << 12; goto GET32_END;

Error: CLANG_WARNING: [#def211]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:552:30: warning[core.NullDereference]: Dereference of undefined pointer value
#  550|   get32_123_B210: sample = (_get_triple_s(src) << 8) ^ 0x80000000; goto GET32_END;
#  551|   get32_123_1230_20: sample = _get_triple(src) << 12; goto GET32_END;
#  552|-> get32_123_9230_20: sample = (_get_triple(src) << 12) ^ 0x80000000; goto GET32_END;
#  553|   get32_123_3210_20: sample = _get_triple_s(src) << 12; goto GET32_END;
#  554|   get32_123_B210_20: sample = (_get_triple_s(src) << 12) ^ 0x80000000; goto GET32_END;

Error: CLANG_WARNING: [#def212]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:553:29: warning[core.NullDereference]: Dereference of undefined pointer value
#  551|   get32_123_1230_20: sample = _get_triple(src) << 12; goto GET32_END;
#  552|   get32_123_9230_20: sample = (_get_triple(src) << 12) ^ 0x80000000; goto GET32_END;
#  553|-> get32_123_3210_20: sample = _get_triple_s(src) << 12; goto GET32_END;
#  554|   get32_123_B210_20: sample = (_get_triple_s(src) << 12) ^ 0x80000000; goto GET32_END;
#  555|   get32_123_1230_18: sample = _get_triple(src) << 14; goto GET32_END;

Error: CLANG_WARNING: [#def213]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:554:30: warning[core.NullDereference]: Dereference of undefined pointer value
#  552|   get32_123_9230_20: sample = (_get_triple(src) << 12) ^ 0x80000000; goto GET32_END;
#  553|   get32_123_3210_20: sample = _get_triple_s(src) << 12; goto GET32_END;
#  554|-> get32_123_B210_20: sample = (_get_triple_s(src) << 12) ^ 0x80000000; goto GET32_END;
#  555|   get32_123_1230_18: sample = _get_triple(src) << 14; goto GET32_END;
#  556|   get32_123_9230_18: sample = (_get_triple(src) << 14) ^ 0x80000000; goto GET32_END;

Error: CLANG_WARNING: [#def214]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:555:29: warning[core.NullDereference]: Dereference of undefined pointer value
#  553|   get32_123_3210_20: sample = _get_triple_s(src) << 12; goto GET32_END;
#  554|   get32_123_B210_20: sample = (_get_triple_s(src) << 12) ^ 0x80000000; goto GET32_END;
#  555|-> get32_123_1230_18: sample = _get_triple(src) << 14; goto GET32_END;
#  556|   get32_123_9230_18: sample = (_get_triple(src) << 14) ^ 0x80000000; goto GET32_END;
#  557|   get32_123_3210_18: sample = _get_triple_s(src) << 14; goto GET32_END;

Error: CLANG_WARNING: [#def215]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:556:30: warning[core.NullDereference]: Dereference of undefined pointer value
#  554|   get32_123_B210_20: sample = (_get_triple_s(src) << 12) ^ 0x80000000; goto GET32_END;
#  555|   get32_123_1230_18: sample = _get_triple(src) << 14; goto GET32_END;
#  556|-> get32_123_9230_18: sample = (_get_triple(src) << 14) ^ 0x80000000; goto GET32_END;
#  557|   get32_123_3210_18: sample = _get_triple_s(src) << 14; goto GET32_END;
#  558|   get32_123_B210_18: sample = (_get_triple_s(src) << 14) ^ 0x80000000; goto GET32_END;

Error: CLANG_WARNING: [#def216]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:557:29: warning[core.NullDereference]: Dereference of undefined pointer value
#  555|   get32_123_1230_18: sample = _get_triple(src) << 14; goto GET32_END;
#  556|   get32_123_9230_18: sample = (_get_triple(src) << 14) ^ 0x80000000; goto GET32_END;
#  557|-> get32_123_3210_18: sample = _get_triple_s(src) << 14; goto GET32_END;
#  558|   get32_123_B210_18: sample = (_get_triple_s(src) << 14) ^ 0x80000000; goto GET32_END;
#  559|   }

Error: CLANG_WARNING: [#def217]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/pcm/plugin_ops.h:558:30: warning[core.NullDereference]: Dereference of undefined pointer value
#  556|   get32_123_9230_18: sample = (_get_triple(src) << 14) ^ 0x80000000; goto GET32_END;
#  557|   get32_123_3210_18: sample = _get_triple_s(src) << 14; goto GET32_END;
#  558|-> get32_123_B210_18: sample = (_get_triple_s(src) << 14) ^ 0x80000000; goto GET32_END;
#  559|   }
#  560|   #endif

Error: CPPCHECK_WARNING: [#def218]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/rawmidi/rawmidi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def219]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/rawmidi/rawmidi_hw.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/rawmidi/rawmidi_hw.c: scope_hint: In function 'snd_rawmidi_hw_params'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/rawmidi/rawmidi_hw.c:137:38: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/rawmidi/rawmidi_hw.c: scope_hint: In function 'snd_rawmidi_hw_params'
#  135|   				return -ENOMEM;
#  136|   			hw->buf = buf;
#  137|-> 			hw->buf_size = alloc_size;
#  138|   		}
#  139|   	}

Error: CPPCHECK_WARNING: [#def221]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/rawmidi/rawmidi_virt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/rawmidi/rawmidi_virt.c: scope_hint: In function 'snd_rawmidi_virtual_open'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/rawmidi/rawmidi_virt.c:393:9: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
#  391|   	if (outputp)
#  392|   		free(*outputp);
#  393|-> 	free(rmidi);
#  394|   	return err;
#  395|   }

Error: CPPCHECK_WARNING: [#def223]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/rawmidi/ump.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def224]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/seq/seq.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def225]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/seq/seq.c:918:9: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  916|   		snd_config_delete(type_conf);
#  917|   	if (! err) {
#  918|-> 		err = open_func(seqp, name, seq_root, seq_conf, streams, mode);
#  919|   		if (err < 0)
#  920|   			snd_dlclose(h);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def226]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/seq/seq.c: scope_hint: In function 'snd_seq_open_conf'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/seq/seq.c:918:23: warning[-Wanalyzer-jump-through-null]: jump through null pointer
#  916|   		snd_config_delete(type_conf);
#  917|   	if (! err) {
#  918|-> 		err = open_func(seqp, name, seq_root, seq_conf, streams, mode);
#  919|   		if (err < 0)
#  920|   			snd_dlclose(h);

Error: CLANG_WARNING: [#def227]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/seq/seq.c:1279:12: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'char', which is incompatible with sizeof operand type 'snd_seq_ump_event_t'
# 1277|   		char *newbuf;
# 1278|   		/* use ump event size for avoiding reallocation at switching */
# 1279|-> 		newbuf = calloc(sizeof(snd_seq_ump_event_t), size);
# 1280|   		if (newbuf == NULL)
# 1281|   			return -ENOMEM;

Error: CPPCHECK_WARNING: [#def228]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/seq/seq_hw.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def229]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/seq/seq_hw.c:570:24: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'char', which is incompatible with sizeof operand type 'snd_seq_ump_event_t'
#  568|   	}
#  569|   	if (streams & SND_SEQ_OPEN_INPUT) {
#  570|-> 		seq->ibuf = (char *) calloc(sizeof(snd_seq_ump_event_t), seq->ibufsize = SND_SEQ_IBUF_SIZE);
#  571|   		if (!seq->ibuf) {
#  572|   			free(seq->obuf);

Error: CPPCHECK_WARNING: [#def230]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/seq/seq_midi_event.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def231]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/seq/seqmid.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def232]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/timer/timer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def233]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/timer/timer.c:169:9: warning[core.CallAndMessage]: Called function pointer is null (null dereference)
#  167|   		snd_config_delete(type_conf);
#  168|   	if (! err) {
#  169|-> 		err = open_func(timer, name, timer_root, timer_conf, mode);
#  170|   		if (err < 0)
#  171|   			snd_dlclose(h);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def234]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/timer/timer.c: scope_hint: In function 'snd_timer_open_conf'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/timer/timer.c:169:23: warning[-Wanalyzer-jump-through-null]: jump through null pointer
#  167|   		snd_config_delete(type_conf);
#  168|   	if (! err) {
#  169|-> 		err = open_func(timer, name, timer_root, timer_conf, mode);
#  170|   		if (err < 0)
#  171|   			snd_dlclose(h);

Error: CPPCHECK_WARNING: [#def235]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/timer/timer_hw.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def236]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/timer/timer_query.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def237]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/builder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def238]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/channel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def239]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/ctl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def240]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/dapm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def241]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/data.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def242]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/data.c:997:4: warning[core.CallAndMessage]: 6th function call argument is an uninitialized value
#  995|   		n = snd_config_iterator_entry(i);
#  996|   		if (snd_config_get_type(n) != SND_CONFIG_TYPE_COMPOUND) {
#  997|-> 			SNDERR("compound type expected for %s, is %d",
#  998|   			       id, snd_config_get_type(n));
#  999|   			return -EINVAL;

Error: CLANG_WARNING: [#def243]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/data.c:1175:3: warning[deadcode.DeadStores]: Value stored to 'err' is never read
# 1173|   		err = tplg_save_tuple_sets(tplg, elem, dst, pfx2);
# 1174|   	if (err >= 0)
# 1175|-> 		err = tplg_save_printf(dst, pfx, "}\n");
# 1176|   	return 0;
# 1177|   }

Error: CPPCHECK_WARNING (CWE-457): [#def244]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/data.c:1905: error[uninitvar]: Uninitialized variable: id
# 1903|   			if (err < 0)
# 1904|   				return err;
# 1905|-> 			err = tplg_ref_add(elem2, SND_TPLG_TYPE_TUPLE, id);
# 1906|   			if (err < 0)
# 1907|   				return err;

Error: CPPCHECK_WARNING: [#def245]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/decoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def246]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/elem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-401): [#def247]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/elem.c:257: error[memleak]: Memory leak: ref
#  255|   
#  256|   	list_add_tail(&ref->list, &elem->ref_list);
#  257|-> 	return 0;
#  258|   }
#  259|   

Error: CPPCHECK_WARNING (CWE-401): [#def248]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/elem.c:274: error[memleak]: Memory leak: ref
#  272|   
#  273|   	list_add_tail(&ref->list, &elem->ref_list);
#  274|-> 	return 0;
#  275|   }
#  276|   

Error: CPPCHECK_WARNING (CWE-401): [#def249]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/elem.c:499: error[memleak]: Memory leak: a
#  497|   		return NULL;
#  498|   	list_add_tail(&a->list, heap);
#  499|-> 	return a->data;
#  500|   }
#  501|   

Error: CPPCHECK_WARNING: [#def250]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/ops.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def251]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def252]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/pcm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def253]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/pcm.c:2250:22: warning[core.NullDereference]: Array access (via field 'tx_chanmap') results in a null pointer dereference
# 2248|   		}
# 2249|   		for (j = 0; j < hw->tx_channels; j++)
# 2250|-> 			hw->tx_chanmap[j] = link->hw_config[i].tx_chanmap[j];
# 2251|   		hw->rx_channels = link->hw_config[i].rx_channels;
# 2252|   		if (hw->rx_channels > SND_SOC_TPLG_MAX_CHAN) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def254]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/pcm.c: scope_hint: In function 'tplg_decode_link'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/pcm.c:2250:43: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/pcm.c:20: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/pcm.c:2189:9: note: in expansion of macro 'tplg_log'
# 2248|   		}
# 2249|   		for (j = 0; j < hw->tx_channels; j++)
# 2250|-> 			hw->tx_chanmap[j] = link->hw_config[i].tx_chanmap[j];
# 2251|   		hw->rx_channels = link->hw_config[i].rx_channels;
# 2252|   		if (hw->rx_channels > SND_SOC_TPLG_MAX_CHAN) {

Error: CLANG_WARNING: [#def255]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/pcm.c:2257:22: warning[core.NullDereference]: Array access (via field 'rx_chanmap') results in a null pointer dereference
# 2255|   		}
# 2256|   		for (j = 0; j < hw->rx_channels; j++)
# 2257|-> 			hw->rx_chanmap[j] = link->hw_config[i].rx_chanmap[j];
# 2258|   	}
# 2259|   	lt.hw_config = hws;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/pcm.c:2257:43: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/pcm.c:2189:9: note: in expansion of macro 'tplg_log'
# 2255|   		}
# 2256|   		for (j = 0; j < hw->rx_channels; j++)
# 2257|-> 			hw->rx_chanmap[j] = link->hw_config[i].rx_chanmap[j];
# 2258|   	}
# 2259|   	lt.hw_config = hws;

Error: CPPCHECK_WARNING: [#def257]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def258]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c: scope_hint: In function 'tplg_save_printf'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c:96:9: warning[-Wanalyzer-null-argument]: use of NULL 'buf.dst' where non-null expected
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:32: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/tplg_local.h:13: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c:18: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:222: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c:439:17: note: in expansion of macro 'list_for_each'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c:85:39: note: in expansion of macro 'NEXT_CHUNK'
<built-in>: note: argument 2 of '__builtin_strcpy' must be non-null
#   94|   	if (pl > 0)
#   95|   		strcpy(s + l, pfx);
#   96|-> 	strcpy(s + l + pl, dst->printf_buf);
#   97|   	dst->dst = s;
#   98|   	dst->dst_len = t - 1;

Error: CLANG_WARNING: [#def259]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c:178:14: warning[unix.Malloc]: Use of memory allocated with size zero
#  176|   	snd_config_for_each(i, next, src) {
#  177|   		snd_config_t *s = snd_config_iterator_entry(i);
#  178|-> 		a[index++] = s;
#  179|   	}
#  180|   	if (array <= 0)

Error: CLANG_WARNING: [#def260]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c:185:3: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  183|   		goto lerr;
#  184|   	for (index = 0; index < count; index++) {
#  185|-> 		snd_config_t *s = a[index];
#  186|   		const char *id2;
#  187|   		if (snd_config_get_id(s, &id2)) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def261]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c: scope_hint: In function 'tplg_index_groups'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c:546:36: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'a'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c:529:17: note: in expansion of macro 'list_for_each'
#  544|   				a = b;
#  545|   			}
#  546|-> 			a[count++] = elem->index;
#  547|   		}
#  548|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def262]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/topology/save.c:549:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'a'
#  547|   		}
#  548|   	}
#  549|-> 	a[count] = -1;
#  550|   
#  551|   	qsort(a, count, sizeof(a[0]), tplg_index_compar);

Error: CPPCHECK_WARNING: [#def263]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-476): [#def264]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:203: warning[nullPointer]: Possible null pointer dereference: tlv
#  201|   	/* Check if the tlv file specifies valid size. */
#  202|   	tlv = (struct snd_ctl_tlv *)(*res);
#  203|-> 	if (tlv->length + 2 * sizeof(unsigned int) != sz) {
#  204|   		uc_error("Invalid tlv size: %d", tlv->length);
#  205|   		err = -EINVAL;

Error: CLANG_WARNING: [#def265]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:203:6: warning[core.NullDereference]: Access to field 'length' results in a dereference of a null pointer (loaded from variable 'tlv')
#  201|   	/* Check if the tlv file specifies valid size. */
#  202|   	tlv = (struct snd_ctl_tlv *)(*res);
#  203|-> 	if (tlv->length + 2 * sizeof(unsigned int) != sz) {
#  204|   		uc_error("Invalid tlv size: %d", tlv->length);
#  205|   		err = -EINVAL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def266]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c: scope_hint: In function 'execute_cset'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:458:23: warning[-Wanalyzer-null-dereference]: dereference of NULL 'info2'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/include/local.h:222: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_local.h:39: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:33: included_from: Included from here.
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:750:9: note: in expansion of macro 'list_for_each'
#  456|   		if (type == SEQUENCE_ELEMENT_TYPE_CTL_REMOVE)
#  457|   			goto __ok;
#  458|-> 		err = __snd_ctl_add_elem_set(ctl, info2, info2->owner, info2->count);
#  459|   		if (err < 0) {
#  460|   			uc_error("unable to create new control");

Error: CLANG_WARNING: [#def267]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:1113:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'res'
# 1111|   	cnt = alloc_str_list(list, 1, &res);
# 1112|   	if (cnt <= 0) {
# 1113|-> 		*result = NULL;
# 1114|   		return cnt;
# 1115|   	}

Error: CLANG_WARNING: [#def268]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:1162:13: warning[unix.Malloc]: Potential leak of memory pointed to by 'res'
# 1160|   	cnt = alloc_str_list(list, 2, &res);
# 1161|   	if (cnt <= 0) {
# 1162|-> 		*result = NULL;
# 1163|   		return cnt;
# 1164|   	}

Error: CLANG_WARNING: [#def269]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:1543:19: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1541|   	}
# 1542|   
# 1543|-> 	mgr->card_name = strdup(card_name);
# 1544|   	if (mgr->card_name == NULL) {
# 1545|   		err = -ENOMEM;

Error: CLANG_WARNING: [#def270]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:1818:6: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'p')
# 1816|   	list_for_each(pos, list) {
# 1817|   		value = list_entry(pos, struct myvalue, list);
# 1818|-> 		*p = strdup(value->text);
# 1819|   		if (*p == NULL) {
# 1820|   			snd_use_case_free_list((const char **)p, cnt);

Error: CLANG_WARNING: [#def271]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:2038:11: warning[unix.Malloc]: Potential leak of memory pointed to by 'res'
# 2036|   	if (err > 0)
# 2037|   		*list = (const char **)res;
# 2038|-> 	else if (err == 0)
# 2039|   		*list = NULL;
# 2040|         __fail:

Error: CLANG_WARNING: [#def272]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:2372:7: warning[unix.Malloc]: Potential leak of memory pointed to by 'ident'
# 2370|   		if (ident != identifier)
# 2371|   			free((void *)ident);
# 2372|-> 		if (mod_dev)
# 2373|   			free((void *)mod_dev);
# 2374|   	}

Error: CLANG_WARNING: [#def273]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/main.c:2501:27: warning[core.NullDereference]: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'new_verb')
# 2499|   	list_for_each(pos, &uc_mgr->active_verb->transition_list) {
# 2500|   		trans = list_entry(pos, struct transition_sequence, list);
# 2501|-> 		if (strcmp(trans->name, new_verb->name) == 0) {
# 2502|   			err = execute_sequence(uc_mgr, uc_mgr->active_verb,
# 2503|   					       &trans->transition_list,

Error: CPPCHECK_WARNING: [#def274]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def275]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:1101:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1099|   		list_add_tail(&curr->list, base);
# 1100|   
# 1101|-> 		if (strcmp(cmd, "cdev") == 0) {
# 1102|   			curr->type = SEQUENCE_ELEMENT_TYPE_CDEV;
# 1103|   			err = parse_string_substitute3(uc_mgr, n, &curr->data.cdev);

Error: CPPCHECK_WARNING (CWE-401): [#def276]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:1264: error[memleak]: Memory leak: curr
# 1262|   	list_add_tail(&curr->list, base);
# 1263|   	curr->data = val;
# 1264|-> 	return 0;
# 1265|   }
# 1266|   

Error: CPPCHECK_WARNING (CWE-401): [#def277]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:1411: error[memleak]: Memory leak: modifier
# 1409|   	err = uc_mgr_evaluate_inplace(uc_mgr, cfg);
# 1410|   	if (err < 0)
# 1411|-> 		return err;
# 1412|   
# 1413|   	snd_config_for_each(i, next, cfg) {

Error: CPPCHECK_WARNING (CWE-401): [#def278]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:1556: error[memleak]: Memory leak: device
# 1554|   	err = uc_mgr_evaluate_inplace(uc_mgr, cfg);
# 1555|   	if (err < 0)
# 1556|-> 		return err;
# 1557|   
# 1558|   	snd_config_for_each(i, next, cfg) {

Error: CPPCHECK_WARNING (CWE-401): [#def279]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:1993: error[memleak]: Memory leak: verb
# 1991|   	list_add_tail(&verb->list, &uc_mgr->verb_list);
# 1992|   	if (use_case_name == NULL)
# 1993|-> 		return -EINVAL;
# 1994|   	verb->name = strdup(use_case_name);
# 1995|   	if (verb->name == NULL)

Error: CPPCHECK_WARNING (CWE-401): [#def280]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:1996: error[memleak]: Memory leak: verb
# 1994|   	verb->name = strdup(use_case_name);
# 1995|   	if (verb->name == NULL)
# 1996|-> 		return -ENOMEM;
# 1997|   
# 1998|   	if (comment != NULL) {

Error: CPPCHECK_WARNING (CWE-401): [#def281]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:2001: error[memleak]: Memory leak: verb
# 1999|   		verb->comment = strdup(comment);
# 2000|   		if (verb->comment == NULL)
# 2001|-> 			return -ENOMEM;
# 2002|   	}
# 2003|   

Error: CPPCHECK_WARNING (CWE-401): [#def282]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:2001: error[memleak]: Memory leak: verb.name
# 1999|   		verb->comment = strdup(comment);
# 2000|   		if (verb->comment == NULL)
# 2001|-> 			return -ENOMEM;
# 2002|   	}
# 2003|   

Error: CPPCHECK_WARNING (CWE-401): [#def283]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:2007: error[memleak]: Memory leak: verb
# 2005|   	err = uc_mgr_config_load_file(uc_mgr, file, &cfg);
# 2006|   	if (err < 0)
# 2007|-> 		return err;
# 2008|   
# 2009|   	/* in-place evaluation */

Error: CPPCHECK_WARNING (CWE-401): [#def284]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:2007: error[memleak]: Memory leak: verb.comment
# 2005|   	err = uc_mgr_config_load_file(uc_mgr, file, &cfg);
# 2006|   	if (err < 0)
# 2007|-> 		return err;
# 2008|   
# 2009|   	/* in-place evaluation */

Error: CPPCHECK_WARNING (CWE-457): [#def285]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:2537: error[legacyUninitvar]: Uninitialized variable: *&info
# 2535|   	const char *_driver, *_name, *_long_name;
# 2536|   
# 2537|-> 	snd_ctl_card_info_alloca(&info);
# 2538|   
# 2539|   	card = -1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c: scope_hint: In function 'uc_mgr_scan_master_configs'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/parser.c:3050:33: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
# 3048|   			const char *save2 = list[j + 1];
# 3049|   			memmove(list + 2, list, j * sizeof(char *));
# 3050|-> 			list[0] = save1;
# 3051|   			list[1] = save2;
# 3052|   		}

Error: CPPCHECK_WARNING: [#def287]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_cond.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def288]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_cond.c:192: error[legacyUninitvar]: Uninitialized variable: *&elem_id
#  190|   	int err, i, items;
#  191|   
#  192|-> 	snd_ctl_elem_id_alloca(&elem_id);
#  193|   	snd_ctl_elem_info_alloca(&elem_info);
#  194|   

Error: CPPCHECK_WARNING (CWE-457): [#def289]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_cond.c:193: error[legacyUninitvar]: Uninitialized variable: *&elem_info
#  191|   
#  192|   	snd_ctl_elem_id_alloca(&elem_id);
#  193|-> 	snd_ctl_elem_info_alloca(&elem_info);
#  194|   
#  195|   	err = get_string(eval, "Device", &device);

Error: CLANG_WARNING: [#def290]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_cond.c:313:3: warning[unix.Malloc]: Argument to free() is the address of a global variable, which is not memory allocated by malloc()
#  311|   	} else {
#  312|   		uc_error("Path unknown mode '%s' (If.Condition.Mode)", s);
#  313|-> 		free(s);
#  314|   		return -EINVAL;
#  315|   	}

Error: CPPCHECK_WARNING: [#def291]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_exec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def292]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_exec.c: scope_hint: In function 'parse_args'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_exec.c:176:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'argv'
#  174|   		}
#  175|   	}
#  176|-> 	(*argv)[i] = NULL;
#  177|   	return 0;
#  178|   }

Error: GCC_ANALYZER_WARNING: [#def293]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_exec.c: scope_hint: In function 'uc_mgr_exec'
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_exec.c:251:17: warning[-Wanalyzer-fd-use-without-check]: 'dup2' on possibly invalid file descriptor '0'
#  249|   		close(2);
#  250|   
#  251|-> 		dup2(f, 0);
#  252|   		dup2(f, 1);
#  253|   		dup2(f, 2);

Error: GCC_ANALYZER_WARNING: [#def294]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_exec.c:252:17: warning[-Wanalyzer-fd-use-without-check]: 'dup2' on possibly invalid file descriptor '1'
#  250|   
#  251|   		dup2(f, 0);
#  252|-> 		dup2(f, 1);
#  253|   		dup2(f, 2);
#  254|   

Error: GCC_ANALYZER_WARNING: [#def295]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_exec.c:253:17: warning[-Wanalyzer-fd-use-without-check]: 'dup2' on possibly invalid file descriptor '2'
#  251|   		dup2(f, 0);
#  252|   		dup2(f, 1);
#  253|-> 		dup2(f, 2);
#  254|   
#  255|   		close(f);

Error: CPPCHECK_WARNING: [#def296]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_include.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def297]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_regex.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def298]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/ucm_subs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def299]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def300]
alsa-lib-1.2.12-build/alsa-lib-1.2.12/src/ucm/utils.c:271: error[legacyUninitvar]: Uninitialized variable: *&info
#  269|   	int err, card, ucm_group, ucm_offset;
#  270|   
#  271|-> 	snd_ctl_card_info_alloca(&info);
#  272|   
#  273|   	ucm_group = _snd_is_ucm_device(device);

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-99.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namealsa-lib-1.2.12-1.fc41
store-results-to/tmp/tmpe_hnaw2o/alsa-lib-1.2.12-1.fc41.tar.xz
time-created2024-07-03 12:00:54
time-finished2024-07-03 12:04:24
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpe_hnaw2o/alsa-lib-1.2.12-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpe_hnaw2o/alsa-lib-1.2.12-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9