mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
ucm: fix if_eval_path() - access NULL pointer
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
9b71d53bde
commit
7764e3e621
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ static int if_eval_control_exists(snd_use_case_mgr_t *uc_mgr, snd_config_t *eval
|
||||||
|
|
||||||
static int if_eval_path(snd_use_case_mgr_t *uc_mgr, snd_config_t *eval)
|
static int if_eval_path(snd_use_case_mgr_t *uc_mgr, snd_config_t *eval)
|
||||||
{
|
{
|
||||||
const char *path, *mode = NULL;
|
const char *path, *mode = "";
|
||||||
int err, amode = F_OK;
|
int err, amode = F_OK;
|
||||||
|
|
||||||
if (uc_mgr->conf_format < 4) {
|
if (uc_mgr->conf_format < 4) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue