/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c:34:9: warning: "_DEFAULT_SOURCE" redefined <--[gcc]
In file included from /usr/include/bits/libc-header-start.h:33, <--[gcc]
                 from /usr/include/stdio.h:28, <--[gcc]
                 from /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/include/wm_config.h:351, <--[gcc]
                 from /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c:27: <--[gcc]
/usr/include/features.h:246:10: note: this is the location of the previous definition <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c: In function ‘set_swparams’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c:192:9: warning: ‘snd_pcm_sw_params_set_xfer_align’ is deprecated [-Wdeprecated-declarations] <--[gcc]
In file included from /usr/include/alsa/asoundlib.h:56, <--[gcc]
                 from /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c:36: <--[gcc]
/usr/include/alsa/pcm.h:1389:5: note: declared here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c:34:9: warning: "_DEFAULT_SOURCE" redefined <--[gcc]
   34 | #define _DEFAULT_SOURCE /* stop glibc whining about the previous line */
      |         ^~~~~~~~~~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33, <--[gcc]
                 from /usr/include/stdio.h:28, <--[gcc]
                 from /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/include/wm_config.h:351, <--[gcc]
                 from /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c:27: <--[gcc]
/usr/include/features.h:246:10: note: this is the location of the previous definition <--[gcc]
  246 | # define _DEFAULT_SOURCE        1
      |          ^~~~~~~~~~~~~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c: In function ‘set_swparams’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c:192:9: warning: ‘snd_pcm_sw_params_set_xfer_align’ is deprecated [-Wdeprecated-declarations] <--[gcc]
  192 |         err = snd_pcm_sw_params_set_xfer_align(handle, swparams, 1);
      |         ^~~
In file included from /usr/include/alsa/asoundlib.h:56, <--[gcc]
                 from /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c:36: <--[gcc]
/usr/include/alsa/pcm.h:1389:5: note: declared here <--[gcc]
 1389 | int snd_pcm_sw_params_set_xfer_align(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val) __attribute__((deprecated));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c: In function ‘setup_alsa’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c:330:41: warning: unused parameter ‘ctl’ [-Wunused-parameter] <--[gcc]
  330 | setup_alsa(const char *dev, const char *ctl)
      |                             ~~~~~~~~~~~~^~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdda.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c:241:3: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/audio/audio_alsa.c:241:3: note: Value stored to 'err' is never read <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c: In function ‘wm_drive_vendor’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c:213:30: warning: the comparison will always evaluate as ‘true’ for the address of ‘vendor’ will never be NULL [-Waddress] <--[gcc]
  213 |         return pdrive->vendor?pdrive->vendor:"";
      |                              ^
In file included from /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c:31: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/include/wm_struct.h:147:15: note: ‘vendor’ declared here <--[gcc]
  147 |         char  vendor[9];      /* Vendor name */
      |               ^~~~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c: In function ‘wm_drive_model’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c:219:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘model’ will never be NULL [-Waddress] <--[gcc]
  219 |         return pdrive->model?pdrive->model:"";
      |                             ^
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/include/wm_struct.h:148:15: note: ‘model’ declared here <--[gcc]
  148 |         char  model[17];      /* Drive model */
      |               ^~~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c: In function ‘wm_drive_revision’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c:225:32: warning: the comparison will always evaluate as ‘true’ for the address of ‘revision’ will never be NULL [-Waddress] <--[gcc]
  225 |         return pdrive->revision?pdrive->revision:"";
      |                                ^
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/include/wm_struct.h:149:15: note: ‘revision’ declared here <--[gcc]
  149 |         char  revision[5];    /* Revision of the drive */
      |               ^~~~~~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c: In function ‘fixup_drive_struct’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c:250:39: warning: the comparison will always evaluate as ‘true’ for the address of ‘revision’ will never be NULL [-Waddress] <--[gcc]
  250 |                         ((d->revision != NULL) && strncmp(driver->revision, d->revision, strlen(d->revision))))
      |                                       ^~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/include/wm_struct.h:149:15: note: ‘revision’ declared here <--[gcc]
  149 |         char  revision[5];    /* Revision of the drive */
      |               ^~~~~~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c: In function ‘wm_cd_pause’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c:571:20: warning: variable ‘paused_pos’ set but not used [-Wunused-but-set-variable] <--[gcc]
  571 |         static int paused_pos;
      |                    ^~~~~~~~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_strmcpy’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] <--[gcc]
  123 |         strncpy(*t, s, strlen(s));
      |         ^
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: note: length computed here <--[gcc]
  123 |         strncpy(*t, s, strlen(s));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_libver_number’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:66:9: warning: use of possibly-NULL ‘s’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:77:7: note: (1) entry to ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:25: note: (2) inlined call to ‘wm_libver_name’ from ‘wm_libver_string’ <--[gcc]
