2025-05-09 08:27 ftp://ftp.de.debian.org/debian/pool/main/a/ascd/ascd_0.13.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 5962f16 (2025-05-09 09:54:06 +0200) count: 207 207 elapsed-time: 13.1 12.4 head-timing-info: old-timing-info: head results: ascd-0.13.2.orig/ascd/ascd.c:212:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/ascd.c:262:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/ascd.c:288:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/ascd.c:432:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_track [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/ascd.c:500:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_track [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/ascd.c:553:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/ascd.c:722:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/ascd.c:662:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ascd-0.13.2.orig/ascd/ascd.c:688:12: warning: If memory allocation fails, then there is a possible null pointer dereference: cd_device [nullPointerOutOfMemory] ascd-0.13.2.orig/ascd/ascd.c:687:23: note: Assuming allocation function fails ascd-0.13.2.orig/ascd/ascd.c:687:23: note: Assignment 'cd_device=malloc(strlen("/dev/cdrom")+1)', assigned value is 0 ascd-0.13.2.orig/ascd/ascd.c:688:12: note: Null pointer dereference ascd-0.13.2.orig/ascd/ascd.c:403:20: style: Parameter 'txt' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/ascd/ascd.c:302:13: style: Variable 'd_depth' is assigned a value that is never used. [unreadVariable] ascd-0.13.2.orig/ascd/ascd.c:303:10: style: Variable 'x_fd' is assigned a value that is never used. [unreadVariable] ascd-0.13.2.orig/ascd/ascd.c:304:18: style: Variable 'ScreenHeight' is assigned a value that is never used. [unreadVariable] ascd-0.13.2.orig/ascd/ascd.c:305:17: style: Variable 'ScreenWidth' is assigned a value that is never used. [unreadVariable] ascd-0.13.2.orig/ascd/cdcontrol.c:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_cdmode [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/cdcontrol.c:335:48: style: Variable 'currenttrack' is reassigned a value before the old one has been used. [redundantAssignment] ascd-0.13.2.orig/ascd/cdcontrol.c:334:14: note: currenttrack is assigned ascd-0.13.2.orig/ascd/cdcontrol.c:335:48: note: currenttrack is overwritten ascd-0.13.2.orig/ascd/cdcontrol.c:305:20: style: Checking if unsigned expression 'direct_access' is less than zero. [unsignedLessThanZero] ascd-0.13.2.orig/ascd/cdcontrol.c:314:20: style: Checking if unsigned expression 'direct_access' is less than zero. [unsignedLessThanZero] ascd-0.13.2.orig/ascd/cdcontrol.c:137:16: style: Variable 'currenttrack' is assigned a value that is never used. [unreadVariable] ascd-0.13.2.orig/ascd/cdcontrol.c:159:19: style: Variable 'currenttrack' is assigned a value that is never used. [unreadVariable] ascd-0.13.2.orig/ascd/cdcontrol.c:288:16: style: Variable 'currenttrack' is assigned a value that is never used. [unreadVariable] ascd-0.13.2.orig/ascd/cdcontrol.c:291:16: style: Variable 'currenttrack' is assigned a value that is never used. [unreadVariable] ascd-0.13.2.orig/ascd/cdcontrol.c:345:19: style: Variable 'currenttrack' is assigned a value that is never used. [unreadVariable] ascd-0.13.2.orig/ascd/faktory.c:66:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/faktory.c:81:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_cdmode [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/faktory.c:146:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/faktory.c:159:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/faktory.c:269:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/faktory.c:827:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/faktory.c:911:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShapeBounding [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/faktory.c:982:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/faktory.c:1063:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/faktory.c:1620:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ascd-0.13.2.orig/ascd/faktory.c:1734:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ascd-0.13.2.orig/ascd/faktory.c:1758:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ascd-0.13.2.orig/ascd/faktory.c:1760:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ascd-0.13.2.orig/ascd/faktory.c:1764:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ascd-0.13.2.orig/ascd/faktory.c:335:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:335:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:335:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:335:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:335:4: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:335:4: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:336:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:336:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:336:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:504:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:504:6: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:505:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:505:6: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:505:6: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:505:6: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:505:6: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:540:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:1102:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:1612:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:1657:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/faktory.c:41:33: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/ascd/faktory.c:140:46: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/ascd/faktory.c:572:26: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/ascd/faktory.c:1615:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] ascd-0.13.2.orig/ascd/faktory.c:1051:18: style: Unused variable: fy [unusedVariable] ascd-0.13.2.orig/ascd/faktory.c:1052:18: style: Unused variable: fw [unusedVariable] ascd-0.13.2.orig/ascd/faktory.c:1053:18: style: Unused variable: fh [unusedVariable] ascd-0.13.2.orig/ascd/handlers.c:174:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_track [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/handlers.c:232:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_cdmode [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/handlers.c:52:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ascd-0.13.2.orig/ascd/handlers.c:59:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ascd-0.13.2.orig/ascd/handlers.c:221:12: style: Variable 'redraw' is reassigned a value before the old one has been used. [redundantAssignment] ascd-0.13.2.orig/ascd/handlers.c:121:9: note: redraw is assigned ascd-0.13.2.orig/ascd/handlers.c:221:12: note: redraw is overwritten ascd-0.13.2.orig/ascd/handlers.c:221:12: style: Variable 'redraw' is reassigned a value before the old one has been used. [redundantAssignment] ascd-0.13.2.orig/ascd/handlers.c:126:9: note: redraw is assigned ascd-0.13.2.orig/ascd/handlers.c:221:12: note: redraw is overwritten ascd-0.13.2.orig/ascd/handlers.c:221:12: style: Variable 'redraw' is reassigned a value before the old one has been used. [redundantAssignment] ascd-0.13.2.orig/ascd/handlers.c:131:9: note: redraw is assigned ascd-0.13.2.orig/ascd/handlers.c:221:12: note: redraw is overwritten ascd-0.13.2.orig/ascd/handlers.c:221:12: style: Variable 'redraw' is reassigned a value before the old one has been used. [redundantAssignment] ascd-0.13.2.orig/ascd/handlers.c:136:9: note: redraw is assigned ascd-0.13.2.orig/ascd/handlers.c:221:12: note: redraw is overwritten ascd-0.13.2.orig/ascd/handlers.c:221:12: style: Variable 'redraw' is reassigned a value before the old one has been used. [redundantAssignment] ascd-0.13.2.orig/ascd/handlers.c:141:9: note: redraw is assigned ascd-0.13.2.orig/ascd/handlers.c:221:12: note: redraw is overwritten ascd-0.13.2.orig/ascd/handlers.c:221:12: style: Variable 'redraw' is reassigned a value before the old one has been used. [redundantAssignment] ascd-0.13.2.orig/ascd/handlers.c:146:9: note: redraw is assigned ascd-0.13.2.orig/ascd/handlers.c:221:12: note: redraw is overwritten ascd-0.13.2.orig/ascd/handlers.c:443:12: style: Variable 'redraw' is reassigned a value before the old one has been used. [redundantAssignment] ascd-0.13.2.orig/ascd/handlers.c:384:9: note: redraw is assigned ascd-0.13.2.orig/ascd/handlers.c:443:12: note: redraw is overwritten ascd-0.13.2.orig/ascd/handlers.c:44:20: style: Variable 'dir_pt' can be declared as pointer to const [constVariablePointer] ascd-0.13.2.orig/ascd/misc.c:146:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/misc.c:190:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/misc.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/misc.c:375:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/misc.c:51:23: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] ascd-0.13.2.orig/ascd/misc.c:99:23: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] ascd-0.13.2.orig/ascd/misc.c:213:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ascd-0.13.2.orig/ascd/misc.c:111:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/misc.c:112:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/misc.c:113:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/misc.c:114:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/misc.c:115:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/misc.c:116:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/misc.c:119:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/misc.c:120:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/misc.c:121:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/misc.c:122:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/misc.c:276:10: warning: If memory allocation fails, then there is a possible null pointer dereference: cd_device [nullPointerOutOfMemory] ascd-0.13.2.orig/ascd/misc.c:275:21: note: Assuming allocation function fails ascd-0.13.2.orig/ascd/misc.c:275:21: note: Assignment 'cd_device=malloc(strlen(argv[i])+1)', assigned value is 0 ascd-0.13.2.orig/ascd/misc.c:276:10: note: Null pointer dereference ascd-0.13.2.orig/ascd/misc.c:48:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] ascd-0.13.2.orig/ascd/misc.c:96:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] ascd-0.13.2.orig/ascd/misc.c:203:20: style: Variable 'dir_pt' can be declared as pointer to const [constVariablePointer] ascd-0.13.2.orig/ascd/misc.c:250:11: style: Variable 'Argument' can be declared as pointer to const [constVariablePointer] ascd-0.13.2.orig/ascd/misc.c:431:32: style: Parameter 'vendor' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/ascd/misc.c:431:46: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/ascd/misc.c:431:59: style: Parameter 'rev' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/ascd/wings_main.c:44:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable win [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:54:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aboutwin [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:62:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbwin [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:100:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b_mutedvol [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:114:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_cdmode [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:128:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b_mode1 [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:144:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b_mode2 [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:160:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b_mode3 [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:176:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b_mode4 [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:195:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b_mode1 [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:230:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_cdmode [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:244:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aboutwin [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:375:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable about_en_vue [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:400:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_cdmode [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:435:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_cdmode [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:468:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_cdmode [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:479:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_cdmode [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:490:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_cdmode [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:508:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbwin [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:603:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db_en_vue [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:654:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db_curtrack [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:661:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:668:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable win [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:881:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable en_vue [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:940:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable en_vue [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/ascd/wings_main.c:982:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ascd-0.13.2.orig/ascd/wings_main.c:382:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/wings_main.c:382:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/wings_main.c:946:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/wings_main.c:948:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/wings_main.c:954:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ascd-0.13.2.orig/ascd/wings_main.c:95:26: style: Parameter 'self' can be declared as pointer to const. However it seems that 'quit_ascd' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:858:31: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:95:26: note: Parameter 'self' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:95:38: style: Parameter 'data' can be declared as pointer to const. However it seems that 'quit_ascd' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:858:31: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:95:38: note: Parameter 'data' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:123:24: style: Parameter 'self' can be declared as pointer to const. However it seems that 'help_cb' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:759:31: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:123:24: note: Parameter 'self' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:123:36: style: Parameter 'data' can be declared as pointer to const. However it seems that 'help_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:759:31: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:123:36: note: Parameter 'data' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:204:30: style: Parameter 'self' can be declared as pointer to const. However it seems that 'autorepeat_cb' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:702:37: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:204:30: note: Parameter 'self' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:204:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'autorepeat_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:702:37: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:204:42: note: Parameter 'data' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:209:31: style: Parameter 'self' can be declared as pointer to const. However it seems that 'ignoreavoid_cb' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:708:38: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:209:31: note: Parameter 'self' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:209:43: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ignoreavoid_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:708:38: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:209:43: note: Parameter 'data' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:214:25: style: Parameter 'self' can be declared as pointer to const. However it seems that 'upper_cb' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:741:32: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:214:25: note: Parameter 'self' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:214:37: style: Parameter 'data' can be declared as pointer to const. However it seems that 'upper_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:741:32: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:214:37: note: Parameter 'data' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:219:26: style: Parameter 'self' can be declared as pointer to const. However it seems that 'scroll_cb' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:729:33: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:219:26: note: Parameter 'self' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:219:38: style: Parameter 'data' can be declared as pointer to const. However it seems that 'scroll_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:729:33: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:219:38: note: Parameter 'data' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:224:26: style: Parameter 'self' can be declared as pointer to const. However it seems that 'artist_cb' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:735:33: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:224:26: note: Parameter 'self' can be declared as pointer to const ascd-0.13.2.orig/ascd/wings_main.c:224:38: style: Parameter 'data' can be declared as pointer to const. However it seems that 'artist_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/ascd/wings_main.c:735:33: note: You might need to cast the function pointer here ascd-0.13.2.orig/ascd/wings_main.c:224:38: note: Parameter 'data' can be declared as pointer to const ascd-0.13.2.orig/libworkman/buildindex.c:45:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] ascd-0.13.2.orig/libworkman/buildindex.c:53:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/buildindex.c:209:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLK [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/buildindex.c:159:5: warning: Either the condition 'c==NULL' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] ascd-0.13.2.orig/libworkman/buildindex.c:161:10: note: Assuming that condition 'c==NULL' is not redundant ascd-0.13.2.orig/libworkman/buildindex.c:159:5: note: Null pointer dereference ascd-0.13.2.orig/libworkman/cddaslave.c:560:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] ascd-0.13.2.orig/libworkman/cddb.c:232:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/cddb.c:444:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/cddb.c:213:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] ascd-0.13.2.orig/libworkman/cddb.c:238:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] ascd-0.13.2.orig/libworkman/cddb.c:469:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] ascd-0.13.2.orig/libworkman/cddb.c:478:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] ascd-0.13.2.orig/libworkman/cddb.c:517:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] ascd-0.13.2.orig/libworkman/cddb.c:526:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] ascd-0.13.2.orig/libworkman/cddb.c:227:4: error: Memory leak: host [memleak] ascd-0.13.2.orig/libworkman/cddb.c:244:3: error: Memory leak: host [memleak] ascd-0.13.2.orig/libworkman/cddb.c:251:3: error: Memory leak: host [memleak] ascd-0.13.2.orig/libworkman/cddb.c:255:2: error: Memory leak: host [memleak] ascd-0.13.2.orig/libworkman/cddb.c:158:16: warning: If memory allocation fails, then there is a possible null pointer dereference: p1 [nullPointerOutOfMemory] ascd-0.13.2.orig/libworkman/cddb.c:202:17: note: Assuming allocation function fails ascd-0.13.2.orig/libworkman/cddb.c:202:17: note: Assignment 'host=strdup(cddb.proxy_server)', assigned value is 0 ascd-0.13.2.orig/libworkman/cddb.c:208:25: note: Calling function 'string_split', 1st argument 'host' value is 0 ascd-0.13.2.orig/libworkman/cddb.c:158:10: note: Assignment 'p1=line', assigned value is 0 ascd-0.13.2.orig/libworkman/cddb.c:158:16: note: Null pointer dereference ascd-0.13.2.orig/libworkman/cddb.c:415:13: style: Local variable 'cur_ntracks' shadows outer variable [shadowVariable] ascd-0.13.2.orig/libworkman/include/wm_cdinfo.h:50:12: note: Shadowed declaration ascd-0.13.2.orig/libworkman/cddb.c:415:13: note: Shadow variable ascd-0.13.2.orig/libworkman/cddb.c:176:17: style: Variable 'host' can be declared as pointer to const [constVariablePointer] ascd-0.13.2.orig/libworkman/cddb.c:349:18: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/cddb.c:359:18: style: Parameter 'category' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/cddb.c:370:17: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/cddb.c:400:17: style: Parameter 'category' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/cddb.c:297:15: error: Uninitialized variable: tempbuf [uninitvar] ascd-0.13.2.orig/libworkman/cdinfo.c:852:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/cdinfo.c:278:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] ascd-0.13.2.orig/libworkman/cdinfo.c:541:20: style: Parameter 'artist' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/cdinfo.c:541:34: style: Parameter 'cdname' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/cdrom.c:387:47: style:inconclusive: Boolean expression 'cur_listno>0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] ascd-0.13.2.orig/libworkman/cdrom.c:133:30: style: Parameter 'vendor' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/cdrom.c:133:44: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/cdrom.c:133:57: style: Parameter 'revision' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/cdrom.c:145:25: style: Parameter 'vendor' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/cdrom.c:145:39: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/cdrom.c:145:52: style: Parameter 'rev' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/database.c:182:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/database.c:376:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/database.c:498:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/database.c:1057:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLK [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/database.c:1115:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/database.c:1193:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/database.c:1325:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/database.c:1400:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/database.c:504:4: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] ascd-0.13.2.orig/libworkman/database.c:919:4: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] ascd-0.13.2.orig/libworkman/database.c:1105:3: warning: If memory allocation fails, then there is a possible null pointer dereference: trklist [nullPointerOutOfMemory] ascd-0.13.2.orig/libworkman/database.c:1103:25: note: Assuming allocation function fails ascd-0.13.2.orig/libworkman/database.c:1103:12: note: Assignment 'trklist=(int*)malloc(sizeof(int)*cd->ntracks)', assigned value is 0 ascd-0.13.2.orig/libworkman/database.c:1105:3: note: Null pointer dereference ascd-0.13.2.orig/libworkman/database.c:368:19: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/database.c:368:31: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/database.c:1390:9: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] ascd-0.13.2.orig/libworkman/drv_sony.c:72:40: style: Parameter 'd' can be declared as pointer to const. However it seems that 'sony_init' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/libworkman/drv_sony.c:54:2: note: You might need to cast the function pointer here ascd-0.13.2.orig/libworkman/drv_sony.c:72:40: note: Parameter 'd' can be declared as pointer to const ascd-0.13.2.orig/libworkman/drv_toshiba.c:71:29: style: Parameter 'd' can be declared as pointer to const. However it seems that 'tosh_init' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ascd-0.13.2.orig/libworkman/drv_toshiba.c:52:2: note: You might need to cast the function pointer here ascd-0.13.2.orig/libworkman/drv_toshiba.c:71:29: note: Parameter 'd' can be declared as pointer to const ascd-0.13.2.orig/libworkman/scsi.c:167:17: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/scsi.c:200:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] ascd-0.13.2.orig/libworkman/wm_helpers.c:202:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ascd-0.13.2.orig/libworkman/wm_helpers.c:163:33: warning: Comparison of a boolean expression with an integer other than 0 or 1. [compareBoolExpressionWithInt] ascd-0.13.2.orig/libworkman/wm_helpers.c:163:36: style: Comparing expression of type 'bool' against value 9. Condition is always true. [compareValueOutOfTypeRangeError] ascd-0.13.2.orig/libworkman/wm_helpers.c:200:11: style: Checking if unsigned expression 'level' is less than zero. [unsignedLessThanZero] ascd-0.13.2.orig/libworkman/wm_helpers.c:188:48: style:inconclusive: Function 'wm_lib_message' argument 2 names different: declaration 'format' definition 'fmt'. [funcArgNamesDifferent] ascd-0.13.2.orig/libworkman/include/wm_helpers.h:102:50: note: Function 'wm_lib_message' argument 2 names different: declaration 'format' definition 'fmt'. ascd-0.13.2.orig/libworkman/wm_helpers.c:188:48: note: Function 'wm_lib_message' argument 2 names different: declaration 'format' definition 'fmt'. ascd-0.13.2.orig/libworkman/wm_helpers.c:106:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ascd-0.13.2.orig/libworkman/wm_helpers.c:147:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] diff: DONE