2022-06-25 00:50 ftp://ftp.de.debian.org/debian/pool/main/r/rplay/rplay_3.3.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 11860cc (2022-06-24 13:55:04 +0200) count: 320 320 elapsed-time: 7.0 8.6 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: rplay-3.3.2/adpcm/decode.c:46:8: style: Unused variable: n [unusedVariable] rplay-3.3.2/adpcm/g723_40.c:148:12: style: Unused variable: dif [unusedVariable] rplay-3.3.2/adpcm/g72x.c:347:16: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] rplay-3.3.2/adpcm/g72x.c:492:23: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] rplay-3.3.2/adpcm/g72x.c:72:17: style: Unused variable: wanmag [unusedVariable] rplay-3.3.2/adpcm/g72x.c:278:19: style: Unused variable: mant [unusedVariable] rplay-3.3.2/adpcm/g72x.c:281:9: style: Unused variable: ua2 [unusedVariable] rplay-3.3.2/adpcm/g72x.c:282:9: style: Unused variable: uga2a [unusedVariable] rplay-3.3.2/adpcm/g72x.c:283:9: style: Unused variable: uga2b [unusedVariable] rplay-3.3.2/contrib/fingergoodies/getcalleraddr.c:27:12: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:164:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] rplay-3.3.2/contrib/mailsound/mailsound.c:89:2: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:91:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:93:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:101:9: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:121:7: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:154:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:155:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:186:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:190:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:211:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:215:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/contrib/mailsound/mailsound.c:175:26: style:inconclusive: Function 'play_sound' argument 1 names different: declaration 'sound' definition 'sound_args'. [funcArgNamesDifferent] rplay-3.3.2/contrib/mailsound/mailsound.c:42:26: note: Function 'play_sound' argument 1 names different: declaration 'sound' definition 'sound_args'. rplay-3.3.2/contrib/mailsound/mailsound.c:175:26: note: Function 'play_sound' argument 1 names different: declaration 'sound' definition 'sound_args'. rplay-3.3.2/contrib/mailsound/mailsound.c:152:8: style: Unused variable: p [unusedVariable] rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:100:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:112:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:124:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:136:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:168:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:245:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:189:4: error: Common realloc mistake: 'songs' nulled but not freed upon failure [memleakOnRealloc] rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:257:2: error: Common realloc mistake: 'songs' nulled but not freed upon failure [memleakOnRealloc] rplay-3.3.2/contrib/pos/pos.c:193:9: style: Variable 'obj' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/pos/pos.c:109:11: style: Unused variable: sec [unusedVariable] rplay-3.3.2/contrib/pos/pos.c:110:10: style: Unused variable: buf [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:750:7: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1987:7: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:291:16: style: Variable 'count' is not assigned a value. [unassignedVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:713:9: style: Unused variable: n [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:896:24: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:999:26: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1058:24: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1130:24: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1202:24: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1237:26: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1275:26: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1527:26: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1564:26: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1589:8: style: Unused variable: p [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1628:6: style: Unused variable: i [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1629:8: style: Unused variable: p [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1669:22: style: Unused variable: p [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1727:22: style: Unused variable: p [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1790:26: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1855:26: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1917:11: style: Unused variable: info [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1918:9: style: Unused variable: i [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2043:26: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2183:26: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2202:24: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2261:24: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2320:24: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2358:24: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2396:24: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2439:24: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2483:26: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2525:26: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/rplaytool-1.1/misc.c:539:10: style: Unused variable: buf [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/misc.c:540:10: style: Unused variable: message [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/misc.c:541:10: style: Unused variable: filename [unusedVariable] rplay-3.3.2/contrib/rplaytool-1.1/misc.c:195:18: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] rplay-3.3.2/contrib/rplaytool-1.1/rptp.c:51:17: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:29:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:30:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:57:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:58:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:86:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:87:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:115:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:116:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:144:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:145:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:172:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:173:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:200:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:201:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:228:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:229:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:230:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:231:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:385:23: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:410:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:646:23: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:671:14: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:719:14: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:789:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:833:14: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:883:14: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:932:14: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:982:14: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1094:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1115:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1136:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1157:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1178:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1230:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1251:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1272:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1372:23: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1397:14: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1423:23: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1448:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c:1469:15: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/contrib/xjukebox-0.9/widgets.c:452:10: style: Variable 'button' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/xjukebox-0.9/widgets.c:815:15: style: Variable 'spool_label' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/xjukebox-0.9/widgets.c:858:15: style: Variable 'sound_label' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/xjukebox-0.9/widgets.c:891:15: style: Variable 'queue_label' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:200:15: style: Unused variable: n [unusedVariable] rplay-3.3.2/examples/level.c:20:16: style: Unused variable: i [unusedVariable] rplay-3.3.2/gsm/debug.c:52:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] rplay-3.3.2/gsm/debug.c:66:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] rplay-3.3.2/gsm/debug.c:73:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] rplay-3.3.2/gsm/gsm_option.c:14:16: style: Parameter 'val' can be declared as pointer to const [constParameter] rplay-3.3.2/gsm/lpc.c:321:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] rplay-3.3.2/gsm/lpc.c:321:2: style: Variable 'LAR' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/gsm/rpe.c:235:22: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] rplay-3.3.2/gsm/rpe.c:301:41: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] rplay-3.3.2/gsm/rpe.c:256:31: style: Parameter 'xM' can be declared as pointer to const [constParameter] rplay-3.3.2/gsm/rpe.c:209:7: style: Variable 'EM' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/gsm/short_term.c:183:43: style: Parameter 'rp' can be declared as pointer to const [constParameter] rplay-3.3.2/gsm/short_term.c:265:44: style: Parameter 'rrp' can be declared as pointer to const [constParameter] rplay-3.3.2/gsm/toast.c:577:11: style: Condition 'cc>=0' is always true [knownConditionTrueFalse] rplay-3.3.2/gsm/toast.c:574:43: note: Assuming that condition '(cc=fread(s,1,sizeof(s),in))>0' is not redundant rplay-3.3.2/gsm/toast.c:577:11: note: Condition 'cc>=0' is always true rplay-3.3.2/gsm/toast.c:254:3: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] rplay-3.3.2/gsm/toast.c:577:17: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] rplay-3.3.2/gsm/toast.c:189:26: style: The comparison 'max_filename_length > 0' is always false. [knownConditionTrueFalse] rplay-3.3.2/gsm/toast.c:144:29: note: 'max_filename_length' is assigned value '0' here. rplay-3.3.2/gsm/toast.c:189:26: note: The comparison 'max_filename_length > 0' is always false. rplay-3.3.2/gsm/toast.c:774:2: warning: Label 'usage' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] rplay-3.3.2/gsm/toast.c:617:6: style: Variable 'step' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/lib/hash.c:264:8: error: Memory is allocated but not initialized: retval [uninitdata] rplay-3.3.2/lib/tilde.c:162:18: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] rplay-3.3.2/lib/tilde.c:243:16: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] rplay-3.3.2/lib/tilde.c:268:22: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] rplay-3.3.2/lib/tilde.c:227:24: error: Allocation with xmalloc, strcpy doesn't release it. [leakNoVarFunctionCall] rplay-3.3.2/lib/tilde.c:182:23: error: Pointer addition with NULL pointer. [nullPointerArithmetic] rplay-3.3.2/lib/tilde.c:166:12: note: Assignment 'result=(char*)0x0', assigned value is 0 rplay-3.3.2/lib/tilde.c:179:38: note: Assuming condition is false rplay-3.3.2/lib/tilde.c:182:23: note: Null pointer addition rplay-3.3.2/librplay/async.c:281:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] rplay-3.3.2/librplay/async.c:192:7: style: Local variable 'callback' shadows outer variable [shadowVariable] rplay-3.3.2/librplay/async.c:401:12: note: Shadowed declaration rplay-3.3.2/librplay/async.c:192:7: note: Shadow variable rplay-3.3.2/librplay/async.c:204:12: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] rplay-3.3.2/librplay/rplay.c:853:9: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] rplay-3.3.2/librplay/rplay.c:1135:10: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] rplay-3.3.2/librplay/rplay.c:1190:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] rplay-3.3.2/librplay/rplay.c:1234:2: error: Resource leak: rplay_fd [resourceLeak] rplay-3.3.2/librplay/rplay.c:842:9: style: Redundant initialization for 'host'. The initialized value is overwritten before it is read. [redundantInitialization] rplay-3.3.2/librplay/rplay.c:832:18: note: host is initialized rplay-3.3.2/librplay/rplay.c:842:9: note: host is overwritten rplay-3.3.2/librplay/rplay.c:1489:30: style: The comparison 'error2 < 0' is always false. [knownConditionTrueFalse] rplay-3.3.2/librplay/rplay.c:1457:30: note: 'error2' is assigned value '0' here. rplay-3.3.2/librplay/rplay.c:1489:30: note: The comparison 'error2 < 0' is always false. rplay-3.3.2/librplay/rplay.c:638:15: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] rplay-3.3.2/librplay/rplay.c:929:20: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] rplay-3.3.2/librplay/rptp.c:126:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] rplay-3.3.2/librplay/rptp.c:642:35: style: Redundant condition: If 'EXPR == '-'', the comparison 'EXPR' is always true. [redundantCondition] rplay-3.3.2/librplay/rptp.c:651:27: style: Redundant condition: If 'EXPR == '-'', the comparison 'EXPR' is always true. [redundantCondition] rplay-3.3.2/rplayd/audio/audio_FreeBSD.c:341:20: style: Variable 'left_vol' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rplayd/audio/audio_FreeBSD.c:341:32: style: Variable 'right_vol' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rplay/rplay.c:896:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplay/rplay.c:899:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplay/rplay.c:902:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplay/rplay.c:905:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplay/rplay.c:908:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplay/rplay.c:911:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplay/rplay.c:673:2: warning: %s in format string (no. 1) requires 'char *' but the argument type is 'signed int'. [invalidPrintfArgType_s] rplay-3.3.2/rplay/rplay.c:785:2: warning: %s in format string (no. 1) requires 'char *' but the argument type is 'signed int'. [invalidPrintfArgType_s] rplay-3.3.2/rplay/rplay.c:798:2: warning: %s in format string (no. 1) requires 'char *' but the argument type is 'signed int'. [invalidPrintfArgType_s] rplay-3.3.2/rplay/rplay.c:110:9: style: Unused variable: i [unusedVariable] rplay-3.3.2/rplay/rplay.c:110:12: style: Unused variable: n [unusedVariable] rplay-3.3.2/rplay/rplay.c:115:10: style: Unused variable: buf [unusedVariable] rplay-3.3.2/rplay/rplay.c:743:10: style: Unused variable: command [unusedVariable] rplay-3.3.2/rplayd/audio/audio_oss.c:382:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] rplay-3.3.2/rplayd/audio/audio_oss.c:620:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] rplay-3.3.2/rplayd/audio/audio_oss.c:180:9: style: Unused variable: flags [unusedVariable] rplay-3.3.2/rplayd/audio/audio_oss.c:408:20: style: Variable 'left_vol' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rplayd/audio/audio_oss.c:408:32: style: Variable 'right_vol' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rplayd/audio/audio_sun.c:118:9: style: Unused variable: d [unusedVariable] rplay-3.3.2/rplayd/buffer.c:118:13: style: Variable 'head' is not assigned a value. [unassignedVariable] rplay-3.3.2/rplayd/cache.c:120:7: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] rplay-3.3.2/rplayd/cache.c:306:2: error: Resource leak: fd [resourceLeak] rplay-3.3.2/rplayd/cache.c:317:2: error: Resource leak: fd [resourceLeak] rplay-3.3.2/rplayd/cache.c:324:2: error: Resource leak: fd [resourceLeak] rplay-3.3.2/rplayd/connection.c:1897:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/connection.c:1898:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/connection.c:1990:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/connection.c:1993:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/connection.c:370:13: style: Parameter 'read_fds' can be declared as pointer to const [constParameter] rplay-3.3.2/rplayd/connection.c:371:13: style: Parameter 'write_fds' can be declared as pointer to const [constParameter] rplay-3.3.2/rplayd/connection.c:220:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rplayd/connection.c:381:12: style: Unused variable: s [unusedVariable] rplay-3.3.2/rplayd/connection.c:758:12: style: Unused variable: s [unusedVariable] rplay-3.3.2/rplayd/connection.c:759:12: style: Unused variable: sp [unusedVariable] rplay-3.3.2/rplayd/connection.c:1034:9: style: Variable 'server' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rplayd/connection.c:1093:9: style: Unused variable: n [unusedVariable] rplay-3.3.2/rplayd/connection.c:1897:9: style: Variable 'p' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rplayd/command.c:2092:6: warning:inconclusive: The buffer 'info' may not be null-terminated after the call to strncpy(). [terminateStrncpy] rplay-3.3.2/rplayd/command.c:182:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:1006:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:1009:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:1012:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:1015:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:1018:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:1021:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:1457:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:2093:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:2096:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:2099:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:2102:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/command.c:419:9: style: Local variable 'spool_id' shadows outer function [shadowFunction] rplay-3.3.2/rplayd/spool.h:129:12: note: Shadowed declaration rplay-3.3.2/rplayd/command.c:419:9: note: Shadow variable rplay-3.3.2/rplayd/command.c:449:8: style: Local variable 'p' shadows outer variable [shadowVariable] rplay-3.3.2/rplayd/command.c:415:38: note: Shadowed declaration rplay-3.3.2/rplayd/command.c:449:8: note: Shadow variable rplay-3.3.2/rplayd/command.c:829:15: style: Local variable 'command' shadows outer function [shadowFunction] rplay-3.3.2/rplayd/command.h:37:12: note: Shadowed declaration rplay-3.3.2/rplayd/command.c:829:15: note: Shadow variable rplay-3.3.2/rplayd/command.c:1126:6: style: Local variable 'spool_id' shadows outer function [shadowFunction] rplay-3.3.2/rplayd/spool.h:129:12: note: Shadowed declaration rplay-3.3.2/rplayd/command.c:1126:6: note: Shadow variable rplay-3.3.2/rplayd/command.c:1126:16: style: Local variable 'i' shadows outer variable [shadowVariable] rplay-3.3.2/rplayd/command.c:829:9: note: Shadowed declaration rplay-3.3.2/rplayd/command.c:1126:16: note: Shadow variable rplay-3.3.2/rplayd/command.c:2081:13: style: Local variable 'sp' shadows outer variable [shadowVariable] rplay-3.3.2/rplayd/command.c:1847:12: note: Shadowed declaration rplay-3.3.2/rplayd/command.c:2081:13: note: Shadow variable rplay-3.3.2/rplayd/command.c:2227:9: style: Local variable 'modified' shadows outer function [shadowFunction] rplay-3.3.2/rplayd/misc.h:57:12: note: Shadowed declaration rplay-3.3.2/rplayd/command.c:2227:9: note: Shadow variable rplay-3.3.2/rplayd/command.c:1848:9: style: Variable 'notify_mask' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rplayd/command.c:1849:9: style: Variable 'notify_id' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rplayd/misc.c:635:20: style: Parameter 'bytes' can be declared as pointer to const [constParameter] rplay-3.3.2/rplayd/misc.c:527:9: style: Unused variable: n [unusedVariable] rplay-3.3.2/rplayd/rplayd.c:1413:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] rplay-3.3.2/rplayd/rplayd.c:386:21: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] rplay-3.3.2/rplayd/rplayd.c:401:22: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] rplay-3.3.2/rplayd/rplayd.c:437:10: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] rplay-3.3.2/rplayd/rplayd.c:540:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/rplayd.c:794:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/rplayd.c:797:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/rplayd.c:800:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/rplayd.c:803:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rplayd/rplayd.c:1171:27: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] rplay-3.3.2/rplayd/rplayd.c:1048:7: style: Condition 'sound_cleanup_timeout' is always true [knownConditionTrueFalse] rplay-3.3.2/rplayd/rplayd.c:1052:7: style: Condition 'buffer_cleanup_timeout' is always true [knownConditionTrueFalse] rplay-3.3.2/rplayd/rplayd.c:1056:7: style: Condition 'spool_cleanup_timeout' is always false [knownConditionTrueFalse] rplay-3.3.2/rplayd/rplayd.c:1070:17: style: Condition 'icount>=buffer_cleanup_timeout' is always true [knownConditionTrueFalse] rplay-3.3.2/rplayd/rplayd.c:1069:17: note: Assuming that condition 'icount>=sound_cleanup_timeout' is not redundant rplay-3.3.2/rplayd/rplayd.c:1070:17: note: Condition 'icount>=buffer_cleanup_timeout' is always true rplay-3.3.2/rplayd/rplayd.c:1071:17: style: Condition 'icount>=spool_cleanup_timeout' is always true [knownConditionTrueFalse] rplay-3.3.2/rplayd/rplayd.c:1069:17: note: Assuming that condition 'icount>=sound_cleanup_timeout' is not redundant rplay-3.3.2/rplayd/rplayd.c:1071:17: note: Condition 'icount>=spool_cleanup_timeout' is always true rplay-3.3.2/rplayd/rplayd.c:1357:36: style: Condition 'optional_sample_rate>=prev_sample_rate' is always true [knownConditionTrueFalse] rplay-3.3.2/rplayd/rplayd.c:1352:27: note: Assuming that condition 'optional_sample_rate=prev_sample_rate' is always true rplay-3.3.2/rplayd/rplayd.c:1490:49: style: Condition 'rplay_audio_size==0' is always true [knownConditionTrueFalse] rplay-3.3.2/rplayd/rplayd.c:1487:24: note: Assignment 'rplay_audio_size=0', assigned value is 0 rplay-3.3.2/rplayd/rplayd.c:1490:49: note: Condition 'rplay_audio_size==0' is always true rplay-3.3.2/rplayd/rplayd.c:1412:2: error: Uninitialized variable: end [uninitvar] rplay-3.3.2/rplayd/rplayd.c:1402:28: note: Assuming condition is false rplay-3.3.2/rplayd/rplayd.c:1412:2: note: Uninitialized variable: end rplay-3.3.2/rplayd/rplayd.c:571:16: style: Unused variable: within_file [unusedVariable] rplay-3.3.2/rplayd/rplayd.c:572:9: style: Unused variable: i [unusedVariable] rplay-3.3.2/rplayd/rplayd.c:1121:21: style: Unused variable: sp [unusedVariable] rplay-3.3.2/rplayd/rplayd.c:1420:17: style: Unused variable: b_next [unusedVariable] rplay-3.3.2/rplayd/rplayd.c:1441:18: style: Variable 'nwritten' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rplayd/rplayd.c:1452:11: style: Variable 'nwritten' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rplayd/rplayd.c:2078:12: style: Unused variable: sp [unusedVariable] rplay-3.3.2/rplayd/rplayd.c:2139:12: style: Unused variable: sp [unusedVariable] rplay-3.3.2/rplayd/rplayd.c:2226:13: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] rplay-3.3.2/rplayd/server.c:78:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] rplay-3.3.2/rplayd/server.c:124:11: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] rplay-3.3.2/rplayd/spool.c:1180:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] rplay-3.3.2/rplayd/sound.c:188:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] rplay-3.3.2/rplayd/sound.c:2504:10: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] rplay-3.3.2/rplayd/sound.c:2486:6: note: outer condition: !si->high_water_mark rplay-3.3.2/rplayd/sound.c:2504:10: note: identical inner condition: !si->high_water_mark rplay-3.3.2/rplayd/sound.c:2057:21: style: Redundant condition: s->mapped. '!s->mapped || (s->mapped && !s->size)' is equivalent to '!s->mapped || !s->size' [redundantCondition] rplay-3.3.2/rplayd/sound.c:591:11: style: Condition 's==NULL' is always true [knownConditionTrueFalse] rplay-3.3.2/rplayd/sound.c:571:16: note: Assignment 's=NULL', assigned value is 0 rplay-3.3.2/rplayd/sound.c:591:11: note: Condition 's==NULL' is always true rplay-3.3.2/rplayd/sound.c:1139:5: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] rplay-3.3.2/rplayd/sound.c:1132:9: note: p is assigned rplay-3.3.2/rplayd/sound.c:1139:5: note: p is overwritten rplay-3.3.2/rplayd/sound.c:1842:22: style: Same expression on both sides of '||'. [duplicateExpression] rplay-3.3.2/rplayd/sound.c:759:9: style: Local variable 'optional_format' shadows outer variable [shadowVariable] rplay-3.3.2/rplayd/rplayd.h:118:12: note: Shadowed declaration rplay-3.3.2/rplayd/sound.c:759:9: note: Shadow variable rplay-3.3.2/rplayd/sound.c:761:9: style: Local variable 'optional_sample_rate' shadows outer variable [shadowVariable] rplay-3.3.2/rplayd/rplayd.h:115:12: note: Shadowed declaration rplay-3.3.2/rplayd/sound.c:761:9: note: Shadow variable rplay-3.3.2/rplayd/sound.c:764:9: style: Local variable 'optional_channels' shadows outer variable [shadowVariable] rplay-3.3.2/rplayd/rplayd.h:117:12: note: Shadowed declaration rplay-3.3.2/rplayd/sound.c:764:9: note: Shadow variable rplay-3.3.2/rplayd/sound.c:2545:15: style: Local variable 'f_next' shadows outer variable [shadowVariable] rplay-3.3.2/rplayd/sound.c:2479:14: note: Shadowed declaration rplay-3.3.2/rplayd/sound.c:2545:15: note: Shadow variable rplay-3.3.2/rplayd/sound.c:1258:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] rplay-3.3.2/rplayd/sound.c:1258:5: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] rplay-3.3.2/rplayd/sound.c:574:9: style: Unused variable: i [unusedVariable] rplay-3.3.2/rplayd/sound.c:2479:14: style: Unused variable: f_next [unusedVariable] rplay-3.3.2/rptp/rptp.c:274:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rptp/rptp.c:770:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rptp/rptp.c:771:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rptp/rptp.c:1044:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rptp/rptp.c:1047:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rptp/rptp.c:1050:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rptp/rptp.c:1053:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rplay-3.3.2/rptp/rptp.c:1047:7: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] rplay-3.3.2/rptp/rptp.c:1044:7: note: p is assigned rplay-3.3.2/rptp/rptp.c:1047:7: note: p is overwritten rplay-3.3.2/rptp/rptp.c:283:10: style: Local variable 'i' shadows outer variable [shadowVariable] rplay-3.3.2/rptp/rptp.c:161:9: note: Shadowed declaration rplay-3.3.2/rptp/rptp.c:283:10: note: Shadow variable rplay-3.3.2/rptp/rptp.c:166:10: style: Unused variable: numeric_string [unusedVariable] rplay-3.3.2/rptp/rptp.c:770:4: style: Variable 'p' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rptp/rptp.c:981:11: style: Unused variable: value [unusedVariable] rplay-3.3.2/rptp/rptp.c:1056:17: style: Variable 'sample_size' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rptp/rptp.c:1064:7: style: Variable 'size' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rptp/rptp.c:1016:11: style: Unused variable: value [unusedVariable] rplay-3.3.2/rptp/rptp.c:1018:10: style: Unused variable: line [unusedVariable] rplay-3.3.2/rx/rgx.c:249:66: error: Dereferencing 'pmatch' after it is deallocated / released [deallocuse] rplay-3.3.2/rx/rgx.c:250:49: error: Dereferencing 'pmatch' after it is deallocated / released [deallocuse] rplay-3.3.2/rx/rgx.c:251:49: error: Dereferencing 'pmatch' after it is deallocated / released [deallocuse] rplay-3.3.2/rx/rgx.c:208:14: style: Variable 'answer' is assigned a value that is never used. [unreadVariable] rplay-3.3.2/rx/rxbasic.c:70:32: style: Parameter 'rules' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxanal.c:410:11: error: Null pointer dereference: (struct rx_superstate*)0 [nullPointer] rplay-3.3.2/rx/rxanal.c:460:7: error: Null pointer dereference: (struct rx_superstate*)0 [nullPointer] rplay-3.3.2/rx/rxanal.c:467:10: error: Null pointer dereference: (struct rx_superstate*)0 [nullPointer] rplay-3.3.2/rx/rxanal.c:510:11: error: Null pointer dereference: (struct rx_superstate*)0 [nullPointer] rplay-3.3.2/rx/rxanal.c:557:10: error: Null pointer dereference: (struct rx_superstate*)0 [nullPointer] rplay-3.3.2/rx/rxanal.c:612:11: error: Null pointer dereference: (struct rx_superstate*)0 [nullPointer] rplay-3.3.2/rx/rxanal.c:666:5: error: Null pointer dereference: (struct rx_superstate*)0 [nullPointer] rplay-3.3.2/rx/rxbitset.c:36:16: style: Parameter 'a' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxbitset.c:64:16: style: Parameter 'a' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxbitset.c:65:16: style: Parameter 'b' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxbitset.c:152:16: style: Parameter 'b' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxbitset.c:169:16: style: Parameter 'b' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxbitset.c:187:16: style: Parameter 'b' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxbitset.c:204:16: style: Parameter 'b' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxbitset.c:222:16: style: Parameter 'b' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxbitset.c:238:16: style: Parameter 'b' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxbitset.c:254:16: style: Parameter 'b' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxdbug.c:225:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rplay-3.3.2/rx/rxdbug.c:53:16: style: Parameter 'cs' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxhash.c:99:13: style: Parameter 'va' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxhash.c:100:13: style: Parameter 'vb' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxgnucomp.c:645:7: error: Memory leak: compile_stack.stack [memleak] rplay-3.3.2/rx/rxgnucomp.c:808:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] rplay-3.3.2/rx/rxgnucomp.c:312:22: style: Parameter 'translate' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxnfa.c:727:20: error: Uninitialized variable: cmp [uninitvar] rplay-3.3.2/rx/rxnfa.c:719:14: note: Assuming condition is false rplay-3.3.2/rx/rxnfa.c:727:20: note: Uninitialized variable: cmp rplay-3.3.2/rx/rxnode.c:123:18: error: Uninitialized variable: tmp [uninitvar] rplay-3.3.2/rx/rxnode.c:112:11: note: Assuming condition is false rplay-3.3.2/rx/rxnode.c:123:18: note: Uninitialized variable: tmp rplay-3.3.2/rx/rxposix.c:262:11: error: Uninitialized variable: answer [uninitvar] rplay-3.3.2/rx/rxposix.c:229:14: note: Assuming condition is false rplay-3.3.2/rx/rxposix.c:262:11: note: Uninitialized variable: answer rplay-3.3.2/rx/rxspencer.c:501:22: style: Condition 'solns->exp->observed' is always true [knownConditionTrueFalse] rplay-3.3.2/rx/rxspencer.c:478:12: note: Assuming condition '!solns->exp->observed' is false rplay-3.3.2/rx/rxspencer.c:501:22: note: Condition 'solns->exp->observed' is always true rplay-3.3.2/rx/rxsuper.c:123:15: warning: Possible null pointer dereference: cache [nullPointer] rplay-3.3.2/rx/rxsuper.c:122:37: note: Assignment 'you_fucked_up=0', assigned value is 0 rplay-3.3.2/rx/rxsuper.c:126:18: note: Calling function 'check_cache', 1st argument 'you_fucked_up' value is 0 rplay-3.3.2/rx/rxsuper.c:123:15: note: Null pointer dereference rplay-3.3.2/rx/rxsuper.c:124:14: warning: Possible null pointer dereference: cache [nullPointer] rplay-3.3.2/rx/rxsuper.c:122:37: note: Assignment 'you_fucked_up=0', assigned value is 0 rplay-3.3.2/rx/rxsuper.c:126:18: note: Calling function 'check_cache', 1st argument 'you_fucked_up' value is 0 rplay-3.3.2/rx/rxsuper.c:124:14: note: Null pointer dereference rplay-3.3.2/rx/rxsuper.c:125:21: warning: Possible null pointer dereference: cache [nullPointer] rplay-3.3.2/rx/rxsuper.c:122:37: note: Assignment 'you_fucked_up=0', assigned value is 0 rplay-3.3.2/rx/rxsuper.c:126:18: note: Calling function 'check_cache', 1st argument 'you_fucked_up' value is 0 rplay-3.3.2/rx/rxsuper.c:125:21: note: Null pointer dereference rplay-3.3.2/rx/rxsuper.c:127:31: warning: Possible null pointer dereference: cache [nullPointer] rplay-3.3.2/rx/rxsuper.c:122:37: note: Assignment 'you_fucked_up=0', assigned value is 0 rplay-3.3.2/rx/rxsuper.c:126:18: note: Calling function 'check_cache', 1st argument 'you_fucked_up' value is 0 rplay-3.3.2/rx/rxsuper.c:127:31: note: Null pointer dereference rplay-3.3.2/rx/rxsuper.c:66:21: style: Parameter 'answer' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxsuper.c:1294:21: style: Parameter 'answer' can be declared as pointer to const [constParameter] rplay-3.3.2/rx/rxsuper.c:390:26: style: Variable 'locked_superstates' is assigned a value that is never used. [unreadVariable] diff: head rplay-3.3.2/gsm/gsm_option.c:14:16: style: Parameter 'val' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/gsm/gsm_option.c:14:16: style: Parameter 'val' can be declared with const [constParameter] head rplay-3.3.2/gsm/rpe.c:256:31: style: Parameter 'xM' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/gsm/rpe.c:256:31: style: Parameter 'xM' can be declared with const [constParameter] head rplay-3.3.2/gsm/short_term.c:183:43: style: Parameter 'rp' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/gsm/short_term.c:183:43: style: Parameter 'rp' can be declared with const [constParameter] head rplay-3.3.2/gsm/short_term.c:265:44: style: Parameter 'rrp' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/gsm/short_term.c:265:44: style: Parameter 'rrp' can be declared with const [constParameter] head rplay-3.3.2/rplayd/connection.c:370:13: style: Parameter 'read_fds' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rplayd/connection.c:370:13: style: Parameter 'read_fds' can be declared with const [constParameter] head rplay-3.3.2/rplayd/connection.c:371:13: style: Parameter 'write_fds' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rplayd/connection.c:371:13: style: Parameter 'write_fds' can be declared with const [constParameter] head rplay-3.3.2/rplayd/misc.c:635:20: style: Parameter 'bytes' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rplayd/misc.c:635:20: style: Parameter 'bytes' can be declared with const [constParameter] head rplay-3.3.2/rx/rxbasic.c:70:32: style: Parameter 'rules' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxbasic.c:70:32: style: Parameter 'rules' can be declared with const [constParameter] head rplay-3.3.2/rx/rxbitset.c:152:16: style: Parameter 'b' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxbitset.c:152:16: style: Parameter 'b' can be declared with const [constParameter] head rplay-3.3.2/rx/rxbitset.c:169:16: style: Parameter 'b' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxbitset.c:169:16: style: Parameter 'b' can be declared with const [constParameter] head rplay-3.3.2/rx/rxbitset.c:187:16: style: Parameter 'b' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxbitset.c:187:16: style: Parameter 'b' can be declared with const [constParameter] head rplay-3.3.2/rx/rxbitset.c:204:16: style: Parameter 'b' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxbitset.c:204:16: style: Parameter 'b' can be declared with const [constParameter] head rplay-3.3.2/rx/rxbitset.c:222:16: style: Parameter 'b' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxbitset.c:222:16: style: Parameter 'b' can be declared with const [constParameter] head rplay-3.3.2/rx/rxbitset.c:238:16: style: Parameter 'b' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxbitset.c:238:16: style: Parameter 'b' can be declared with const [constParameter] head rplay-3.3.2/rx/rxbitset.c:254:16: style: Parameter 'b' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxbitset.c:254:16: style: Parameter 'b' can be declared with const [constParameter] head rplay-3.3.2/rx/rxbitset.c:36:16: style: Parameter 'a' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxbitset.c:36:16: style: Parameter 'a' can be declared with const [constParameter] head rplay-3.3.2/rx/rxbitset.c:64:16: style: Parameter 'a' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxbitset.c:64:16: style: Parameter 'a' can be declared with const [constParameter] head rplay-3.3.2/rx/rxbitset.c:65:16: style: Parameter 'b' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxbitset.c:65:16: style: Parameter 'b' can be declared with const [constParameter] head rplay-3.3.2/rx/rxdbug.c:53:16: style: Parameter 'cs' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxdbug.c:53:16: style: Parameter 'cs' can be declared with const [constParameter] head rplay-3.3.2/rx/rxgnucomp.c:312:22: style: Parameter 'translate' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxgnucomp.c:312:22: style: Parameter 'translate' can be declared with const [constParameter] head rplay-3.3.2/rx/rxhash.c:100:13: style: Parameter 'vb' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxhash.c:100:13: style: Parameter 'vb' can be declared with const [constParameter] head rplay-3.3.2/rx/rxhash.c:99:13: style: Parameter 'va' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxhash.c:99:13: style: Parameter 'va' can be declared with const [constParameter] head rplay-3.3.2/rx/rxsuper.c:1294:21: style: Parameter 'answer' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxsuper.c:1294:21: style: Parameter 'answer' can be declared with const [constParameter] head rplay-3.3.2/rx/rxsuper.c:66:21: style: Parameter 'answer' can be declared as pointer to const [constParameter] 2.8 rplay-3.3.2/rx/rxsuper.c:66:21: style: Parameter 'answer' can be declared with const [constParameter] DONE