In function ‘wm_libver_name’,
    inlined from ‘wm_libver_string’ at /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:18:
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:56:9: note: (3) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_libver_number’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (4) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (9) calling ‘wm_strmcpy’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:106:1: note: (10) entry to ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:109:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:21: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:116:12: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:122:9: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: note: (15) when ‘strncpy’ truncates the source string <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (16) returning to ‘wm_strmcat’ from ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:25: note: (17) inlined call to ‘wm_libver_name’ from ‘wm_libver_string’ <--[gcc]
In function ‘wm_libver_name’,
    inlined from ‘wm_libver_string’ at /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:18:
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:56:9: note: (18) returning to ‘wm_libver_string’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_libver_number’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:9: note: (19) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (20) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (21) following ‘true’ branch... <--[gcc]
cc1: note: (22) ...to here
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:9: note: (23) returning to ‘wm_libver_string’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:82:9: note: (24) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (25) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:13: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:12: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (30) calling ‘wm_strmcpy’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:106:1: note: (31) entry to ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:109:12: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:21: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:116:12: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:122:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: note: (36) when ‘strncpy’ truncates the source string <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (37) returning to ‘wm_strmcat’ from ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:82:9: note: (38) returning to ‘wm_libver_string’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:83:25: note: (39) calling ‘wm_libver_number’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:60:7: note: (40) entry to ‘wm_libver_number’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:64:13: note: (41) this call could return NULL <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:66:9: note: (42) argument 1 (‘s’) from (41) could be NULL where non-null expected <--[gcc]
<built-in>: note: argument 1 of ‘__builtin_sprintf’ must be non-null
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_strmcpy’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: warning: use of uninitialized value ‘s’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:77:7: note: (1) entry to ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:25: note: (2) inlined call to ‘wm_libver_name’ from ‘wm_libver_string’ <--[gcc]
In function ‘wm_libver_name’,
    inlined from ‘wm_libver_string’ at /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:18:
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:56:9: note: (3) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_strmcpy’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (4) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (9) calling ‘wm_strmcpy’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:106:1: note: (10) entry to ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:109:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:21: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:14: note: (13) region created on heap here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:14: note: (14) capacity: 11 bytes <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:116:12: note: (15) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:122:9: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: note: (17) when ‘strncpy’ truncates the source string <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (18) returning to ‘wm_strmcat’ from ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:25: note: (19) inlined call to ‘wm_libver_name’ from ‘wm_libver_string’ <--[gcc]
In function ‘wm_libver_name’,
    inlined from ‘wm_libver_string’ at /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:18:
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:56:9: note: (20) returning to ‘wm_libver_string’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_strmcpy’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:9: note: (21) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (22) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:13: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:12: note: (25) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (27) calling ‘wm_strmcpy’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:106:1: note: (28) entry to ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:109:12: note: (29) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:21: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:116:12: note: (31) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:122:9: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: note: (33) use of uninitialized value ‘s’ here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_strmcat’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:140:20: warning: leak of ‘s’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:77:7: note: (1) entry to ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:25: note: (2) inlined call to ‘wm_libver_name’ from ‘wm_libver_string’ <--[gcc]
In function ‘wm_libver_name’,
    inlined from ‘wm_libver_string’ at /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:18:
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:56:9: note: (3) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_strmcat’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (4) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (9) calling ‘wm_strmcpy’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:106:1: note: (10) entry to ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:109:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:21: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:116:12: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:122:9: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: note: (15) when ‘strncpy’ truncates the source string <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (16) returning to ‘wm_strmcat’ from ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:25: note: (17) inlined call to ‘wm_libver_name’ from ‘wm_libver_string’ <--[gcc]
In function ‘wm_libver_name’,
    inlined from ‘wm_libver_string’ at /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:18:
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:56:9: note: (18) returning to ‘wm_libver_string’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_strmcat’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:9: note: (19) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (20) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (21) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:13: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:12: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (25) calling ‘wm_strmcpy’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:106:1: note: (26) entry to ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:109:12: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:21: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:14: note: (29) allocated here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:116:12: note: (30) assuming ‘s’ is non-NULL <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:116:12: note: (31) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:122:9: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: note: (33) when ‘strncpy’ copies the full source string <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (34) returning to ‘wm_strmcat’ from ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:9: note: (35) returning to ‘wm_libver_string’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:82:9: note: (36) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (37) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (38) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:13: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:12: note: (40) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:139:24: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:140:22: note: (42) when ‘realloc’ fails <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:140:20: note: (43) ‘s’ leaks here; was allocated at (29) <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:204:31: warning: leak of ‘s’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:77:7: note: (1) entry to ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:25: note: (2) inlined call to ‘wm_libver_name’ from ‘wm_libver_string’ <--[gcc]
In function ‘wm_libver_name’,
    inlined from ‘wm_libver_string’ at /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:18:
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:56:9: note: (3) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_strmcat’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (4) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (9) calling ‘wm_strmcpy’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:106:1: note: (10) entry to ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:109:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:21: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:14: note: (13) allocated here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:116:12: note: (14) assuming ‘s’ is non-NULL <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:116:12: note: (15) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:122:9: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: note: (17) when ‘strncpy’ truncates the source string <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (18) returning to ‘wm_strmcat’ from ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:25: note: (19) inlined call to ‘wm_libver_name’ from ‘wm_libver_string’ <--[gcc]
In function ‘wm_libver_name’,
    inlined from ‘wm_libver_string’ at /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:18:
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:56:9: note: (20) returning to ‘wm_libver_string’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_strmcat’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:9: note: (21) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (22) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (23) following ‘true’ branch... <--[gcc]
cc1: note: (24) ...to here
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:204:31: note: (25) ‘s’ leaks here; was allocated at (13) <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:204:31: warning: leak of ‘wm_libver_number()’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:77:7: note: (1) entry to ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:25: note: (2) inlined call to ‘wm_libver_name’ from ‘wm_libver_string’ <--[gcc]
In function ‘wm_libver_name’,
    inlined from ‘wm_libver_string’ at /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:18:
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:56:9: note: (3) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_strmcat’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (4) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:13: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:12: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (9) calling ‘wm_strmcpy’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:106:1: note: (10) entry to ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:109:12: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:21: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:116:12: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:122:9: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: note: (15) when ‘strncpy’ truncates the source string <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (16) returning to ‘wm_strmcat’ from ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:25: note: (17) inlined call to ‘wm_libver_name’ from ‘wm_libver_string’ <--[gcc]
In function ‘wm_libver_name’,
    inlined from ‘wm_libver_string’ at /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:18:
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:56:9: note: (18) returning to ‘wm_libver_string’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c: In function ‘wm_strmcat’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:9: note: (19) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (20) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (21) following ‘true’ branch... <--[gcc]
cc1: note: (22) ...to here
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:81:9: note: (23) returning to ‘wm_libver_string’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:82:9: note: (24) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (25) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (26) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:13: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:137:12: note: (28) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (30) calling ‘wm_strmcpy’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:106:1: note: (31) entry to ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:109:12: note: (32) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:115:21: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:116:12: note: (34) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:122:9: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:123:9: note: (36) when ‘strncpy’ truncates the source string <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:149:17: note: (37) returning to ‘wm_strmcat’ from ‘wm_strmcpy’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:82:9: note: (38) returning to ‘wm_libver_string’ from ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:83:25: note: (39) calling ‘wm_libver_number’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:60:7: note: (40) entry to ‘wm_libver_number’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:64:13: note: (41) allocated here <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:66:9: note: (42) assuming ‘s’ is non-NULL <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:83:25: note: (43) returning to ‘wm_libver_string’ from ‘wm_libver_number’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:83:9: note: (44) calling ‘wm_strmcat’ from ‘wm_libver_string’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:128:1: note: (45) entry to ‘wm_strmcat’ <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:134:12: note: (46) following ‘true’ branch... <--[gcc]
cc1: note: (47) ...to here
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/wm_helpers.c:204:31: note: (48) ‘wm_libver_number()’ leaks here; was allocated at (41) <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdtext.c: In function ‘get_data_from_cdtext_pack’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdtext.c:159:7: warning: variable ‘language_block’ set but not used [-Wunused-but-set-variable] <--[gcc]
  159 |   int language_block;
      |       ^~~~~~~~~~~~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdtext.c: In function ‘get_glob_cdtext’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdtext.c:221:42: warning: variable ‘pack_previous’ set but not used [-Wunused-but-set-variable] <--[gcc]
  221 |   struct cdtext_pack_data_header *pack, *pack_previous;
      |                                          ^~~~~~~~~~~~~
