Task #253 - added.err
back to task #253download
Error: GCC_ANALYZER_WARNING (CWE-688): 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: 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| }