2024-03-27 11:47 ftp://ftp.de.debian.org/debian/pool/main/i/ifmail/ifmail_2.14tx8.10.orig.tar.gz cppcheck-options: --library=posix --library=gnu --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 -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.55 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 99853e4 (2024-03-27 05:16:23 +0100) count: 566 486 elapsed-time: 11.1 94.8 head-timing-info: old-timing-info: head results: ifmail-2.14tx8.10.orig/ifcico/answer.c:41:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inbound [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/answer.c:23:6: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] ifmail-2.14tx8.10.orig/ifcico/answer.c:27:15: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] ifmail-2.14tx8.10.orig/ifcico/answer.c:20:8: style: Local variable 'nlent' shadows outer variable [shadowVariable] ifmail-2.14tx8.10.orig/ifcico/session.h:18:14: note: Shadowed declaration ifmail-2.14tx8.10.orig/ifcico/answer.c:20:8: note: Shadow variable ifmail-2.14tx8.10.orig/ifcico/call.c:78:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dialdelay [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/binkp.c:60:8: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/callall.c:52:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUT_PKT [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/callall.c:34:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifcico/dial.c:47:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable modemaftercall [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/dial.c:20:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifcico/dial.c:25:14: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifcico/chat.c:95:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable phonetrans [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/chat.c:140:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/chat.c:189:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/Txy.c:20:19: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] ifmail-2.14tx8.10.orig/ifcico/Txy.c:17:34: style: Parameter 'xy' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/Txy.c:20:13: style: Variable 'Now' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/emsidat.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable whoami [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/emsidat.c:285:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fa_list [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/chat.c:139:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ifmail-2.14tx8.10.orig/ifcico/chat.c:85:7: style: Parameter 'phone' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/chat.c:174:31: style: Variable 'ematch' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifcico/chat.c:204:10: style: Variable 'ematch' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifcico/emsi.c:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inbound [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/filelist.c:173:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/filelist.c:322:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/filelist.c:377:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FILELIST [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/emsidat.c:323:4: warning:inconclusive: The buffer 'emsi_remote_comm' may not be null-terminated after the call to strncpy(). [terminateStrncpy] ifmail-2.14tx8.10.orig/ifcico/emsidat.c:282:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/emsidat.c:313:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/emsidat.c:338:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/emsidat.c:164:2: portability: %X in format string (no. 1) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] ifmail-2.14tx8.10.orig/ifcico/emsidat.c:199:5: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/emsidat.c:241:5: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/emsidat.c:23:7: style: Variable 'Base16Code' can be declared as const array [constVariable] ifmail-2.14tx8.10.orig/ifcico/filetime.c:31:6: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ifmail-2.14tx8.10.orig/ifcico/filetime.c:52:5: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ifmail-2.14tx8.10.orig/ifcico/filetime.c:50:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/call.c:173:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/call.c:175:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/call.c:71:10: style: Condition 'rc=checkretry(st)' is always false [knownConditionTrueFalse] ifmail-2.14tx8.10.orig/ifcico/call.c:71:21: note: Calling function 'checkretry' returns 0 ifmail-2.14tx8.10.orig/ifcico/call.c:71:10: note: Condition 'rc=checkretry(st)' is always false ifmail-2.14tx8.10.orig/ifcico/call.c:54:8: style: Local variable 'nlent' shadows outer variable [shadowVariable] ifmail-2.14tx8.10.orig/ifcico/session.h:18:14: note: Shadowed declaration ifmail-2.14tx8.10.orig/ifcico/call.c:54:8: note: Shadow variable ifmail-2.14tx8.10.orig/ifcico/call.c:45:11: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:293:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inbound [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/emsi.c:329:6: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/emsi.c:391:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/emsi.c:537:3: style: Variable 'sm_state' is reassigned a value before the old one has been used. [redundantAssignment] ifmail-2.14tx8.10.orig/ifcico/emsi.c:526:12: note: sm_state is assigned ifmail-2.14tx8.10.orig/ifcico/emsi.c:537:3: note: sm_state is overwritten ifmail-2.14tx8.10.orig/ifcico/emsi.c:258:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/emsi.c:310:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/emsi.c:359:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/emsi.c:439:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/emsi.c:481:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/emsi.c:486:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/emsi.c:527:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/emsi.c:54:8: style: Local variable 'nlent' shadows outer variable [shadowVariable] ifmail-2.14tx8.10.orig/ifcico/session.h:18:14: note: Shadowed declaration ifmail-2.14tx8.10.orig/ifcico/emsi.c:54:8: note: Shadow variable ifmail-2.14tx8.10.orig/ifcico/ftsc.c:124:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:126:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:128:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:132:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:134:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:139:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:204:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:207:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:211:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:240:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:244:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:246:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:250:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:352:34: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:353:23: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ftsc.c:354:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/ifindex.c:37:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/ifinfo.c:45:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/ifcico.c:74:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myname [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/ifcico.c:114:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/ifinfo.c:88:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ifmail-2.14tx8.10.orig/ifcico/ifinfo.c:32:9: style: Variable 'nlent' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/ifreq.c:52:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/ifreq.c:119:6: warning: Repositioning operation performed on a file opened in append mode has no effect. [seekOnAppendedFile] ifmail-2.14tx8.10.orig/ifcico/ifroute.c:31:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/ifroute.c:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/ifcico.c:147:28: style: Redundant condition: The condition '*p' is redundant since '*p == '*'' is sufficient. [redundantCondition] ifmail-2.14tx8.10.orig/ifcico/ifroute.c:44:9: style: Variable 'nlent' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/filelist.c:256:18: warning: Either the condition 'nm!=NULL' is redundant or there is possible null pointer dereference: nm. [nullPointerRedundantCheck] ifmail-2.14tx8.10.orig/ifcico/filelist.c:257:12: note: Assuming that condition 'nm!=NULL' is not redundant ifmail-2.14tx8.10.orig/ifcico/filelist.c:256:18: note: Null pointer dereference ifmail-2.14tx8.10.orig/ifcico/filelist.c:131:13: style: Variable 'tmp' is not assigned a value. [unassignedVariable] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:64:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOERROR [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:107:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:143:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable options [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:186:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:229:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/m7recv.c:66:34: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/m7recv.c:67:32: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/m7recv.c:87:32: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/m7recv.c:88:44: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/m7recv.c:89:33: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/m7recv.c:100:25: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/m7recv.c:108:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/m7recv.c:113:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/hydra.c:291:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_HYDRA [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/hydra.c:461:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_HYDRA [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/hydra.c:633:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_HYDRA [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/hydra.c:1729:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_HANDSHAKE [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/nlindex.c:92:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nllist [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/m7send.c:122:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:172:17: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:155:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:157:3: note: Found duplicate branches for 'if' and 'else'. ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:155:9: note: Found duplicate branches for 'if' and 'else'. ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:51:10: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:104:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:104:15: style: Parameter 'domain' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:137:9: style: Variable 'oldcname' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:34:8: style: union member 'querybuf::qb2' is never used. [unusedStructMember] ifmail-2.14tx8.10.orig/ifcico/nlookup.c:52:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domain [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/nlookup.c:282:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/nlpatch.c:43:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/nlindex.c:121:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ifmail-2.14tx8.10.orig/ifcico/nlindex.c:86:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/nodebld.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nlbase [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/nlpatch.c:84:7: style: Parameter 'nl' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/nlpatch.c:84:11: style: Parameter 'nd' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/nlpatch.c:84:15: style: Parameter 'nn' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/nlookup.c:120:9: style: Local variable 'p' shadows outer variable [shadowVariable] ifmail-2.14tx8.10.orig/ifcico/nlookup.c:41:8: note: Shadowed declaration ifmail-2.14tx8.10.orig/ifcico/nlookup.c:120:9: note: Shadow variable ifmail-2.14tx8.10.orig/ifcico/nlookup.c:139:26: error: Undefined behavior: Variable 'buf' is used as parameter and destination in sprintf(). [sprintfOverlappingData] ifmail-2.14tx8.10.orig/ifcico/nodebld.c:142:15: style: Condition 'buf[0]=='\0'' is always false [knownConditionTrueFalse] ifmail-2.14tx8.10.orig/ifcico/nodebld.c:38:20: style: Variable 'oldloc' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/openport.c:23:0: error: #error must have termios.h, termio.h or sgtty.h [preprocessorErrorDirective] ifmail-2.14tx8.10.orig/ifcico/nodelist.c:40:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domain [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/openfile.c:198:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inbound [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/rdoptions.c:43:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable options [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/rdoptions.c:48:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/nodelist.c:36:13: style: Variable 'mydomain' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/openfile.c:179:11: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] ifmail-2.14tx8.10.orig/ifcico/openfile.c:218:6: portability: Non reentrant function 'tempnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'tempnam_r'. [prohibitedtempnamCalled] ifmail-2.14tx8.10.orig/ifcico/openfile.c:225:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] ifmail-2.14tx8.10.orig/ifcico/openfile.c:215:6: note: rc is assigned ifmail-2.14tx8.10.orig/ifcico/openfile.c:225:5: note: rc is overwritten ifmail-2.14tx8.10.orig/ifcico/recvbark.c:70:41: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:71:24: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:72:47: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:73:47: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:76:25: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:93:34: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:94:42: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:95:33: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:97:26: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:117:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:124:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:140:27: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:141:47: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:142:33: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/recvbark.c:145:25: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:181:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable magic [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:476:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_tmpnam [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:560:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_tmpnam [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/session.c:98:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fa_list [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/session.c:384:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/sendbark.c:43:7: style: Condition 'nm' is always true [knownConditionTrueFalse] ifmail-2.14tx8.10.orig/ifcico/sendbark.c:144:31: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/sendbark.c:145:22: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/sendbark.c:146:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/sendbark.c:21:8: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/ttyio.c:157:0: error: #error unimplemented non-select()-based i/o [preprocessorErrorDirective] ifmail-2.14tx8.10.orig/ifcico/session.c:462:12: style: Condition 'ebuf[0]' is always false [knownConditionTrueFalse] ifmail-2.14tx8.10.orig/ifcico/session.c:461:12: note: Assignment 'ebuf[0]='\0'', assigned value is 0 ifmail-2.14tx8.10.orig/ifcico/session.c:462:12: note: Condition 'ebuf[0]' is always false ifmail-2.14tx8.10.orig/ifcico/session.c:502:6: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/session.c:180:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/session.c:309:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/session.c:437:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/session.c:471:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:370:3: warning:inconclusive: The buffer 'tmpfname' may not be null-terminated after the call to strncpy(). [terminateStrncpy] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:132:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:152:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:155:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:157:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:160:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:163:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:165:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:169:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:218:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:247:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:365:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:431:43: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmrecv.c:432:30: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:122:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inbound [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:184:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwlist [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:413:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable version [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:491:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fa_list [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:413:2: warning: %hd in format string (no. 1) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:413:2: warning: %hd in format string (no. 2) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:254:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:264:36: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:265:36: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:269:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:299:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:333:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:359:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:375:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:389:24: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:390:33: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:391:33: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:395:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:88:8: style: Local variable 'nlent' shadows outer variable [shadowVariable] ifmail-2.14tx8.10.orig/ifcico/session.h:18:14: note: Shadowed declaration ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:88:8: note: Shadow variable ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:404:7: style: Parameter 'password' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:406:9: style: Variable 'best' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:524:15: style: Parameter 'Hellop' can be declared as const array [constParameter] ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:502:7: style: Variable 'tmpl' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:280:14: style: Condition 'count++>9' is always false [knownConditionTrueFalse] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:264:12: note: Assuming that condition 'count>9' is not redundant ifmail-2.14tx8.10.orig/ifcico/xmsend.c:280:14: note: Condition 'count++>9' is always false ifmail-2.14tx8.10.orig/ifcico/xmsend.c:371:11: style: Condition 'a<0' is always false [knownConditionTrueFalse] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:370:28: note: Assuming that condition '(a=tty_getc(15))>0' is not redundant ifmail-2.14tx8.10.orig/ifcico/xmsend.c:371:11: note: Condition 'a<0' is always false ifmail-2.14tx8.10.orig/ifcico/xmsend.c:477:29: style: Condition 'count<6' is always true [knownConditionTrueFalse] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:476:10: note: Assignment 'count=0', assigned value is 0 ifmail-2.14tx8.10.orig/ifcico/xmsend.c:480:11: note: Assuming condition is false ifmail-2.14tx8.10.orig/ifcico/xmsend.c:477:29: note: Condition 'count<6' is always true ifmail-2.14tx8.10.orig/ifcico/xmsend.c:138:3: error: Resource leak: fp [resourceLeak] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:143:3: error: Resource leak: fp [resourceLeak] ifmail-2.14tx8.10.orig/ifcico/zmmisc.c:654:16: warning: Either the condition 'c<=22' is redundant or the array 'frametypes[37]' is accessed at index 38, which is out of bounds. [arrayIndexOutOfBoundsCond] ifmail-2.14tx8.10.orig/ifcico/zmmisc.c:652:27: note: Assuming that condition 'c<=22' is not redundant ifmail-2.14tx8.10.orig/ifcico/zmmisc.c:654:16: note: Array index out of bounds ifmail-2.14tx8.10.orig/ifcico/xmsend.c:186:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:228:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:255:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:333:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:366:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:368:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:375:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:394:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:448:1: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ifmail-2.14tx8.10.orig/ifcico/xmsend.c:218:38: style: Checking if unsigned expression 'fread(xmblk.data,1,128,fp)' is less than zero. [unsignedLessThanZero] ifmail-2.14tx8.10.orig/ifcico/zmmisc.c:357:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/zmmisc.c:420:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/zmmisc.c:780:14: style: Variable 'digits' can be declared as const array [constVariable] ifmail-2.14tx8.10.orig/ifcico/zmmisc.c:964:16: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/zmrecv.c:519:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inbound [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/zmrle.c:113:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/zmrecv.c:464:2: warning: %lo in format string (no. 2) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/zmrecv.c:464:2: warning: %o in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/zmrecv.c:366:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/zmrecv.c:446:8: style: Variable 'openmode' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/zmrecv.c:446:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifcico/zmrecv.c:452:11: style: Variable 'openmode' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifcico/zmrecv.c:459:12: style: Variable 'openmode' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifcico/zmsend.c:138:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/zmsend.c:357:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/zmsend.c:473:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/areas.c:111:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/areas.c:335:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/areas.c:336:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/areas.c:337:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/areas.c:346:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/areas.c:72:9: style: Parameter 'e1' can be declared as pointer to const. However it seems that 'cmp_byarea' is a callback function, if 'e1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ifmail-2.14tx8.10.orig/ifgate/areas.c:284:55: note: You might need to cast the function pointer here ifmail-2.14tx8.10.orig/ifgate/areas.c:72:9: note: Parameter 'e1' can be declared as pointer to const ifmail-2.14tx8.10.orig/ifgate/areas.c:72:13: style: Parameter 'e2' can be declared as pointer to const. However it seems that 'cmp_byarea' is a callback function, if 'e2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ifmail-2.14tx8.10.orig/ifgate/areas.c:284:55: note: You might need to cast the function pointer here ifmail-2.14tx8.10.orig/ifgate/areas.c:72:13: note: Parameter 'e2' can be declared as pointer to const ifmail-2.14tx8.10.orig/ifgate/areas.c:78:9: style: Parameter 'e1' can be declared as pointer to const. However it seems that 'cmp_byng' is a callback function, if 'e1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ifmail-2.14tx8.10.orig/ifgate/areas.c:285:49: note: You might need to cast the function pointer here ifmail-2.14tx8.10.orig/ifgate/areas.c:78:9: note: Parameter 'e1' can be declared as pointer to const ifmail-2.14tx8.10.orig/ifgate/areas.c:78:13: style: Parameter 'e2' can be declared as pointer to const. However it seems that 'cmp_byng' is a callback function, if 'e2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ifmail-2.14tx8.10.orig/ifgate/areas.c:285:49: note: You might need to cast the function pointer here ifmail-2.14tx8.10.orig/ifgate/areas.c:78:13: note: Parameter 'e2' can be declared as pointer to const ifmail-2.14tx8.10.orig/ifgate/backalias.c:54:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/backalias.c:55:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/attach.c:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pubdir [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/body.c:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/body.c:111:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/body.c:113:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/body.c:48:6: style: Condition 'needsplit' is always false [knownConditionTrueFalse] ifmail-2.14tx8.10.orig/ifgate/body.c:37:16: note: Assignment 'needsplit=0', assigned value is 0 ifmail-2.14tx8.10.orig/ifgate/body.c:48:6: note: Condition 'needsplit' is always false ifmail-2.14tx8.10.orig/ifgate/body.c:89:12: style: Variable 'splitpart' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifgate/charconv.c:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv.c:87:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_NOTSET [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv.c:386:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_ISO_2022_CN [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv.c:437:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oldfilemap [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv.c:483:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_NOTSET [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv.c:629:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_NOTSET [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:66:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:179:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:333:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:78:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:81:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:84:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:372:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:458:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:485:8: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:579:8: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:273:11: error: Expression '*p++=tolower(*p)' depends on order of evaluation of side effects [unknownEvaluationOrder] ifmail-2.14tx8.10.orig/ifcico/respfreq.c:477:26: style: Variable 'z' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:34:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:78:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:134:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:181:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:240:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:285:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:321:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:355:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:389:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:424:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:463:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_SJIS [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:17:18: style:inconclusive: Function 'zw2gb' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:85:18: note: Function 'zw2gb' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:17:18: note: Function 'zw2gb' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:17:29: style:inconclusive: Function 'zw2gb' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:85:28: note: Function 'zw2gb' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:17:29: note: Function 'zw2gb' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:29:18: style:inconclusive: Function 'zw2hz' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:84:18: note: Function 'zw2hz' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:29:18: note: Function 'zw2hz' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:29:29: style:inconclusive: Function 'zw2hz' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:84:28: note: Function 'zw2hz' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:29:29: note: Function 'zw2hz' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:143:18: style:inconclusive: Function 'hz2gb' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:83:18: note: Function 'hz2gb' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:143:18: note: Function 'hz2gb' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:143:29: style:inconclusive: Function 'hz2gb' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:83:28: note: Function 'hz2gb' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:143:29: note: Function 'hz2gb' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:313:18: style:inconclusive: Function 'gb2hz' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:82:18: note: Function 'gb2hz' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:313:18: note: Function 'gb2hz' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:313:29: style:inconclusive: Function 'gb2hz' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:82:28: note: Function 'gb2hz' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:313:29: note: Function 'gb2hz' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_utf.c:35:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_AUTODETECT [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_utf.c:142:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_AUTODETECT [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_utf.c:33:45: style:inconclusive: Function 'utf7_to_eight' argument 3 names different: declaration 'outcode' definition 'code'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:26:46: note: Function 'utf7_to_eight' argument 3 names different: declaration 'outcode' definition 'code'. ifmail-2.14tx8.10.orig/ifgate/charconv_utf.c:33:45: note: Function 'utf7_to_eight' argument 3 names different: declaration 'outcode' definition 'code'. ifmail-2.14tx8.10.orig/ifgate/charconv_utf.c:140:45: style:inconclusive: Function 'utf8_to_eight' argument 3 names different: declaration 'outcode' definition 'code'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:27:46: note: Function 'utf8_to_eight' argument 3 names different: declaration 'outcode' definition 'code'. ifmail-2.14tx8.10.orig/ifgate/charconv_utf.c:140:45: note: Function 'utf8_to_eight' argument 3 names different: declaration 'outcode' definition 'code'. ifmail-2.14tx8.10.orig/ifgate/flock.c:18:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/getmessage.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:71:24: style:inconclusive: Function 'shift2seven' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:71:24: note: Function 'shift2seven' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:71:24: note: Function 'shift2seven' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:71:35: style:inconclusive: Function 'shift2seven' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:71:34: note: Function 'shift2seven' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:71:35: note: Function 'shift2seven' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:127:22: style:inconclusive: Function 'shift2euc' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:72:22: note: Function 'shift2euc' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:127:22: note: Function 'shift2euc' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:127:33: style:inconclusive: Function 'shift2euc' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:72:32: note: Function 'shift2euc' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:127:33: note: Function 'shift2euc' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:174:22: style:inconclusive: Function 'euc2seven' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:73:22: note: Function 'euc2seven' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:174:22: note: Function 'euc2seven' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:174:33: style:inconclusive: Function 'euc2seven' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:73:32: note: Function 'euc2seven' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:174:33: note: Function 'euc2seven' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:233:22: style:inconclusive: Function 'euc2shift' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:76:22: note: Function 'euc2shift' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:233:22: note: Function 'euc2shift' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:233:33: style:inconclusive: Function 'euc2shift' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:76:32: note: Function 'euc2shift' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:233:33: note: Function 'euc2shift' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:278:20: style:inconclusive: Function 'euc2euc' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:74:20: note: Function 'euc2euc' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:278:20: note: Function 'euc2euc' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:278:31: style:inconclusive: Function 'euc2euc' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:74:30: note: Function 'euc2euc' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:278:31: note: Function 'euc2euc' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:314:24: style:inconclusive: Function 'shift2shift' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:75:24: note: Function 'shift2shift' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:314:24: note: Function 'shift2shift' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:314:35: style:inconclusive: Function 'shift2shift' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:75:34: note: Function 'shift2shift' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:314:35: note: Function 'shift2shift' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:348:24: style:inconclusive: Function 'seven2shift' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:77:24: note: Function 'seven2shift' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:348:24: note: Function 'seven2shift' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:348:35: style:inconclusive: Function 'seven2shift' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:77:34: note: Function 'seven2shift' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:348:35: note: Function 'seven2shift' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:382:22: style:inconclusive: Function 'seven2euc' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:78:22: note: Function 'seven2euc' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:382:22: note: Function 'seven2euc' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:382:34: style:inconclusive: Function 'seven2euc' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:78:32: note: Function 'seven2euc' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:382:34: note: Function 'seven2euc' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:417:24: style:inconclusive: Function 'seven2seven' argument 1 names different: declaration 'in' definition 'src'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:79:24: note: Function 'seven2seven' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:417:24: note: Function 'seven2seven' argument 1 names different: declaration 'in' definition 'src'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:417:35: style:inconclusive: Function 'seven2seven' argument 2 names different: declaration 'out' definition 'dest'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:79:34: note: Function 'seven2seven' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:417:35: note: Function 'seven2seven' argument 2 names different: declaration 'out' definition 'dest'. ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:20:49: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:71:56: style: Parameter 'ki' can be declared as const array [constParameter] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:71:66: style: Parameter 'ko' can be declared as const array [constParameter] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:174:54: style: Parameter 'ki' can be declared as const array [constParameter] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:174:64: style: Parameter 'ko' can be declared as const array [constParameter] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:417:45: style: Parameter 'ki' can be declared as const array [constParameter] ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:417:55: style: Parameter 'ko' can be declared as const array [constParameter] ifmail-2.14tx8.10.orig/ifgate/ifdbm.c:42:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable database [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/ifdbm.c:88:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/ifmail.c:103:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/charconv.c:46:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/charconv.c:47:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/charconv.c:21:26: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifgate/charconv.c:22:22: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifgate/charconv.c:60:63: style:inconclusive: Function 'strnkconv' argument 4 names different: declaration 'maxlen' definition 'n'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:19:63: note: Function 'strnkconv' argument 4 names different: declaration 'maxlen' definition 'n'. ifmail-2.14tx8.10.orig/ifgate/charconv.c:60:63: note: Function 'strnkconv' argument 4 names different: declaration 'maxlen' definition 'n'. ifmail-2.14tx8.10.orig/ifgate/charconv.c:110:18: style:inconclusive: Function 'kconv' argument 1 names different: declaration 'src' definition 'in'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:21:18: note: Function 'kconv' argument 1 names different: declaration 'src' definition 'in'. ifmail-2.14tx8.10.orig/ifgate/charconv.c:110:18: note: Function 'kconv' argument 1 names different: declaration 'src' definition 'in'. ifmail-2.14tx8.10.orig/ifgate/charconv.c:110:29: style:inconclusive: Function 'kconv' argument 2 names different: declaration 'dest' definition 'out'. [funcArgNamesDifferent] ifmail-2.14tx8.10.orig/ifgate/charconv.h:21:30: note: Function 'kconv' argument 2 names different: declaration 'dest' definition 'out'. ifmail-2.14tx8.10.orig/ifgate/charconv.c:110:29: note: Function 'kconv' argument 2 names different: declaration 'dest' definition 'out'. ifmail-2.14tx8.10.orig/ifgate/charconv.c:17:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifgate/charconv.c:422:19: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifgate/charconv.c:479:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifgate/charconv.c:481:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifgate/ifpack.c:76:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/ifpack.c:268:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUT_DIR [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/ifpack.c:92:6: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ifmail-2.14tx8.10.orig/ifgate/ifpack.c:374:7: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ifmail-2.14tx8.10.orig/ifgate/ifpack.c:406:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/ifpack.c:67:13: style: Variable 'ptm' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifgate/ifstat.c:59:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/ifstat.c:120:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUT_PKT [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/ifstat.c:101:3: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ifmail-2.14tx8.10.orig/ifgate/ifstat.c:22:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifgate/ifstat.c:50:8: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifgate/ifstat.c:110:8: style: Parameter 'addr' can be declared as pointer to const. However it seems that 'each' is a callback function, if 'addr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ifmail-2.14tx8.10.orig/ifgate/ifstat.c:70:18: note: You might need to cast the function pointer here ifmail-2.14tx8.10.orig/ifgate/ifstat.c:110:8: note: Parameter 'addr' can be declared as pointer to const ifmail-2.14tx8.10.orig/ifgate/iftoss.c:90:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/iftoss.c:132:7: style: Condition 'rc==4' is always false [knownConditionTrueFalse] ifmail-2.14tx8.10.orig/ifgate/ifunpack.c:83:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/ifunpack.c:194:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/ifunpack.c:222:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/ifmail.c:226:17: style: Redundant condition: secure. '!secure || (secure && chknlent(taddr))' is equivalent to '!secure || chknlent(taddr)' [redundantCondition] ifmail-2.14tx8.10.orig/ifgate/ifmail.c:306:25: style: Variable 'outcode' is reassigned a value before the old one has been used. [redundantAssignment] ifmail-2.14tx8.10.orig/ifgate/ifmail.c:280:19: note: outcode is assigned ifmail-2.14tx8.10.orig/ifgate/ifmail.c:306:25: note: outcode is overwritten ifmail-2.14tx8.10.orig/ifgate/ifunpack.c:110:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ifmail-2.14tx8.10.orig/ifgate/ifunpack.c:134:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ifmail-2.14tx8.10.orig/ifgate/ifunpack.c:274:6: style: Condition 'lockfile' is always true [knownConditionTrueFalse] ifmail-2.14tx8.10.orig/ifgate/message.c:175:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXSUBJ [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/message.c:280:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/mkftnhdr.c:112:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ftnmsgidstyle [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/mkftnhdr.c:252:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ftnmsg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/message.c:570:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] ifmail-2.14tx8.10.orig/ifgate/message.c:264:6: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ifmail-2.14tx8.10.orig/ifgate/message.c:401:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/message.c:402:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/message.c:410:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/message.c:411:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/message.c:960:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/message.c:962:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/message.c:103:38: style: Redundant condition: newsmode. '!newsmode || (newsmode && strstr(msg->val,","))' is equivalent to '!newsmode || strstr(msg->val,",")' [redundantCondition] ifmail-2.14tx8.10.orig/ifgate/message.c:109:19: style: Redundant condition: newsmode. '!newsmode || (newsmode && strstr(msg->val,","))' is equivalent to '!newsmode || strstr(msg->val,",")' [redundantCondition] ifmail-2.14tx8.10.orig/ifgate/message.c:261:13: style: Variable 'ptm' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifgate/message.c:1093:13: style: Variable 'datasize' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:307:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:422:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:423:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:424:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:425:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:449:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:450:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:520:13: portability: Non reentrant function 'tempnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'tempnam_r'. [prohibitedtempnamCalled] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:558:14: portability: Non reentrant function 'tempnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'tempnam_r'. [prohibitedtempnamCalled] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:1218:3: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:339:16: style: Variable 'outcode' is reassigned a value before the old one has been used. [redundantAssignment] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:329:19: note: outcode is assigned ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:339:16: note: outcode is overwritten ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:788:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:806:2: note: Found duplicate branches for 'if' and 'else'. ifmail-2.14tx8.10.orig/ifgate/mkrfcmsg.c:788:7: note: Found duplicate branches for 'if' and 'else'. ifmail-2.14tx8.10.orig/ifcico/hydra.c:502:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/hydra.c:1304:2: warning: %lx in format string (no. 1) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/hydra.c:1304:2: warning: %lx in format string (no. 2) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/hydra.c:1361:4: warning: %lx in format string (no. 2) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/ifcico/hydra.c:105:28: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifcico/hydra.c:498:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifgate/msgflags.c:25:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/msgflags.c:77:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/msgflags.c:103:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifcico/hydra.c:638:36: warning: Uninitialized variable: rxlen [uninitvar] ifmail-2.14tx8.10.orig/ifcico/hydra.c:593:19: note: Assuming condition is false ifmail-2.14tx8.10.orig/ifcico/hydra.c:638:36: note: Uninitialized variable: rxlen ifmail-2.14tx8.10.orig/ifcico/hydra.c:1688:15: style: Variable 'pkttype' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/ifgate/msgidbm.c:164:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opened [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/nlindex.c:52:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nllist [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/rfcmsg.c:58:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rfcmsg [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/nlindex.c:81:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ifmail-2.14tx8.10.orig/ifgate/nlindex.c:46:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/ifgate/rfcmsg.c:184:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/atoul.c:6:7: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifgate/unpacker.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unrar [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/ifgate/unpacker.c:24:3: error: Resource leak: fp [resourceLeak] ifmail-2.14tx8.10.orig/iflib/bwrite.c:32:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/callstat.c:24:3: warning: %u in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/iflib/callstat.c:24:3: warning: %u in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] ifmail-2.14tx8.10.orig/iflib/callstat.c:47:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ifmail-2.14tx8.10.orig/ifgate/mkftnhdr.c:525:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/mkftnhdr.c:526:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/ifgate/mkftnhdr.c:369:18: style: Redundant condition: freename. '!freename || (freename && *freename=='\0')' is equivalent to '!freename || *freename=='\0'' [redundantCondition] ifmail-2.14tx8.10.orig/ifgate/mkftnhdr.c:341:19: warning: Either the condition 'q' is redundant or there is possible null pointer dereference: q. [nullPointerRedundantCheck] ifmail-2.14tx8.10.orig/ifgate/mkftnhdr.c:342:22: note: Assuming that condition 'q' is not redundant ifmail-2.14tx8.10.orig/ifgate/mkftnhdr.c:341:19: note: Null pointer dereference ifmail-2.14tx8.10.orig/iflib/cspace.c:92:7: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/cspace.c:92:12: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/cspace.c:99:7: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/dirent.c:18:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_dirent [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/execsh.c:19:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/dirent.c:14:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/dirent.c:33:33: style: Parameter 'de' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/execsh.c:26:8: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] ifmail-2.14tx8.10.orig/iflib/execsh.c:35:8: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] ifmail-2.14tx8.10.orig/iflib/execsh.c:44:8: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] ifmail-2.14tx8.10.orig/iflib/execute.c:54:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/expipe.c:71:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/expipe.c:126:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/execute.c:51:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/iflib/expipe.c:68:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/iflib/execute.c:52:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/iflib/expipe.c:69:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/iflib/execute.c:61:8: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] ifmail-2.14tx8.10.orig/iflib/execute.c:70:8: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] ifmail-2.14tx8.10.orig/iflib/execute.c:79:8: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] ifmail-2.14tx8.10.orig/ifgate/getmessage.c:308:18: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] ifmail-2.14tx8.10.orig/ifgate/getmessage.c:316:7: note: Assuming that condition 'l' is not redundant ifmail-2.14tx8.10.orig/ifgate/getmessage.c:308:18: note: Null pointer dereference ifmail-2.14tx8.10.orig/ifgate/getmessage.c:310:14: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] ifmail-2.14tx8.10.orig/ifgate/getmessage.c:316:7: note: Assuming that condition 'l' is not redundant ifmail-2.14tx8.10.orig/ifgate/getmessage.c:310:14: note: Null pointer dereference ifmail-2.14tx8.10.orig/ifgate/getmessage.c:103:5: style: Variable 'tmp' is reassigned a value before the old one has been used. [redundantAssignment] ifmail-2.14tx8.10.orig/ifgate/getmessage.c:74:6: note: tmp is assigned ifmail-2.14tx8.10.orig/ifgate/getmessage.c:103:5: note: tmp is overwritten ifmail-2.14tx8.10.orig/ifgate/getmessage.c:54:8: style: Parameter 'p_from' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifgate/getmessage.c:54:16: style: Parameter 'p_to' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/ifgate/getmessage.c:342:23: style: Variable 'maxrc' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/iflib/ftnmsg.c:21:6: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ifmail-2.14tx8.10.orig/iflib/ftnmsg.c:19:13: style: Variable 'ptm' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/falists.c:49:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/iflib/falists.c:51:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/iflib/falists.c:133:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/iflib/falists.c:135:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/iflib/clibrary.h:65:1: error: syntax error: ! typedef [syntaxError] ifmail-2.14tx8.10.orig/iflib/hdr.c:10:7: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/lutil.c:271:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/lutil.c:65:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ifmail-2.14tx8.10.orig/iflib/lutil.c:246:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/lutil.c:257:12: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 255. [shiftTooManyBitsSigned] ifmail-2.14tx8.10.orig/iflib/lutil.c:255:29: note: Assuming that condition 'shift<=32' is not redundant ifmail-2.14tx8.10.orig/iflib/lutil.c:256:13: note: shift is decremented', new value is 31 ifmail-2.14tx8.10.orig/iflib/lutil.c:257:12: note: Shift ifmail-2.14tx8.10.orig/iflib/make_new_ref.c:82:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/make_new_ref.c:68:19: style: Variable 'days' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/iflib/matchaka.c:8:8: style: Parameter 'a1' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/matchaka.c:8:12: style: Parameter 'a2' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/mime.c:221:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/mkdir.c:16:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/mkdir.c:16:3: warning: Return value of function freopen() is not used. [ignoredReturnValue] ifmail-2.14tx8.10.orig/iflib/mkdir.c:17:3: warning: Return value of function freopen() is not used. [ignoredReturnValue] ifmail-2.14tx8.10.orig/iflib/packet.c:149:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/packet.c:252:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/packet.c:171:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ifmail-2.14tx8.10.orig/iflib/packet.c:163:12: warning: Either the condition 'pkt==NULL' is redundant or there is possible null pointer dereference: pkt. [nullPointerRedundantCheck] ifmail-2.14tx8.10.orig/iflib/packet.c:92:10: note: Assuming that condition 'pkt==NULL' is not redundant ifmail-2.14tx8.10.orig/iflib/packet.c:163:12: note: Null pointer dereference ifmail-2.14tx8.10.orig/iflib/packet.c:83:8: style: Local variable 'name' shadows outer variable [shadowVariable] ifmail-2.14tx8.10.orig/iflib/config.h:93:14: note: Shadowed declaration ifmail-2.14tx8.10.orig/iflib/packet.c:83:8: note: Shadow variable ifmail-2.14tx8.10.orig/iflib/packet.c:237:8: style: Local variable 'name' shadows outer variable [shadowVariable] ifmail-2.14tx8.10.orig/iflib/config.h:93:14: note: Shadowed declaration ifmail-2.14tx8.10.orig/iflib/packet.c:237:8: note: Shadow variable ifmail-2.14tx8.10.orig/iflib/pktname.c:163:21: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] ifmail-2.14tx8.10.orig/iflib/pktname.c:176:21: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] ifmail-2.14tx8.10.orig/iflib/pktname.c:189:21: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] ifmail-2.14tx8.10.orig/iflib/pktname.c:202:21: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] ifmail-2.14tx8.10.orig/iflib/pktname.c:236:6: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ifmail-2.14tx8.10.orig/iflib/pktname.c:230:8: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/pktname.c:232:13: style: Variable 'ptm' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/pktname.c:233:9: style: Variable 'bestaka' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/pktname.c:163:27: style: Variable 'flavor' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/iflib/pktname.c:176:27: style: Variable 'flavor' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/iflib/pktname.c:189:27: style: Variable 'flavor' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/iflib/pktname.c:202:27: style: Variable 'flavor' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/iflib/regexpr.c:25:8: style: Variable 'first_unmatched' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/rename.c:5:7: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/rename.c:5:12: style: Parameter 'new' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:312:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:471:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:495:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:513:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:527:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:569:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:580:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:613:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:633:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:649:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:700:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:732:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:761:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:773:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:792:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:807:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:426:18: warning: Return value of function freopen() is not used. [ignoredReturnValue] ifmail-2.14tx8.10.orig/iflib/rdconfig.c:460:7: style: Parameter 'extra' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/rfcdate.c:17:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ifmail-2.14tx8.10.orig/iflib/rfcdate.c:39:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ifmail-2.14tx8.10.orig/iflib/sequencer.c:19:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/setprocn.c:38:7: style: Parameter 'argv' can be declared as const array [constParameter] ifmail-2.14tx8.10.orig/iflib/setprocn.c:39:7: style: Parameter 'envp' can be declared as const array [constParameter] ifmail-2.14tx8.10.orig/iflib/setprocn.c:43:7: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/strcasecmp.c:5:30: debug: Function::addArguments found argument 's2' with varid 0. [varid0] ifmail-2.14tx8.10.orig/iflib/strcasecmp.c:7:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s2 [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/strncasecmp.c:5:30: debug: Function::addArguments found argument 's2' with varid 0. [varid0] ifmail-2.14tx8.10.orig/iflib/strncasecmp.c:8:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s2 [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/strcasestr.c:5:10: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/strcasestr.c:7:11: style: Variable 'max' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/tmpfile.c:11:10: portability: Non reentrant function 'tempnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'tempnam_r'. [prohibitedtempnamCalled] ifmail-2.14tx8.10.orig/iflib/tmpfile.c:8:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/ulock.c:46:0: error: #error Must define ASCII_LOCKFILES or BINARY_LOCKFILES [preprocessorErrorDirective] ifmail-2.14tx8.10.orig/misc/contrib/areafix-0.5.07/areaqueue.c:33:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/xutil.c:19:7: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/xutil.c:30:12: style: Parameter 'add' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/misc/contrib/areafix-0.5.07/areaqueue.c:29:20: error: Undefined behavior: Variable 's1' is used as parameter and destination in sprintf(). [sprintfOverlappingData] ifmail-2.14tx8.10.orig/misc/contrib/fdpass/fdpass.c:23:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/misc/contrib/cutnl-0.1/cutnl.cc:29:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/misc/contrib/cutnl-0.1/cutnl.cc:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/misc/contrib/fdpass/fdpass.c:12:27: style: Parameter 'argv' can be declared as const array [constParameter] ifmail-2.14tx8.10.orig/misc/contrib/iftelnetd/iftelnetd.c:77:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/misc/contrib/iftelnetd/iftelnetd.c:242:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_SYSLOG [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/misc/contrib/iftelnetd/iftelnetd.c:296:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/iflib/ftn.c:122:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/iflib/ftn.c:124:5: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ifmail-2.14tx8.10.orig/iflib/ftn.c:203:17: style: Condition '*q=='.'' is always false [knownConditionTrueFalse] ifmail-2.14tx8.10.orig/iflib/ftn.c:494:8: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/ftn.c:524:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/ftn.c:442:27: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/fidonet.c:30:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/fidonet.c:65:1: portability: Omitted return type of function 'send_mail' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/fidonet.c:99:7: style: Variable 'ppos' is reassigned a value before the old one has been used. [redundantAssignment] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/fidonet.c:96:7: note: ppos is assigned ifmail-2.14tx8.10.orig/misc/contrib/mmdf/fidonet.c:99:7: note: ppos is overwritten ifmail-2.14tx8.10.orig/misc/contrib/mmdf/fidonet.c:109:5: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/fidonet.c:108:5: note: p is assigned ifmail-2.14tx8.10.orig/misc/contrib/mmdf/fidonet.c:109:5: note: p is overwritten ifmail-2.14tx8.10.orig/misc/contrib/mmdf/fidonet.c:65:17: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/fidonet.c:34:5: style: Unused variable: i [unusedVariable] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/fidonet.c:34:7: style: Unused variable: j [unusedVariable] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:21:1: portability: Omitted return type of function 'usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] ifmail-2.14tx8.10.orig/misc/contrib/cutnl-0.1/cutnl.cc:92:10: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:107:13: style: The statement 'if (adrp1!=a[i]) adrp1=a[i]' is logically equivalent to 'adrp1=a[i]'. [duplicateConditionalAssign] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:108:9: note: Assignment 'adrp1=a[i]' ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:107:13: note: Condition 'adrp1!=a[i]' is redundant ifmail-2.14tx8.10.orig/misc/contrib/cutnl-0.1/cutnl.cc:42:9: style: Variable 'zone_to_cut' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/misc/contrib/cutnl-0.1/cutnl.cc:42:23: style: Variable 'region_to_cut' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:35:6: style: Redundant initialization for 'adr2'. The initialized value is overwritten before it is read. [redundantInitialization] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:29:11: note: adr2 is initialized ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:35:6: note: adr2 is overwritten ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:81:11: style: Variable 'routeadr' is reassigned a value before the old one has been used. [redundantAssignment] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:80:11: note: routeadr is assigned ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:81:11: note: routeadr is overwritten ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:91:20: style: Parameter 'adr' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/misc/contrib/cutnl-0.1/cutnl.cc:70:24: style: Variable 'listallmatched' is assigned a value that is never used. [unreadVariable] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:37:13: error: Uninitialized variable: adr2 [uninitvar] ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:29:12: note: Assignment 'adr2=adr1', assigned value is ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:37:13: note: Uninitialized variable: adr2 ifmail-2.14tx8.10.orig/misc/contrib/mmdf/route.c:26:7: style: Unused variable: a1 [unusedVariable] ifmail-2.14tx8.10.orig/misc/contrib/rtscts/rtscts.c:36:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCGETA [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/misc/contrib/tic/crc32.c:24:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/misc/contrib/u-tic/crc.c:75:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/misc/contrib/iftelnetd/iftelnetd.c:164:12: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] ifmail-2.14tx8.10.orig/misc/contrib/iftelnetd/iftelnetd.c:182:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] ifmail-2.14tx8.10.orig/misc/contrib/iftelnetd/iftelnetd.c:266:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/misc/contrib/iftelnetd/iftelnetd.c:338:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/misc/contrib/u-tic/queuemail.c:29:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ifmail-2.14tx8.10.orig/misc/contrib/u-tic/queuemail.c:30:21: error: Undefined behavior: Variable 's1' is used as parameter and destination in sprintf(). [sprintfOverlappingData] ifmail-2.14tx8.10.orig/misc/contrib/u-tic/makeflock.c:57:14: error: Array 'lengths[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] ifmail-2.14tx8.10.orig/misc/contrib/u-tic/makeflock.c:55:12: note: Assuming that condition 'i<4' is not redundant ifmail-2.14tx8.10.orig/misc/contrib/u-tic/makeflock.c:57:14: note: Array index out of bounds ifmail-2.14tx8.10.orig/misc/contrib/u-tic/makeflock.c:58:12: error: Array 'letters[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] ifmail-2.14tx8.10.orig/misc/contrib/u-tic/makeflock.c:55:12: note: Assuming that condition 'i<4' is not redundant ifmail-2.14tx8.10.orig/misc/contrib/u-tic/makeflock.c:58:12: note: Array index out of bounds ifmail-2.14tx8.10.orig/misc/contrib/u-tic/makeflock.c:51:11: style: Variable 'letters' can be declared as const array [constVariable] ifmail-2.14tx8.10.orig/misc/contrib/u-tic/makeflock.c:52:6: style: Variable 'lengths' can be declared as const array [constVariable] ifmail-2.14tx8.10.orig/iflib/charset.c:177:7: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] ifmail-2.14tx8.10.orig/iflib/charset.c:330:8: style: Variable 'akludge' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/charset.c:330:17: style: Variable 'endline' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/charset.c:330:26: style: Variable 'chrs' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/charset.c:346:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ifmail-2.14tx8.10.orig/iflib/charset.c:346:12: style: Variable 'charset' can be declared as pointer to const [constVariablePointer] diff: head ifmail-2.14tx8.10.orig/ifcico/call.c:45:11: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] head ifmail-2.14tx8.10.orig/ifcico/chat.c:140:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/chat.c:189:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/emsidat.c:285:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fa_list [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/filelist.c:322:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/filelist.c:377:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FILELIST [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/hydra.c:105:28: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] head ifmail-2.14tx8.10.orig/ifcico/hydra.c:1729:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_HANDSHAKE [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/hydra.c:461:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_HYDRA [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/hydra.c:633:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_HYDRA [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/ifcico.c:114:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/ifroute.c:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:107:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:143:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable options [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:186:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/mxlookup.c:229:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/nlookup.c:282:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/respfreq.c:476:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_tmpnam [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/respfreq.c:560:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_tmpnam [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/session.c:384:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:184:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwlist [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:413:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable version [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/yoohoo.c:491:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fa_list [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/zmsend.c:357:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifcico/zmsend.c:473:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv.c:386:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_ISO_2022_CN [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv.c:437:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oldfilemap [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv.c:479:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] head ifmail-2.14tx8.10.orig/ifgate/charconv.c:483:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_NOTSET [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv.c:629:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_NOTSET [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv.c:87:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_NOTSET [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:179:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_hz.c:333:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:134:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:181:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:240:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:285:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:321:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:355:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:389:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:424:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:463:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_SJIS [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_jp.c:78:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/charconv_utf.c:142:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHRS_AUTODETECT [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/ifdbm.c:88:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/ifpack.c:268:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUT_DIR [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/ifstat.c:120:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUT_PKT [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/ifstat.c:22:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] head ifmail-2.14tx8.10.orig/ifgate/ifunpack.c:194:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/ifunpack.c:222:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/message.c:280:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/ifgate/mkftnhdr.c:252:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ftnmsg [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/cspace.c:92:12: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] head ifmail-2.14tx8.10.orig/iflib/cspace.c:92:7: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] head ifmail-2.14tx8.10.orig/iflib/cspace.c:99:7: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] head ifmail-2.14tx8.10.orig/iflib/expipe.c:126:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.13.0 ifmail-2.14tx8.10.orig/iflib/lutil.c:257:12: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 255. [shiftTooManyBitsSigned] ifmail-2.14tx8.10.orig/iflib/lutil.c:255:29: note: Assuming that condition 'shift<=32' is not redundant ifmail-2.14tx8.10.orig/iflib/lutil.c:256:13: note: shift is decremented', new value is 31 ifmail-2.14tx8.10.orig/iflib/lutil.c:257:12: note: Shift head ifmail-2.14tx8.10.orig/iflib/lutil.c:257:12: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 255. [shiftTooManyBitsSigned] ifmail-2.14tx8.10.orig/iflib/lutil.c:255:29: note: Assuming that condition 'shift<=32' is not redundant ifmail-2.14tx8.10.orig/iflib/lutil.c:256:13: note: shift is decremented', new value is 31 ifmail-2.14tx8.10.orig/iflib/lutil.c:257:12: note: Shift head ifmail-2.14tx8.10.orig/iflib/packet.c:163:12: warning: Either the condition 'pkt==NULL' is redundant or there is possible null pointer dereference: pkt. [nullPointerRedundantCheck] ifmail-2.14tx8.10.orig/iflib/packet.c:92:10: note: Assuming that condition 'pkt==NULL' is not redundant ifmail-2.14tx8.10.orig/iflib/packet.c:163:12: note: Null pointer dereference head ifmail-2.14tx8.10.orig/iflib/packet.c:252:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:471:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:495:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:513:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:527:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:569:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:580:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:613:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:633:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:649:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:700:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:732:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:761:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:773:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:792:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/rdconfig.c:807:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/iflib/setprocn.c:38:7: style: Parameter 'argv' can be declared as const array [constParameter] head ifmail-2.14tx8.10.orig/iflib/setprocn.c:39:7: style: Parameter 'envp' can be declared as const array [constParameter] head ifmail-2.14tx8.10.orig/iflib/setprocn.c:43:7: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head ifmail-2.14tx8.10.orig/misc/contrib/cutnl-0.1/cutnl.cc:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/misc/contrib/iftelnetd/iftelnetd.c:242:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_SYSLOG [valueFlowBailoutIncompleteVar] head ifmail-2.14tx8.10.orig/misc/contrib/iftelnetd/iftelnetd.c:266:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] head ifmail-2.14tx8.10.orig/misc/contrib/iftelnetd/iftelnetd.c:296:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] DONE