In file included from /usr/include/string.h:548, <--[gcc]
                 from /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdtext.c:22: <--[gcc]
In function ‘strcat’,
    inlined from ‘get_data_from_cdtext_pack’ at /builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdtext.c:176:9:
/usr/include/bits/string_fortified.h:140:10: warning: ‘strcat’ accessing 4611685670535036767 or more bytes at offsets [-4611686018427387904, 4611686018427387903] and [-347892351138, 347892350652] may overlap 1 byte at offset [-347892351138, 9223372036854775807] [-Wrestrict] <--[gcc]
  140 |   return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:189:18: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:496:6: note: Calling 'wm_scsi_mode_sense' <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:158:6: note: Assuming 'status' is >= 0 <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:158:2: note: Taking false branch <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:168:14: note: Assuming 'i' is >= 'len' <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:168:2: note: Loop condition is false. Execution continues on line 171 <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:171:2: note: Returning without writing to '*buf' <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:496:6: note: Returning from 'wm_scsi_mode_sense' <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:496:2: note: Taking false branch <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:504:9: note: Calling 'wm_scsi_mode_select' <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:188:7: note: The value 0 is assigned to 'i' <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:188:2: note: Loop condition is true.  Entering loop body <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:189:18: note: Assigned value is garbage or undefined <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:531:2: warning: Value stored to 'cdtext_possible' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:531:2: note: Value stored to 'cdtext_possible' is never read <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:557:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:557:3: note: Value stored to 'ret' is never read <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c: In function ‘sendscsi’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:123:24: warning: this statement may fall through [-Wimplicit-fallthrough=] <--[gcc]
  123 |                 cdblen = 12;
      |                 ~~~~~~~^~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/scsi.c:125:9: note: here <--[gcc]
  125 |         case 1:
      |         ^~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdtext.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/plat_linux.c: In function ‘gen_init’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/plat_linux.c:108:31: warning: unused parameter ‘d’ [-Wunused-parameter] <--[gcc]
  108 | int gen_init(struct wm_drive *d)
      |              ~~~~~~~~~~~~~~~~~^
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/plat_linux.c: In function ‘gen_cdda_init’: <--[gcc]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/plat_linux.c:638:36: warning: unused parameter ‘d’ [-Wunused-parameter] <--[gcc]
  638 | int gen_cdda_init(struct wm_drive *d)
      |                   ~~~~~~~~~~~~~~~~~^
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c:345:4: warning: Although the value stored to 'tmp' is used in the enclosing expression, the value is never actually read from 'tmp' [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdrom.c:345:4: note: Although the value stored to 'tmp' is used in the enclosing expression, the value is never actually read from 'tmp' <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/phonon_interface.cpp: In member function ‘virtual unsigned int KPhononCompactDiscPrivate::trackLength(unsigned int)’: <--[g++]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/phonon_interface.cpp:146:75: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] <--[g++]
  146 |     if(!producer() || m_producerWidget->m_mediaController->currentTitle() != track)
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdtext.c:162:3: warning: Value stored to 'language_block' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdtext.c:162:3: note: Value stored to 'language_block' is never read <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdtext.c:250:7: warning: Value stored to 'pack_previous' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libkcompactdisc-24.02.1-build/libkcompactdisc-24.02.1/src/wmlib/cdtext.c:250:7: note: Value stored to 'pack_previous' is never read <--[clang]
