2025-11-26 11:52 ftp://ftp.de.debian.org/debian/pool/main/f/foo2zjs/foo2zjs_20200505dfsg0.orig.tar.xz 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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 9486fde (2025-11-26 08:20:02 +0100) count: 810 803 elapsed-time: 10.6 12.0 head-timing-info: old-timing-info: head results: foo2zjs-20200505dfsg0/arm2hpdl.c:23:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/arm2hpdl.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/arm2hpdl.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/arm2hpdl.c:87:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/command2foo2lava-pjl.c:84:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/command2foo2lava-pjl.c:262:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SC_CMD_GET_BIDI [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/command2foo2lava-pjl.c:468:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SC_CMD_GET_BIDI [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/ddstdecode.c:52:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/ddstdecode.c:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/ddstdecode.c:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/ddstdecode.c:174:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/ddstdecode.c:498:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/arm2hpdl.c:122:35: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/arm2hpdl.c:118:12: note: Assuming allocation function fails foo2zjs-20200505dfsg0/arm2hpdl.c:118:12: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/arm2hpdl.c:122:35: note: Null pointer dereference foo2zjs-20200505dfsg0/arm2hpdl.c:169:9: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/arm2hpdl.c:161:9: note: rc is assigned foo2zjs-20200505dfsg0/arm2hpdl.c:169:9: note: rc is overwritten foo2zjs-20200505dfsg0/arm2hpdl.c:215:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/arm2hpdl.c:169:9: note: rc is assigned foo2zjs-20200505dfsg0/arm2hpdl.c:215:5: note: rc is overwritten foo2zjs-20200505dfsg0/arm2hpdl.c:215:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/arm2hpdl.c:203:9: note: rc is assigned foo2zjs-20200505dfsg0/arm2hpdl.c:215:5: note: rc is overwritten foo2zjs-20200505dfsg0/arm2hpdl.c:68:36: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/arm2hpdl.c:215:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/arm2hpdl.c:224:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/foo2ddst.c:134:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:314:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:326:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:561:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:1010:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:1054:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:1088:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:1107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:1124:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:1206:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:1315:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:1393:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2ddst.c:1424:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/command2foo2lava-pjl.c:66:12: style: Parameter 'argv' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/command2foo2lava-pjl.c:72:17: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/command2foo2lava-pjl.c:316:28: style: Variable 'sindex' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/command2foo2lava-pjl.c:319:9: style: Variable 'sindex' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/foo2hbpl2.c:155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:357:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:369:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:536:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:1049:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:1093:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:1127:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:1146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:1163:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:1249:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:1378:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:1475:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:1506:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:312:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:324:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:575:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:1165:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:1209:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:1243:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:1262:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:1279:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:1365:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:1473:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:1549:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hiperc.c:1580:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/ddstdecode.c:235:37: style: Condition 'startPagestatus==2' is always true [knownConditionTrueFalse] foo2zjs-20200505dfsg0/ddstdecode.c:231:32: note: Assuming that condition 'startPagestatus==2' is not redundant foo2zjs-20200505dfsg0/ddstdecode.c:235:37: note: Condition 'startPagestatus==2' is always true foo2zjs-20200505dfsg0/ddstdecode.c:250:9: style: Condition 'rc==0' is always true [knownConditionTrueFalse] foo2zjs-20200505dfsg0/ddstdecode.c:249:6: note: Assignment 'rc=0', assigned value is 0 foo2zjs-20200505dfsg0/ddstdecode.c:250:9: note: Condition 'rc==0' is always true foo2zjs-20200505dfsg0/ddstdecode.c:109:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/ddstdecode.c:109:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/ddstdecode.c:112:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/ddstdecode.c:173:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/ddstdecode.c:515:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/ddstdecode.c:515:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/ddstdecode.c:520:10: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/ddstdecode.c:173:14: note: Null pointer dereference foo2zjs-20200505dfsg0/ddstdecode.c:179:15: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/ddstdecode.c:515:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/ddstdecode.c:515:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/ddstdecode.c:520:10: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/ddstdecode.c:174:11: note: Assuming condition is false foo2zjs-20200505dfsg0/ddstdecode.c:179:15: note: Null pointer dereference foo2zjs-20200505dfsg0/ddstdecode.c:521:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/ddstdecode.c:515:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/ddstdecode.c:515:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/ddstdecode.c:521:12: note: Null pointer dereference foo2zjs-20200505dfsg0/ddstdecode.c:521:27: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/ddstdecode.c:515:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/ddstdecode.c:515:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/ddstdecode.c:521:27: note: Null pointer dereference foo2zjs-20200505dfsg0/ddstdecode.c:522:26: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/ddstdecode.c:515:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/ddstdecode.c:515:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/ddstdecode.c:522:26: note: Null pointer dereference foo2zjs-20200505dfsg0/ddstdecode.c:264:10: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/ddstdecode.c:263:10: note: rc is assigned foo2zjs-20200505dfsg0/ddstdecode.c:264:10: note: rc is overwritten foo2zjs-20200505dfsg0/ddstdecode.c:372:10: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/ddstdecode.c:371:10: note: rc is assigned foo2zjs-20200505dfsg0/ddstdecode.c:372:10: note: rc is overwritten foo2zjs-20200505dfsg0/ddstdecode.c:210:3: style: Statements following 'break' will never be executed. [unreachableCode] foo2zjs-20200505dfsg0/ddstdecode.c:310:5: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] foo2zjs-20200505dfsg0/ddstdecode.c:268:14: style: Local variable 'len' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/ddstdecode.c:159:10: note: Shadowed declaration foo2zjs-20200505dfsg0/ddstdecode.c:268:14: note: Shadow variable foo2zjs-20200505dfsg0/ddstdecode.c:280:13: style: Local variable 'buf' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/ddstdecode.c:228:16: note: Shadowed declaration foo2zjs-20200505dfsg0/ddstdecode.c:280:13: note: Shadow variable foo2zjs-20200505dfsg0/ddstdecode.c:375:14: style: Local variable 'len' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/ddstdecode.c:159:10: note: Shadowed declaration foo2zjs-20200505dfsg0/ddstdecode.c:375:14: note: Shadow variable foo2zjs-20200505dfsg0/ddstdecode.c:101:25: style: Parameter 'bih' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/ddstdecode.c:156:11: style: Variable 'codestr' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/ddstdecode.c:269:19: style: Variable 'image' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/ddstdecode.c:376:19: style: Variable 'image' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2ddst.c:684:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] foo2zjs-20200505dfsg0/ddstdecode.c:162:18: style: Variable 'bihlen' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/ddstdecode.c:166:19: style: Variable 'totSize' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/ddstdecode.c:290:8: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/ddstdecode.c:395:8: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/foo2ddst.c:412:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2ddst.c:410:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2ddst.c:412:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2ddst.c:631:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *root [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2ddst.c:627:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2ddst.c:627:18: note: Assignment '(*root)=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2ddst.c:631:3: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2ddst.c:667:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2ddst.c:663:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2ddst.c:663:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2ddst.c:666:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2ddst.c:667:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2ddst.c:668:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2ddst.c:663:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2ddst.c:663:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2ddst.c:666:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2ddst.c:668:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2ddst.c:669:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2ddst.c:663:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2ddst.c:663:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2ddst.c:666:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2ddst.c:669:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2ddst.c:1356:12: warning: If memory allocation fails, then there is a possible null pointer dereference: plane [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2ddst.c:1353:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2ddst.c:1353:19: note: Assignment 'plane=malloc(bpl16*h)', assigned value is 0 foo2zjs-20200505dfsg0/foo2ddst.c:1356:12: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2ddst.c:1530:13: warning: If resource allocation fails, then there is a possible null pointer dereference: ifp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2ddst.c:1526:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2ddst.c:1526:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2ddst.c:1530:13: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2ddst.c:583:18: style: Redundant initialization for 'current'. The initialized value is overwritten before it is read. [redundantInitialization] foo2zjs-20200505dfsg0/foo2ddst.c:578:26: note: current is initialized foo2zjs-20200505dfsg0/foo2ddst.c:583:18: note: current is overwritten foo2zjs-20200505dfsg0/foo2ddst.c:914:8: style: Variable 'bpl16' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/foo2ddst.c:913:8: note: bpl16 is assigned foo2zjs-20200505dfsg0/foo2ddst.c:914:8: note: bpl16 is overwritten foo2zjs-20200505dfsg0/foo2ddst.c:1307:8: style: Variable 'bpl16' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/foo2ddst.c:1306:8: note: bpl16 is assigned foo2zjs-20200505dfsg0/foo2ddst.c:1307:8: note: bpl16 is overwritten foo2zjs-20200505dfsg0/foo2ddst.c:1351:11: style: Variable 'bpl16' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/foo2ddst.c:1350:11: note: bpl16 is assigned foo2zjs-20200505dfsg0/foo2ddst.c:1351:11: note: bpl16 is overwritten foo2zjs-20200505dfsg0/foo2ddst.c:290:71: style: Parameter 'mirror' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2ddst.c:404:11: style: Variable 'bih' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2ddst.c:578:18: style: Variable 'current' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2ddst.c:680:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2ddst.c:727:53: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2ddst.c:734:19: style: Variable 'mask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2ddst.c:1227:22: style: Variable 'e' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2ddst.c:582:14: style: Variable 'chainlen' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/foo2ddst.c:585:11: style: Variable 'chainlen' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/foo2ddst.c:1275:17: style: Variable 'bpl16' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/foo2lava.c:164:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:366:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:378:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:609:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:1120:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:1164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:1196:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:1215:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:1232:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:1314:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:1427:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:1509:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:1540:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:332:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:344:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:571:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:1120:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:1164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:1198:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:1217:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:1234:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:1318:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:1424:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:1564:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:1651:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:1689:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hbpl2.c:426:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2hbpl2.c:424:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2hbpl2.c:426:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hbpl2.c:445:28: warning: Either the condition 'root' is redundant or there is possible null pointer dereference: root. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2hbpl2.c:560:9: note: Assuming that condition 'root' is not redundant foo2zjs-20200505dfsg0/foo2hbpl2.c:558:16: note: Calling function 'start_page', 1st argument 'root' value is 0 foo2zjs-20200505dfsg0/foo2hbpl2.c:445:28: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hbpl2.c:455:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2hbpl2.c:453:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2hbpl2.c:455:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hbpl2.c:595:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *root [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hbpl2.c:591:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hbpl2.c:591:18: note: Assignment '(*root)=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hbpl2.c:595:3: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hbpl2.c:631:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hbpl2.c:627:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hbpl2.c:627:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hbpl2.c:630:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2hbpl2.c:631:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hbpl2.c:632:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hbpl2.c:627:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hbpl2.c:627:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hbpl2.c:630:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2hbpl2.c:632:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hbpl2.c:633:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hbpl2.c:627:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hbpl2.c:627:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hbpl2.c:630:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2hbpl2.c:633:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hbpl2.c:1324:12: warning: If memory allocation fails, then there is a possible null pointer dereference: plane [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hbpl2.c:1321:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hbpl2.c:1321:19: note: Assignment 'plane=malloc(bpl16*h)', assigned value is 0 foo2zjs-20200505dfsg0/foo2hbpl2.c:1324:12: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hbpl2.c:1614:13: warning: If resource allocation fails, then there is a possible null pointer dereference: ifp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2hbpl2.c:1610:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hbpl2.c:1610:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2hbpl2.c:1614:13: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hbpl2.c:843:14: style: Local variable 'bpl' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/foo2hbpl2.c:806:9: note: Shadowed declaration foo2zjs-20200505dfsg0/foo2hbpl2.c:843:14: note: Shadow variable foo2zjs-20200505dfsg0/foo2hbpl2.c:843:19: style: Local variable 'bpl16' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/foo2hbpl2.c:806:14: note: Shadowed declaration foo2zjs-20200505dfsg0/foo2hbpl2.c:843:19: note: Shadow variable foo2zjs-20200505dfsg0/foo2hbpl2.c:333:71: style: Parameter 'mirror' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2hbpl2.c:418:16: style: Variable 'current' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2hbpl2.c:682:18: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2hbpl2.c:691:49: style: Parameter 'bitmap' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2hbpl2.c:716:53: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2hbpl2.c:723:19: style: Variable 'mask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2hbpl2.c:1269:22: style: Variable 'e' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2hbpl2.c:1338:17: style: Variable 'bpl16' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/foo2hiperc.c:717:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] foo2zjs-20200505dfsg0/foo2hiperc.c:1653:11: style: Condition '0&&SaveToner' is always false [knownConditionTrueFalse] foo2zjs-20200505dfsg0/foo2hiperc.c:371:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *root [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hiperc.c:367:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hiperc.c:367:18: note: Assignment '(*root)=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hiperc.c:371:3: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hiperc.c:407:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hiperc.c:403:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hiperc.c:403:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hiperc.c:406:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2hiperc.c:407:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hiperc.c:408:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hiperc.c:403:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hiperc.c:403:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hiperc.c:406:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2hiperc.c:408:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hiperc.c:409:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hiperc.c:403:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hiperc.c:403:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hiperc.c:406:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2hiperc.c:409:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hiperc.c:514:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2hiperc.c:512:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2hiperc.c:514:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hiperc.c:1513:12: warning: If memory allocation fails, then there is a possible null pointer dereference: plane [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hiperc.c:1510:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hiperc.c:1510:19: note: Assignment 'plane=malloc(bpl16*h)', assigned value is 0 foo2zjs-20200505dfsg0/foo2hiperc.c:1513:12: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hiperc.c:1683:13: warning: If resource allocation fails, then there is a possible null pointer dereference: ifp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2hiperc.c:1679:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hiperc.c:1679:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2hiperc.c:1683:13: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hiperc.c:288:71: style: Parameter 'mirror' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2hiperc.c:457:14: style: Variable 'current' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2hiperc.c:535:17: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2hiperc.c:613:41: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2hiperc.c:677:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2hiperc.c:679:11: style: Variable 'device_uri' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2hiperc.c:804:53: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2hiperc.c:811:19: style: Variable 'mask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2hiperc.c:1386:22: style: Variable 'e' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2hiperc.c:1434:17: style: Variable 'bpl16' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/foo2oak.c:137:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:245:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:255:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:470:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:1559:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:1603:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:1631:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:1650:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:1684:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:1742:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:1854:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:1874:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:1899:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:346:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:358:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:677:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:1277:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:1323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:1359:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:1378:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:1395:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:1483:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:1596:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:1674:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2qpdl.c:1706:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2lava.c:747:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] foo2zjs-20200505dfsg0/foo2lava.c:420:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2lava.c:418:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2lava.c:420:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2lava.c:531:28: warning: Either the condition 'root' is redundant or there is possible null pointer dereference: root. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2lava.c:645:6: note: Assuming that condition 'root' is not redundant foo2zjs-20200505dfsg0/foo2lava.c:637:16: note: Calling function 'start_page', 1st argument 'root' value is 0 foo2zjs-20200505dfsg0/foo2lava.c:531:28: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2lava.c:539:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2lava.c:537:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2lava.c:539:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2lava.c:692:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *root [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2lava.c:688:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2lava.c:688:18: note: Assignment '(*root)=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2lava.c:692:3: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2lava.c:728:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2lava.c:724:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2lava.c:724:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2lava.c:727:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2lava.c:728:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2lava.c:729:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2lava.c:724:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2lava.c:724:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2lava.c:727:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2lava.c:729:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2lava.c:730:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2lava.c:724:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2lava.c:724:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2lava.c:727:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2lava.c:730:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2lava.c:821:25: warning: If memory allocation fails, then there is a possible null pointer dereference: bitmap [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2lava.c:1470:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2lava.c:1470:19: note: Assignment 'plane=malloc(bpl16*h)', assigned value is 0 foo2zjs-20200505dfsg0/foo2lava.c:1475:14: note: Calling function 'pbm_page', 1st argument 'plane' value is 0 foo2zjs-20200505dfsg0/foo2lava.c:1032:40: note: Calling function 'compute_image_dots', 3rd argument 'buf' value is 0 foo2zjs-20200505dfsg0/foo2lava.c:821:25: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2lava.c:1473:12: warning: If memory allocation fails, then there is a possible null pointer dereference: plane [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2lava.c:1470:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2lava.c:1470:19: note: Assignment 'plane=malloc(bpl16*h)', assigned value is 0 foo2zjs-20200505dfsg0/foo2lava.c:1473:12: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2lava.c:1654:13: warning: If resource allocation fails, then there is a possible null pointer dereference: ifp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2lava.c:1650:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2lava.c:1650:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2lava.c:1654:13: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2lava.c:342:71: style: Parameter 'mirror' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2lava.c:412:16: style: Variable 'next' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2lava.c:740:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2lava.c:804:18: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2lava.c:813:49: style: Parameter 'bitmap' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2lava.c:828:53: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2lava.c:835:19: style: Variable 'mask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2lava.c:1335:22: style: Variable 'e' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2lava.c:1685:25: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] foo2zjs-20200505dfsg0/foo2lava.c:1685:14: error: Uninitialized variable: &media [uninitvar] foo2zjs-20200505dfsg0/foo2lava.c:1383:17: style: Variable 'bpl16' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/foo2slx.c:131:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:310:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:322:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:561:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:998:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:1042:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:1076:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:1095:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:1112:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:1194:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:1307:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:1388:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:1419:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2hp.c:1042:5: warning: Buffer 'bitmaps' is too small, the function 'write_bitmap_page' expects a bigger buffer in 4th argument [argumentSize] foo2zjs-20200505dfsg0/foo2hp.c:1042:5: note: Function 'write_bitmap_page' is called foo2zjs-20200505dfsg0/foo2hp.c:673:56: note: Declaration of 4th function argument. foo2zjs-20200505dfsg0/foo2hp.c:1022:20: note: Passing buffer 'bitmaps' to function that is declared here foo2zjs-20200505dfsg0/foo2hp.c:1042:5: note: Buffer 'bitmaps' is too small, the function 'write_bitmap_page' expects a bigger buffer in 4th argument foo2zjs-20200505dfsg0/foo2hp.c:475:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2hp.c:473:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2hp.c:475:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hp.c:629:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *root [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hp.c:625:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hp.c:625:18: note: Assignment '(*root)=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hp.c:629:3: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hp.c:665:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hp.c:661:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hp.c:661:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hp.c:664:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2hp.c:665:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hp.c:666:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hp.c:661:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hp.c:661:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hp.c:664:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2hp.c:666:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hp.c:667:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hp.c:661:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hp.c:661:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2hp.c:664:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2hp.c:667:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hp.c:1617:12: warning: If memory allocation fails, then there is a possible null pointer dereference: plane [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2hp.c:1614:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hp.c:1614:19: note: Assignment 'plane=malloc(bpl16*h)', assigned value is 0 foo2zjs-20200505dfsg0/foo2hp.c:1617:12: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hp.c:1647:17: warning: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2hp.c:1790:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hp.c:1790:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2hp.c:1793:13: note: Calling function 'do_one', 1st argument 'ifp' value is 0 foo2zjs-20200505dfsg0/foo2hp.c:1647:17: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hp.c:1794:13: warning: If resource allocation fails, then there is a possible null pointer dereference: ifp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2hp.c:1790:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2hp.c:1790:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2hp.c:1794:13: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2hp.c:308:71: style: Parameter 'mirror' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2hp.c:390:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2hp.c:413:66: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2hp.c:466:16: style: Variable 'next' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2hp.c:809:53: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2hp.c:816:19: style: Variable 'mask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2hp.c:1339:22: style: Variable 'e' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2qpdl.c:1186:2: warning: Buffer 'bitmaps' is too small, the function 'write_page_banded' expects a bigger buffer in 2nd argument [argumentSize] foo2zjs-20200505dfsg0/foo2qpdl.c:1186:2: note: Function 'write_page_banded' is called foo2zjs-20200505dfsg0/foo2qpdl.c:708:44: note: Declaration of 2nd function argument. foo2zjs-20200505dfsg0/foo2qpdl.c:1158:20: note: Passing buffer 'bitmaps' to function that is declared here foo2zjs-20200505dfsg0/foo2qpdl.c:1186:2: note: Buffer 'bitmaps' is too small, the function 'write_page_banded' expects a bigger buffer in 2nd argument foo2zjs-20200505dfsg0/foo2qpdl.c:867:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] foo2zjs-20200505dfsg0/foo2qpdl.c:1793:11: style: Condition '0&&SaveToner' is always false [knownConditionTrueFalse] foo2zjs-20200505dfsg0/foo2qpdl.c:427:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *root [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2qpdl.c:423:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2qpdl.c:423:18: note: Assignment '(*root)=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2qpdl.c:427:3: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2qpdl.c:463:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2qpdl.c:459:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2qpdl.c:459:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2qpdl.c:462:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2qpdl.c:463:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2qpdl.c:464:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2qpdl.c:459:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2qpdl.c:459:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2qpdl.c:462:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2qpdl.c:464:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2qpdl.c:465:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2qpdl.c:459:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2qpdl.c:459:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2qpdl.c:462:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2qpdl.c:465:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2qpdl.c:485:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2qpdl.c:483:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2qpdl.c:485:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2qpdl.c:611:28: warning: Either the condition 'root' is redundant or there is possible null pointer dereference: root. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2qpdl.c:812:9: note: Assuming that condition 'root' is not redundant foo2zjs-20200505dfsg0/foo2qpdl.c:810:16: note: Calling function 'start_page', 1st argument 'root' value is 0 foo2zjs-20200505dfsg0/foo2qpdl.c:611:28: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2qpdl.c:620:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2qpdl.c:618:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2qpdl.c:620:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2qpdl.c:777:12: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2qpdl.c:774:10: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2qpdl.c:777:12: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2qpdl.c:1638:12: warning: If memory allocation fails, then there is a possible null pointer dereference: plane [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2qpdl.c:1635:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2qpdl.c:1635:19: note: Assignment 'plane=malloc(bpl16*h)', assigned value is 0 foo2zjs-20200505dfsg0/foo2qpdl.c:1638:12: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2qpdl.c:1823:13: warning: If resource allocation fails, then there is a possible null pointer dereference: ifp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2qpdl.c:1819:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2qpdl.c:1819:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2qpdl.c:1823:13: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2qpdl.c:322:71: style: Parameter 'mirror' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2qpdl.c:369:20: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2qpdl.c:474:16: style: Variable 'next' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2qpdl.c:708:44: style: Parameter 'bm' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/foo2qpdl.c:854:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2qpdl.c:919:53: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2qpdl.c:926:19: style: Variable 'mask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2qpdl.c:1504:22: style: Variable 'e' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2qpdl.c:1554:17: style: Variable 'bpl16' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/foo2xqx.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:317:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:329:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:518:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:952:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:996:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:1030:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:1049:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:1066:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:1148:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:1256:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:1332:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:1363:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2slx.c:444:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2slx.c:442:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2slx.c:444:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2slx.c:496:28: warning: Either the condition 'root' is redundant or there is possible null pointer dereference: root. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2slx.c:580:9: note: Assuming that condition 'root' is not redundant foo2zjs-20200505dfsg0/foo2slx.c:576:16: note: Calling function 'start_page', 1st argument 'root' value is 0 foo2zjs-20200505dfsg0/foo2slx.c:496:28: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2slx.c:505:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2slx.c:503:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2slx.c:505:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2slx.c:613:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *root [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2slx.c:609:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2slx.c:609:18: note: Assignment '(*root)=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2slx.c:613:3: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2slx.c:649:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2slx.c:645:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2slx.c:645:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2slx.c:648:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2slx.c:649:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2slx.c:650:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2slx.c:645:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2slx.c:645:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2slx.c:648:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2slx.c:650:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2slx.c:651:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2slx.c:645:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2slx.c:645:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2slx.c:648:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2slx.c:651:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2slx.c:1352:12: warning: If memory allocation fails, then there is a possible null pointer dereference: plane [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2slx.c:1349:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2slx.c:1349:19: note: Assignment 'plane=malloc(bpl16*h)', assigned value is 0 foo2zjs-20200505dfsg0/foo2slx.c:1352:12: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2slx.c:1525:13: warning: If resource allocation fails, then there is a possible null pointer dereference: ifp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2slx.c:1521:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2slx.c:1521:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2slx.c:1525:13: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2slx.c:1202:7: style: Local variable 'rc' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/foo2slx.c:1136:11: note: Shadowed declaration foo2zjs-20200505dfsg0/foo2slx.c:1202:7: note: Shadow variable foo2zjs-20200505dfsg0/foo2slx.c:286:71: style: Parameter 'mirror' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2slx.c:385:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2slx.c:434:16: style: Variable 'next' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2slx.c:710:53: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2slx.c:717:19: style: Variable 'mask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2slx.c:1216:22: style: Variable 'e' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2zjs.c:164:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:387:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:399:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:688:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:1315:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:1359:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:1393:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:1412:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:1429:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:1519:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:1662:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:1755:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2zjs.c:1786:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/gipddecode.c:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/gipddecode.c:70:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/gipddecode.c:88:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/gipddecode.c:230:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/gipddecode.c:798:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2oak.c:505:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] foo2zjs-20200505dfsg0/foo2oak.c:398:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *root [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2oak.c:394:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2oak.c:394:18: note: Assignment '(*root)=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2oak.c:398:3: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2oak.c:434:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2oak.c:430:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2oak.c:430:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2oak.c:433:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2oak.c:434:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2oak.c:435:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2oak.c:430:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2oak.c:430:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2oak.c:433:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2oak.c:435:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2oak.c:436:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2oak.c:430:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2oak.c:430:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2oak.c:433:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2oak.c:436:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2oak.c:1870:17: warning: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2oak.c:2003:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2oak.c:2003:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2oak.c:2006:13: note: Calling function 'do_one', 1st argument 'ifp' value is 0 foo2zjs-20200505dfsg0/foo2oak.c:1870:17: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2oak.c:2007:13: warning: If resource allocation fails, then there is a possible null pointer dereference: ifp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2oak.c:2003:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2oak.c:2003:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2oak.c:2007:13: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2oak.c:625:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] foo2zjs-20200505dfsg0/foo2oak.c:622:31: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2oak.c:622:14: note: Assignment 'carry1=(double*)calloc(w+2,sizeof(*carry0))', assigned value is 0 foo2zjs-20200505dfsg0/foo2oak.c:625:15: note: Null pointer addition foo2zjs-20200505dfsg0/foo2oak.c:1053:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] foo2zjs-20200505dfsg0/foo2oak.c:1710:14: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2oak.c:1710:14: note: Assignment 'buf=malloc(bpl*h)', assigned value is 0 foo2zjs-20200505dfsg0/foo2oak.c:1718:11: note: Calling function 'pbm_page', 1st argument 'buf' value is 0 foo2zjs-20200505dfsg0/foo2oak.c:1053:19: note: Null pointer addition foo2zjs-20200505dfsg0/foo2oak.c:344:57: style: Parameter 'mirror' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2oak.c:442:38: style: Parameter 'payload' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2oak.c:445:17: style: Variable 'pad' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2oak.c:485:17: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2oak.c:531:53: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2oak.c:538:19: style: Variable 'mask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2oak.c:603:58: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2oak.c:608:19: style: Variable 'ormask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2oak.c:609:19: style: Variable 'andmask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2oak.c:684:56: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2oak.c:690:19: style: Variable 'mask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2oak.c:888:14: style: Variable 'current' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2oak.c:892:15: style: Variable 'pad' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2oak.c:1044:14: style: Variable 'current' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2oak.c:1048:15: style: Variable 'pad' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2oak.c:1208:14: style: Variable 'current' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2oak.c:1212:15: style: Variable 'pad' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2oak.c:1405:14: style: Variable 'current' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2oak.c:1409:15: style: Variable 'pad' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/hbpldecode.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/hbpldecode.c:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/hbpldecode.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/hbpldecode.c:345:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/hbpldecode.c:633:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rotor [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/hbpldecode.c:743:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/hbpldecode.c:835:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/hbpldecode.c:907:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/foo2xqx.c:623:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] foo2zjs-20200505dfsg0/foo2xqx.c:413:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2xqx.c:411:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2xqx.c:413:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2xqx.c:459:28: warning: Either the condition 'root' is redundant or there is possible null pointer dereference: root. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2xqx.c:539:9: note: Assuming that condition 'root' is not redundant foo2zjs-20200505dfsg0/foo2xqx.c:533:16: note: Calling function 'start_page', 1st argument 'root' value is 0 foo2zjs-20200505dfsg0/foo2xqx.c:459:28: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2xqx.c:468:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2xqx.c:466:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2xqx.c:468:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2xqx.c:570:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *root [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2xqx.c:566:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2xqx.c:566:18: note: Assignment '(*root)=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2xqx.c:570:3: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2xqx.c:606:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2xqx.c:602:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2xqx.c:602:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2xqx.c:605:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2xqx.c:606:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2xqx.c:607:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2xqx.c:602:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2xqx.c:602:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2xqx.c:605:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2xqx.c:607:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2xqx.c:608:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2xqx.c:602:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2xqx.c:602:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2xqx.c:605:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2xqx.c:608:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2xqx.c:1296:12: warning: If memory allocation fails, then there is a possible null pointer dereference: plane [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2xqx.c:1293:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2xqx.c:1293:19: note: Assignment 'plane=malloc(bpl16*h)', assigned value is 0 foo2zjs-20200505dfsg0/foo2xqx.c:1296:12: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2xqx.c:1469:13: warning: If resource allocation fails, then there is a possible null pointer dereference: ifp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2xqx.c:1465:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2xqx.c:1465:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2xqx.c:1469:13: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2xqx.c:293:71: style: Parameter 'mirror' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2xqx.c:362:65: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2xqx.c:619:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2xqx.c:670:53: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2xqx.c:677:19: style: Variable 'mask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2xqx.c:1169:22: style: Variable 'e' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2xqx.c:1217:17: style: Variable 'bpl16' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/hipercdecode.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/hipercdecode.c:64:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/hipercdecode.c:82:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/hipercdecode.c:167:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/hipercdecode.c:437:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/gipddecode.c:119:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/gipddecode.c:119:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/gipddecode.c:122:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/gipddecode.c:403:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/gipddecode.c:624:7: portability: %d in format string (no. 2) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/gipddecode.c:626:7: portability: %d in format string (no. 2) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/gipddecode.c:192:37: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/gipddecode.c:821:24: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/gipddecode.c:192:37: note: Null pointer dereference foo2zjs-20200505dfsg0/gipddecode.c:215:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/gipddecode.c:821:24: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/gipddecode.c:215:11: note: Null pointer dereference foo2zjs-20200505dfsg0/gipddecode.c:216:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/gipddecode.c:821:24: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/gipddecode.c:216:12: note: Null pointer dereference foo2zjs-20200505dfsg0/gipddecode.c:822:26: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/gipddecode.c:822:26: note: Null pointer dereference foo2zjs-20200505dfsg0/gipddecode.c:822:41: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/gipddecode.c:822:41: note: Null pointer dereference foo2zjs-20200505dfsg0/gipddecode.c:823:26: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/gipddecode.c:816:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/gipddecode.c:823:26: note: Null pointer dereference foo2zjs-20200505dfsg0/gipddecode.c:434:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/gipddecode.c:269:5: note: rc is assigned foo2zjs-20200505dfsg0/gipddecode.c:434:8: note: rc is overwritten foo2zjs-20200505dfsg0/gipddecode.c:434:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/gipddecode.c:322:6: note: rc is assigned foo2zjs-20200505dfsg0/gipddecode.c:434:8: note: rc is overwritten foo2zjs-20200505dfsg0/gipddecode.c:434:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/gipddecode.c:361:6: note: rc is assigned foo2zjs-20200505dfsg0/gipddecode.c:434:8: note: rc is overwritten foo2zjs-20200505dfsg0/gipddecode.c:434:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/gipddecode.c:383:9: note: rc is assigned foo2zjs-20200505dfsg0/gipddecode.c:434:8: note: rc is overwritten foo2zjs-20200505dfsg0/gipddecode.c:434:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/gipddecode.c:399:6: note: rc is assigned foo2zjs-20200505dfsg0/gipddecode.c:434:8: note: rc is overwritten foo2zjs-20200505dfsg0/gipddecode.c:728:7: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/gipddecode.c:727:7: note: rc is assigned foo2zjs-20200505dfsg0/gipddecode.c:728:7: note: rc is overwritten foo2zjs-20200505dfsg0/gipddecode.c:320:7: style: Local variable 'i' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/gipddecode.c:188:10: note: Shadowed declaration foo2zjs-20200505dfsg0/gipddecode.c:320:7: note: Shadow variable foo2zjs-20200505dfsg0/gipddecode.c:358:7: style: Local variable 'i' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/gipddecode.c:188:10: note: Shadowed declaration foo2zjs-20200505dfsg0/gipddecode.c:358:7: note: Shadow variable foo2zjs-20200505dfsg0/gipddecode.c:397:7: style: Local variable 'i' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/gipddecode.c:188:10: note: Shadowed declaration foo2zjs-20200505dfsg0/gipddecode.c:397:7: note: Shadow variable foo2zjs-20200505dfsg0/gipddecode.c:533:12: style: Local variable 'i' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/gipddecode.c:188:10: note: Shadowed declaration foo2zjs-20200505dfsg0/gipddecode.c:533:12: note: Shadow variable foo2zjs-20200505dfsg0/gipddecode.c:533:15: style: Local variable 'c' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/gipddecode.c:163:10: note: Shadowed declaration foo2zjs-20200505dfsg0/gipddecode.c:533:15: note: Shadow variable foo2zjs-20200505dfsg0/gipddecode.c:717:11: style: Local variable 'c' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/gipddecode.c:163:10: note: Shadowed declaration foo2zjs-20200505dfsg0/gipddecode.c:717:11: note: Shadow variable foo2zjs-20200505dfsg0/gipddecode.c:731:18: style: Local variable 'len' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/gipddecode.c:172:10: note: Shadowed declaration foo2zjs-20200505dfsg0/gipddecode.c:731:18: note: Shadow variable foo2zjs-20200505dfsg0/gipddecode.c:111:25: style: Parameter 'bih' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/gipddecode.c:167:11: style: Variable 'codestr' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/gipddecode.c:359:9: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/gipddecode.c:732:23: style: Variable 'image' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/gipddecode.c:585:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/gipddecode.c:619:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/gipddecode.c:702:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/gipddecode.c:751:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/foo2zjs.c:833:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] foo2zjs-20200505dfsg0/foo2zjs.c:503:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2zjs.c:501:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2zjs.c:503:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2zjs.c:587:28: warning: Either the condition 'root' is redundant or there is possible null pointer dereference: root. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2zjs.c:743:9: note: Assuming that condition 'root' is not redundant foo2zjs-20200505dfsg0/foo2zjs.c:737:16: note: Calling function 'start_page', 1st argument 'root' value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:587:28: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2zjs.c:595:10: warning: Either the condition '!current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/foo2zjs.c:593:9: note: Assuming that condition '!current' is not redundant foo2zjs-20200505dfsg0/foo2zjs.c:595:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2zjs.c:774:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *root [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2zjs.c:770:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2zjs.c:770:18: note: Assignment '(*root)=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:774:3: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2zjs.c:810:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2zjs.c:806:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2zjs.c:806:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:809:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:810:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2zjs.c:811:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2zjs.c:806:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2zjs.c:806:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:809:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:811:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2zjs.c:812:6: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2zjs.c:806:28: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2zjs.c:806:28: note: Assignment 'current->next=malloc(sizeof(struct BIE_CHAIN))', assigned value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:809:23: note: Assignment 'current=current->next', assigned value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:812:6: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2zjs.c:1601:12: warning: If memory allocation fails, then there is a possible null pointer dereference: plane [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/foo2zjs.c:1598:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2zjs.c:1598:19: note: Assignment 'plane=malloc(bpl16*h)', assigned value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:1601:12: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2zjs.c:1692:16: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: tfp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2zjs.c:1689:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2zjs.c:1689:16: note: Assignment 'tfp=tmpfile()', assigned value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:1692:16: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2zjs.c:1693:10: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: tfp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2zjs.c:1689:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2zjs.c:1689:16: note: Assignment 'tfp=tmpfile()', assigned value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:1693:10: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2zjs.c:1902:13: warning: If resource allocation fails, then there is a possible null pointer dereference: ifp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/foo2zjs.c:1898:17: note: Assuming allocation function fails foo2zjs-20200505dfsg0/foo2zjs.c:1898:17: note: Assignment 'ifp=fopen(argv[i],"r")', assigned value is 0 foo2zjs-20200505dfsg0/foo2zjs.c:1902:13: note: Null pointer dereference foo2zjs-20200505dfsg0/foo2zjs.c:363:71: style: Parameter 'mirror' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2zjs.c:445:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2zjs.c:494:16: style: Variable 'next' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2zjs.c:824:18: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/foo2zjs.c:950:49: style: Parameter 'bitmap' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2zjs.c:971:53: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/foo2zjs.c:978:19: style: Variable 'mask' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/foo2zjs.c:1539:22: style: Variable 'e' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/hipercdecode.c:120:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hipercdecode.c:120:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hipercdecode.c:123:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hipercdecode.c:209:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hipercdecode.c:209:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hipercdecode.c:247:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hipercdecode.c:265:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hipercdecode.c:282:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hipercdecode.c:286:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hipercdecode.c:309:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hipercdecode.c:309:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hipercdecode.c:166:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/hipercdecode.c:455:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/hipercdecode.c:455:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/hipercdecode.c:458:13: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/hipercdecode.c:166:14: note: Null pointer dereference foo2zjs-20200505dfsg0/hipercdecode.c:172:15: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/hipercdecode.c:455:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/hipercdecode.c:455:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/hipercdecode.c:458:13: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/hipercdecode.c:167:11: note: Assuming condition is false foo2zjs-20200505dfsg0/hipercdecode.c:172:15: note: Null pointer dereference foo2zjs-20200505dfsg0/hipercdecode.c:367:16: warning: If resource allocation fails, then there is a possible null pointer dereference: dfp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/hipercdecode.c:364:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/hipercdecode.c:364:19: note: Assignment 'dfp=fopen(buf,"w")', assigned value is 0 foo2zjs-20200505dfsg0/hipercdecode.c:367:16: note: Null pointer dereference foo2zjs-20200505dfsg0/hipercdecode.c:368:35: warning: If resource allocation fails, then there is a possible null pointer dereference: dfp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/hipercdecode.c:364:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/hipercdecode.c:364:19: note: Assignment 'dfp=fopen(buf,"w")', assigned value is 0 foo2zjs-20200505dfsg0/hipercdecode.c:368:35: note: Null pointer dereference foo2zjs-20200505dfsg0/hipercdecode.c:369:15: warning: If resource allocation fails, then there is a possible null pointer dereference: dfp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/hipercdecode.c:364:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/hipercdecode.c:364:19: note: Assignment 'dfp=fopen(buf,"w")', assigned value is 0 foo2zjs-20200505dfsg0/hipercdecode.c:369:15: note: Null pointer dereference foo2zjs-20200505dfsg0/hipercdecode.c:459:13: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/hipercdecode.c:455:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/hipercdecode.c:455:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/hipercdecode.c:459:13: note: Null pointer dereference foo2zjs-20200505dfsg0/hipercdecode.c:353:12: style: Local variable 'w' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/hipercdecode.c:164:18: note: Shadowed declaration foo2zjs-20200505dfsg0/hipercdecode.c:353:12: note: Shadow variable foo2zjs-20200505dfsg0/hipercdecode.c:353:15: style: Local variable 'h' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/hipercdecode.c:164:25: note: Shadowed declaration foo2zjs-20200505dfsg0/hipercdecode.c:353:15: note: Shadow variable foo2zjs-20200505dfsg0/hipercdecode.c:106:24: style: Parameter 'buf' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/hipercdecode.c:112:25: style: Parameter 'bih' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/hipercdecode.c:312:11: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1418:14: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized variables: clr.a, clr.b, clr.h, clr.e, clr.H, clr.A, clr.J, clr.Q, clr.s, clr.t, clr.C, clr.M [uninitvar] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:479:29: error: Uninitialized variables: clr.a, clr.b, clr.e, clr.H, clr.A, clr.Q, clr.s, clr.t, clr.M [uninitvar] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.a [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.b [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.h [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.e [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.H [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.A [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.J [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.Q [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.s [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.t [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.C [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:458:22: error: Uninitialized struct member: clr.M [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:479:29: error: Uninitialized struct member: clr.a [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:479:29: error: Uninitialized struct member: clr.b [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:479:29: error: Uninitialized struct member: clr.e [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:479:29: error: Uninitialized struct member: clr.H [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:479:29: error: Uninitialized struct member: clr.A [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:479:29: error: Uninitialized struct member: clr.Q [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:479:29: error: Uninitialized struct member: clr.s [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:479:29: error: Uninitialized struct member: clr.t [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:479:29: error: Uninitialized struct member: clr.M [uninitStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:45:21: style: struct member 'CAM02COLOR::e' is never used. [unusedStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:45:39: style: struct member 'CAM02COLOR::t' is never used. [unusedStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:46:12: style: struct member 'CAM02COLOR::abC' is never used. [unusedStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:47:12: style: struct member 'CAM02COLOR::abs' is never used. [unusedStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam02.c:48:12: style: struct member 'CAM02COLOR::abM' is never used. [unusedStructMember] foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:300:71: style:inconclusive: Function 'cmsCIECAM97sInit' argument 1 names different: declaration 'pVC2' definition 'pVC'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:932:74: note: Function 'cmsCIECAM97sInit' argument 1 names different: declaration 'pVC2' definition 'pVC'. foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:300:71: note: Function 'cmsCIECAM97sInit' argument 1 names different: declaration 'pVC2' definition 'pVC'. foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:465:76: style:inconclusive: Function 'cmsCIECAM97sForward' argument 2 names different: declaration 'pIn' definition 'inPtr'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:934:85: note: Function 'cmsCIECAM97sForward' argument 2 names different: declaration 'pIn' definition 'inPtr'. foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:465:76: note: Function 'cmsCIECAM97sForward' argument 2 names different: declaration 'pIn' definition 'inPtr'. foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:465:92: style:inconclusive: Function 'cmsCIECAM97sForward' argument 3 names different: declaration 'pOut' definition 'outPtr'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:934:99: note: Function 'cmsCIECAM97sForward' argument 3 names different: declaration 'pOut' definition 'outPtr'. foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:465:92: note: Function 'cmsCIECAM97sForward' argument 3 names different: declaration 'pOut' definition 'outPtr'. foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:559:73: style:inconclusive: Function 'cmsCIECAM97sReverse' argument 2 names different: declaration 'pIn' definition 'inPtr'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:935:82: note: Function 'cmsCIECAM97sReverse' argument 2 names different: declaration 'pIn' definition 'inPtr'. foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:559:73: note: Function 'cmsCIECAM97sReverse' argument 2 names different: declaration 'pIn' definition 'inPtr'. foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:559:92: style:inconclusive: Function 'cmsCIECAM97sReverse' argument 3 names different: declaration 'pOut' definition 'outPtr'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:935:102: note: Function 'cmsCIECAM97sReverse' argument 3 names different: declaration 'pOut' definition 'outPtr'. foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:559:92: note: Function 'cmsCIECAM97sReverse' argument 3 names different: declaration 'pOut' definition 'outPtr'. foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:252:14: style: Variable 'e_tab' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/icc2ps/cmscam97.c:253:14: style: Variable 'H_tab' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/hbpldecode.c:187:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hbpldecode.c:187:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hbpldecode.c:190:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/hbpldecode.c:386:17: warning: If memory allocation fails, then there is a possible null pointer dereference: mbuf [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/hbpldecode.c:383:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/hbpldecode.c:383:19: note: Assignment 'mbuf=malloc(len)', assigned value is 0 foo2zjs-20200505dfsg0/hbpldecode.c:386:17: note: Null pointer dereference foo2zjs-20200505dfsg0/hbpldecode.c:834:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/hbpldecode.c:925:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/hbpldecode.c:925:19: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/hbpldecode.c:928:16: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/hbpldecode.c:834:14: note: Null pointer dereference foo2zjs-20200505dfsg0/hbpldecode.c:840:15: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/hbpldecode.c:925:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/hbpldecode.c:925:19: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/hbpldecode.c:928:16: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/hbpldecode.c:835:11: note: Assuming condition is false foo2zjs-20200505dfsg0/hbpldecode.c:840:15: note: Null pointer dereference foo2zjs-20200505dfsg0/hbpldecode.c:929:16: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/hbpldecode.c:925:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/hbpldecode.c:925:19: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/hbpldecode.c:929:16: note: Null pointer dereference foo2zjs-20200505dfsg0/icc2ps/cmscnvrt.c:559:23: style:inconclusive: Function 'cmsChooseCnvrt' argument 12 names different: declaration 'DoBPC' definition 'DoBlackPointCompensation'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1992:22: note: Function 'cmsChooseCnvrt' argument 12 names different: declaration 'DoBPC' definition 'DoBlackPointCompensation'. foo2zjs-20200505dfsg0/icc2ps/cmscnvrt.c:559:23: note: Function 'cmsChooseCnvrt' argument 12 names different: declaration 'DoBPC' definition 'DoBlackPointCompensation'. foo2zjs-20200505dfsg0/hbpldecode.c:659:12: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/hbpldecode.c:638:7: note: r is assigned foo2zjs-20200505dfsg0/hbpldecode.c:659:12: note: r is overwritten foo2zjs-20200505dfsg0/hbpldecode.c:118:38: style: Parameter 'lbl1' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/hbpldecode.c:118:50: style: Parameter 'lbln' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/hbpldecode.c:167:26: style: Parameter 'buf' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/hbpldecode.c:173:25: style: Parameter 'buf' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/hbpldecode.c:179:25: style: Parameter 'bih' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/hbpldecode.c:227:20: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/hbpldecode.c:233:21: style: Variable 'image' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/hbpldecode.c:628:25: style: Variable 'stop' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/hbpldecode.c:259:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/icc2ps/cmserr.c:82:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/icc2ps/cmsgamma.c:154:51: style:inconclusive: Function 'cmsDupGamma' argument 1 names different: declaration 'Src' definition 'In'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:953:59: note: Function 'cmsDupGamma' argument 1 names different: declaration 'Src' definition 'In'. foo2zjs-20200505dfsg0/icc2ps/cmsgamma.c:154:51: note: Function 'cmsDupGamma' argument 1 names different: declaration 'Src' definition 'In'. foo2zjs-20200505dfsg0/icc2ps/cmsgamma.c:570:45: style:inconclusive: Function 'cmsEstimateGammaEx' argument 1 names different: declaration 'Table' definition 'GammaTable'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:959:60: note: Function 'cmsEstimateGammaEx' argument 1 names different: declaration 'Table' definition 'GammaTable'. foo2zjs-20200505dfsg0/icc2ps/cmsgamma.c:570:45: note: Function 'cmsEstimateGammaEx' argument 1 names different: declaration 'Table' definition 'GammaTable'. foo2zjs-20200505dfsg0/icc2ps/cmsgamma.c:713:59: style:inconclusive: Function 'cmsSmoothSampledCurve' argument 2 names different: declaration 'SmoothingLambda' definition 'lambda'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1709:71: note: Function 'cmsSmoothSampledCurve' argument 2 names different: declaration 'SmoothingLambda' definition 'lambda'. foo2zjs-20200505dfsg0/icc2ps/cmsgamma.c:713:59: note: Function 'cmsSmoothSampledCurve' argument 2 names different: declaration 'SmoothingLambda' definition 'lambda'. foo2zjs-20200505dfsg0/icc2ps/cmsgamma.c:287:80: style: Parameter 'Params' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/icc2ps/cmsgamma.c:292:13: style: Variable 'ParamsByType' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/icc2ps/cmsgmt.c:1164:9: style: The if condition is the same as the previous if condition [duplicateCondition] foo2zjs-20200505dfsg0/icc2ps/cmsgmt.c:1158:9: note: First condition foo2zjs-20200505dfsg0/icc2ps/cmsgmt.c:1164:9: note: Second condition foo2zjs-20200505dfsg0/icc2ps/cmsgmt.c:94:20: style: Variable 'Default' is not assigned a value. [unassignedVariable] foo2zjs-20200505dfsg0/icc2ps/cmsgmt.c:703:9: style: Variable 'dE1' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/icc2ps/cmsgmt.c:704:9: style: Variable 'dE2' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/icc2ps/cmsgmt.c:705:16: style: Variable 'ErrorRatio' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1535:9: style: The if condition is the same as the previous if condition [duplicateCondition] foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1532:9: note: First condition foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1535:9: note: Second condition foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1892:21: style: Condition 'it8->sy!=SEND_DATA' is always true [knownConditionTrueFalse] foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1892:45: style: Condition 'it8->sy!=SEOF' is always true [knownConditionTrueFalse] foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1008:39: style:inconclusive: Function 'cmsIT8Free' argument 1 names different: declaration 'IT8' definition 'hIT8'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1265:58: note: Function 'cmsIT8Free' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1008:39: note: Function 'cmsIT8Free' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1330:67: style:inconclusive: Function 'cmsIT8SetComment' argument 2 names different: declaration 'cComment' definition 'Val'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1282:82: note: Function 'cmsIT8SetComment' argument 2 names different: declaration 'cComment' definition 'Val'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1330:67: note: Function 'cmsIT8SetComment' argument 2 names different: declaration 'cComment' definition 'Val'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1343:71: style:inconclusive: Function 'cmsIT8SetPropertyStr' argument 2 names different: declaration 'cProp' definition 'Key'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1284:86: note: Function 'cmsIT8SetPropertyStr' argument 2 names different: declaration 'cProp' definition 'Key'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1343:71: note: Function 'cmsIT8SetPropertyStr' argument 2 names different: declaration 'cProp' definition 'Key'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1343:88: style:inconclusive: Function 'cmsIT8SetPropertyStr' argument 3 names different: declaration 'Str' definition 'Val'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1284:105: note: Function 'cmsIT8SetPropertyStr' argument 3 names different: declaration 'Str' definition 'Val'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1343:88: note: Function 'cmsIT8SetPropertyStr' argument 3 names different: declaration 'Str' definition 'Val'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1381:73: style:inconclusive: Function 'cmsIT8SetPropertyMulti' argument 2 names different: declaration 'cProp' definition 'Key'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1287:88: note: Function 'cmsIT8SetPropertyMulti' argument 2 names different: declaration 'cProp' definition 'Key'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1381:73: note: Function 'cmsIT8SetPropertyMulti' argument 2 names different: declaration 'cProp' definition 'Key'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1381:90: style:inconclusive: Function 'cmsIT8SetPropertyMulti' argument 3 names different: declaration 'cSubProp' definition 'SubKey'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1287:107: note: Function 'cmsIT8SetPropertyMulti' argument 3 names different: declaration 'cSubProp' definition 'SubKey'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1381:90: note: Function 'cmsIT8SetPropertyMulti' argument 3 names different: declaration 'cSubProp' definition 'SubKey'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1381:110: style:inconclusive: Function 'cmsIT8SetPropertyMulti' argument 4 names different: declaration 'Val' definition 'Buffer'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1287:129: note: Function 'cmsIT8SetPropertyMulti' argument 4 names different: declaration 'Val' definition 'Buffer'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1381:110: note: Function 'cmsIT8SetPropertyMulti' argument 4 names different: declaration 'Val' definition 'Buffer'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1389:71: style:inconclusive: Function 'cmsIT8GetProperty' argument 2 names different: declaration 'cProp' definition 'Key'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1291:83: note: Function 'cmsIT8GetProperty' argument 2 names different: declaration 'cProp' definition 'Key'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1389:71: note: Function 'cmsIT8GetProperty' argument 2 names different: declaration 'cProp' definition 'Key'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1410:76: style:inconclusive: Function 'cmsIT8GetPropertyMulti' argument 2 names different: declaration 'cProp' definition 'Key'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1293:88: note: Function 'cmsIT8GetPropertyMulti' argument 2 names different: declaration 'cProp' definition 'Key'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1410:76: note: Function 'cmsIT8GetPropertyMulti' argument 2 names different: declaration 'cProp' definition 'Key'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1410:93: style:inconclusive: Function 'cmsIT8GetPropertyMulti' argument 3 names different: declaration 'cSubProp' definition 'SubKey'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1293:107: note: Function 'cmsIT8GetPropertyMulti' argument 3 names different: declaration 'cSubProp' definition 'SubKey'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1410:93: note: Function 'cmsIT8GetPropertyMulti' argument 3 names different: declaration 'cSubProp' definition 'SubKey'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1488:52: style:inconclusive: Function 'cmsIT8SetDataFormat' argument 1 names different: declaration 'IT8' definition 'h'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1322:67: note: Function 'cmsIT8SetDataFormat' argument 1 names different: declaration 'IT8' definition 'h'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1488:52: note: Function 'cmsIT8SetDataFormat' argument 1 names different: declaration 'IT8' definition 'h'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1759:49: style:inconclusive: Function 'cmsIT8SaveToFile' argument 1 names different: declaration 'IT8' definition 'hIT8'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1275:64: note: Function 'cmsIT8SaveToFile' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1759:49: note: Function 'cmsIT8SaveToFile' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2336:48: style:inconclusive: Function 'cmsIT8EnumDataFormat' argument 1 names different: declaration 'IT8' definition 'hIT8'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1323:68: note: Function 'cmsIT8EnumDataFormat' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2336:48: note: Function 'cmsIT8EnumDataFormat' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2480:55: style:inconclusive: Function 'cmsIT8GetDataRowCol' argument 1 names different: declaration 'IT8' definition 'hIT8'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1299:67: note: Function 'cmsIT8GetDataRowCol' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2480:55: note: Function 'cmsIT8GetDataRowCol' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2488:53: style:inconclusive: Function 'cmsIT8GetDataRowColDbl' argument 1 names different: declaration 'IT8' definition 'hIT8'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1300:70: note: Function 'cmsIT8GetDataRowColDbl' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2488:53: note: Function 'cmsIT8GetDataRowColDbl' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2524:49: style:inconclusive: Function 'cmsIT8GetData' argument 1 names different: declaration 'IT8' definition 'hIT8'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1308:61: note: Function 'cmsIT8GetData' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2524:49: note: Function 'cmsIT8GetData' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2545:47: style:inconclusive: Function 'cmsIT8GetDataDbl' argument 1 names different: declaration 'IT8' definition 'it8'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1311:64: note: Function 'cmsIT8GetDataDbl' argument 1 names different: declaration 'IT8' definition 'it8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2545:47: note: Function 'cmsIT8GetDataDbl' argument 1 names different: declaration 'IT8' definition 'it8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2563:46: style:inconclusive: Function 'cmsIT8SetData' argument 1 names different: declaration 'IT8' definition 'hIT8'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1313:61: note: Function 'cmsIT8SetData' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2563:46: note: Function 'cmsIT8SetData' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2636:66: style:inconclusive: Function 'cmsIT8GetPatchByName' argument 2 names different: declaration 'cSample' definition 'cPatch'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1327:86: note: Function 'cmsIT8GetPatchByName' argument 2 names different: declaration 'cSample' definition 'cPatch'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2636:66: note: Function 'cmsIT8GetPatchByName' argument 2 names different: declaration 'cSample' definition 'cPatch'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2641:44: style:inconclusive: Function 'cmsIT8TableCount' argument 1 names different: declaration 'IT8' definition 'hIT8'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1269:64: note: Function 'cmsIT8TableCount' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2641:44: note: Function 'cmsIT8TableCount' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2694:50: style:inconclusive: Function 'cmsIT8DefineDblFormat' argument 1 names different: declaration 'IT8' definition 'hIT8'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1336:69: note: Function 'cmsIT8DefineDblFormat' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2694:50: note: Function 'cmsIT8DefineDblFormat' argument 1 names different: declaration 'IT8' definition 'hIT8'. foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:1734:28: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2096:11: style: Variable 'Fld' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2149:35: style: Variable 'Label' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmscgats.c:2168:47: style: Variable 'Type' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmsio0.c:689:102: style:inconclusive: Function '_cmsAddSequenceDescriptionTag' argument 3 names different: declaration 'PSeq' definition 'pseq'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1365:115: note: Function '_cmsAddSequenceDescriptionTag' argument 3 names different: declaration 'PSeq' definition 'pseq'. foo2zjs-20200505dfsg0/icc2ps/cmsio0.c:689:102: note: Function '_cmsAddSequenceDescriptionTag' argument 3 names different: declaration 'PSeq' definition 'pseq'. foo2zjs-20200505dfsg0/icc2ps/cmsio0.c:130:14: style: Variable 'ResData' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmsio0.c:139:78: style: Parameter 'Ptr' can be declared as pointer to const. However it seems that 'MemoryWrite' is a callback function, if 'Ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] foo2zjs-20200505dfsg0/icc2ps/cmsio0.c:460:19: note: You might need to cast the function pointer here foo2zjs-20200505dfsg0/icc2ps/cmsio0.c:139:78: note: Parameter 'Ptr' can be declared as pointer to const foo2zjs-20200505dfsg0/icc2ps/cmsio0.c:708:93: style: Parameter 'DateTime' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:99:8: warning: Either the condition 'NewMatShaper' is redundant or there is possible null pointer dereference: NewMatShaper. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:96:12: note: Assuming that condition 'NewMatShaper' is not redundant foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:99:8: note: Null pointer dereference foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:157:8: warning: Either the condition 'NewMatShaper' is redundant or there is possible null pointer dereference: NewMatShaper. [nullPointerRedundantCheck] foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:154:12: note: Assuming that condition 'NewMatShaper' is not redundant foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:157:8: note: Null pointer dereference foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:90:39: style:inconclusive: Function 'cmsAllocMatShaper2' argument 1 names different: declaration 'matrix' definition 'Matrix'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1738:45: note: Function 'cmsAllocMatShaper2' argument 1 names different: declaration 'matrix' definition 'Matrix'. foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:90:39: note: Function 'cmsAllocMatShaper2' argument 1 names different: declaration 'matrix' definition 'Matrix'. foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:142:38: style:inconclusive: Function 'cmsAllocMatShaper' argument 1 names different: declaration 'matrix' definition 'Matrix'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1737:44: note: Function 'cmsAllocMatShaper' argument 1 names different: declaration 'matrix' definition 'Matrix'. foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:142:38: note: Function 'cmsAllocMatShaper' argument 1 names different: declaration 'matrix' definition 'Matrix'. foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:142:59: style:inconclusive: Function 'cmsAllocMatShaper' argument 2 names different: declaration 'Shaper' definition 'Tables'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1737:65: note: Function 'cmsAllocMatShaper' argument 2 names different: declaration 'Shaper' definition 'Tables'. foo2zjs-20200505dfsg0/icc2ps/cmsmatsh.c:142:59: note: Function 'cmsAllocMatShaper' argument 2 names different: declaration 'Shaper' definition 'Tables'. foo2zjs-20200505dfsg0/icc2ps/cmslut.c:217:39: style:inconclusive: Function 'cmsAlloc3DGrid' argument 1 names different: declaration 'Lut' definition 'NewLUT'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1226:48: note: Function 'cmsAlloc3DGrid' argument 1 names different: declaration 'Lut' definition 'NewLUT'. foo2zjs-20200505dfsg0/icc2ps/cmslut.c:217:39: note: Function 'cmsAlloc3DGrid' argument 1 names different: declaration 'Lut' definition 'NewLUT'. foo2zjs-20200505dfsg0/icc2ps/cmsnamed.c:91:48: style:inconclusive: Function 'cmsFreeNamedColorList' argument 1 names different: declaration 'List' definition 'v'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1769:70: note: Function 'cmsFreeNamedColorList' argument 1 names different: declaration 'List' definition 'v'. foo2zjs-20200505dfsg0/icc2ps/cmsnamed.c:91:48: note: Function 'cmsFreeNamedColorList' argument 1 names different: declaration 'List' definition 'v'. foo2zjs-20200505dfsg0/icc2ps/cmspack.c:489:22: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:522:22: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:550:20: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:583:20: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:616:20: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:1376:23: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:1405:23: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:1428:20: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:1458:20: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:2137:47: style:inconclusive: Function 'cmsChangeBuffersFormat' argument 2 names different: declaration 'InputFormat' definition 'dwInputFormat'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1129:88: note: Function 'cmsChangeBuffersFormat' argument 2 names different: declaration 'InputFormat' definition 'dwInputFormat'. foo2zjs-20200505dfsg0/icc2ps/cmspack.c:2137:47: note: Function 'cmsChangeBuffersFormat' argument 2 names different: declaration 'InputFormat' definition 'dwInputFormat'. foo2zjs-20200505dfsg0/icc2ps/cmspcs.c:427:68: style:inconclusive: Function 'cmsFloat2LabEncoded' argument 2 names different: declaration 'Lab' definition 'fLab'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1352:85: note: Function 'cmsFloat2LabEncoded' argument 2 names different: declaration 'Lab' definition 'fLab'. foo2zjs-20200505dfsg0/icc2ps/cmspcs.c:427:68: note: Function 'cmsFloat2LabEncoded' argument 2 names different: declaration 'Lab' definition 'fLab'. foo2zjs-20200505dfsg0/icc2ps/cmspcs.c:442:69: style:inconclusive: Function 'cmsFloat2LabEncoded4' argument 2 names different: declaration 'Lab' definition 'fLab'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1353:86: note: Function 'cmsFloat2LabEncoded4' argument 2 names different: declaration 'Lab' definition 'fLab'. foo2zjs-20200505dfsg0/icc2ps/cmspcs.c:442:69: note: Function 'cmsFloat2LabEncoded4' argument 2 names different: declaration 'Lab' definition 'fLab'. foo2zjs-20200505dfsg0/icc2ps/cmspcs.c:590:49: style:inconclusive: Function 'cmsXYZEncoded2Float' argument 1 names different: declaration 'fxyz' definition 'fXYZ'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1354:66: note: Function 'cmsXYZEncoded2Float' argument 1 names different: declaration 'fxyz' definition 'fXYZ'. foo2zjs-20200505dfsg0/icc2ps/cmspcs.c:590:49: note: Function 'cmsXYZEncoded2Float' argument 1 names different: declaration 'fxyz' definition 'fXYZ'. foo2zjs-20200505dfsg0/icc2ps/cmspack.c:489:17: style: Variable 'Pt' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:522:17: style: Variable 'Pt' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:550:13: style: Variable 'Inks' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:583:13: style: Variable 'Inks' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmspack.c:616:13: style: Variable 'Inks' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:3067:21: warning:inconclusive: The buffer 'root' may not be null-terminated after the call to strncpy(). [terminateStrncpy] foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:2682:43: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:2039:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:1637:21: style: Checking if unsigned expression 'Len' is less than zero. [unsignedLessThanZero] foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:1668:81: style:inconclusive: Function 'cmsReadICCTextEx' argument 3 names different: declaration 'Text' definition 'Name'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:989:99: note: Function 'cmsReadICCTextEx' argument 3 names different: declaration 'Text' definition 'Name'. foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:1668:81: note: Function 'cmsReadICCTextEx' argument 3 names different: declaration 'Text' definition 'Name'. foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:1668:94: style:inconclusive: Function 'cmsReadICCTextEx' argument 4 names different: declaration 'size' definition 'size_max'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:989:112: note: Function 'cmsReadICCTextEx' argument 4 names different: declaration 'size' definition 'size_max'. foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:1668:94: note: Function 'cmsReadICCTextEx' argument 4 names different: declaration 'size' definition 'size_max'. foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:2552:59: style:inconclusive: Function 'cmsOpenProfileFromFile' argument 1 names different: declaration 'ICCProfile' definition 'lpFileName'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:837:69: note: Function 'cmsOpenProfileFromFile' argument 1 names different: declaration 'ICCProfile' definition 'lpFileName'. foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:2552:59: note: Function 'cmsOpenProfileFromFile' argument 1 names different: declaration 'ICCProfile' definition 'lpFileName'. foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:3540:85: style:inconclusive: Function 'cmsAddTag' argument 3 names different: declaration 'data' definition 'Tag'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1179:93: note: Function 'cmsAddTag' argument 3 names different: declaration 'data' definition 'Tag'. foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:3540:85: note: Function 'cmsAddTag' argument 3 names different: declaration 'data' definition 'Tag'. foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:676:20: style: Local variable 'j' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:482:21: note: Shadowed declaration foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:676:20: note: Shadow variable foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:56:25: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:929:16: style: Variable 'ParamsByType' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:1037:16: style: Variable 'ParamsByType' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:1936:60: style: Parameter 'nc2' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/icc2ps/cmsio1.c:2824:9: style: Variable 'ParamsByType' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/icc2ps/cmssamp.c:373:11: style: Variable 'Error' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/icc2ps/cmsps2.c:1068:20: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/icc2ps/cmsps2.c:1071:20: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/icc2ps/cmswtpnt.c:116:73: style:inconclusive: Function 'cmsBuildRGB2XYZtransferMatrix' argument 2 names different: declaration 'WhitePoint' definition 'WhitePt'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:904:69: note: Function 'cmsBuildRGB2XYZtransferMatrix' argument 2 names different: declaration 'WhitePoint' definition 'WhitePt'. foo2zjs-20200505dfsg0/icc2ps/cmswtpnt.c:116:73: note: Function 'cmsBuildRGB2XYZtransferMatrix' argument 2 names different: declaration 'WhitePoint' definition 'WhitePt'. foo2zjs-20200505dfsg0/icc2ps/cmswtpnt.c:117:63: style:inconclusive: Function 'cmsBuildRGB2XYZtransferMatrix' argument 3 names different: declaration 'Primaries' definition 'Primrs'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:905:75: note: Function 'cmsBuildRGB2XYZtransferMatrix' argument 3 names different: declaration 'Primaries' definition 'Primrs'. foo2zjs-20200505dfsg0/icc2ps/cmswtpnt.c:117:63: note: Function 'cmsBuildRGB2XYZtransferMatrix' argument 3 names different: declaration 'Primaries' definition 'Primrs'. foo2zjs-20200505dfsg0/icc2ps/icc2ps.c:56:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/icc2ps/icc2ps.c:71:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/icc2ps/icc2ps.c:131:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/icc2ps/icc2ps.c:236:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/icc2ps/xgetopt.c:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/icc2ps/xgetopt.c:26:43: style: Parameter 'optionS' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/icc2ps/xgetopt.c:29:11: style: Variable 'optP' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1334:65: style:inconclusive: Function 'cmsCreateProofingTransform' argument 1 names different: declaration 'Input' definition 'InputProfile'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1106:73: note: Function 'cmsCreateProofingTransform' argument 1 names different: declaration 'Input' definition 'InputProfile'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1334:65: note: Function 'cmsCreateProofingTransform' argument 1 names different: declaration 'Input' definition 'InputProfile'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1336:60: style:inconclusive: Function 'cmsCreateProofingTransform' argument 3 names different: declaration 'Output' definition 'OutputProfile'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1108:60: note: Function 'cmsCreateProofingTransform' argument 3 names different: declaration 'Output' definition 'OutputProfile'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1336:60: note: Function 'cmsCreateProofingTransform' argument 3 names different: declaration 'Output' definition 'OutputProfile'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1338:60: style:inconclusive: Function 'cmsCreateProofingTransform' argument 5 names different: declaration 'Proofing' definition 'ProofingProfile'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1110:60: note: Function 'cmsCreateProofingTransform' argument 5 names different: declaration 'Proofing' definition 'ProofingProfile'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1338:60: note: Function 'cmsCreateProofingTransform' argument 5 names different: declaration 'Proofing' definition 'ProofingProfile'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1339:52: style:inconclusive: Function 'cmsCreateProofingTransform' argument 6 names different: declaration 'Intent' definition 'nIntent'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1111:52: note: Function 'cmsCreateProofingTransform' argument 6 names different: declaration 'Intent' definition 'nIntent'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1339:52: note: Function 'cmsCreateProofingTransform' argument 6 names different: declaration 'Intent' definition 'nIntent'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1772:71: style:inconclusive: Function 'cmsCreateMultiprofileTransform' argument 3 names different: declaration 'InputFormat' definition 'dwInput'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1117:71: note: Function 'cmsCreateMultiprofileTransform' argument 3 names different: declaration 'InputFormat' definition 'dwInput'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1772:71: note: Function 'cmsCreateMultiprofileTransform' argument 3 names different: declaration 'InputFormat' definition 'dwInput'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1773:71: style:inconclusive: Function 'cmsCreateMultiprofileTransform' argument 4 names different: declaration 'OutputFormat' definition 'dwOutput'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1118:71: note: Function 'cmsCreateMultiprofileTransform' argument 4 names different: declaration 'OutputFormat' definition 'dwOutput'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1773:71: note: Function 'cmsCreateMultiprofileTransform' argument 4 names different: declaration 'OutputFormat' definition 'dwOutput'. foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:119:44: style: Parameter 'p' can be declared as pointer to const. However it seems that 'NC2toPCS' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1246:36: note: You might need to cast the function pointer here foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:119:44: note: Parameter 'p' can be declared as pointer to const foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1235:53: style: Parameter 'FromTagPtr' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1236:53: style: Parameter 'ToTagPtr' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/icc2ps/cmsxform.c:1713:22: style: Variable 'TagTable' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/lavadecode.c:51:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/lavadecode.c:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/lavadecode.c:78:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/lavadecode.c:224:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/lavadecode.c:522:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/oakdecode.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/oakdecode.c:75:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/oakdecode.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/oakdecode.c:422:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/oakdecode.c:705:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/oakdecode.c:463:7: style: Comparing expression of type 'unsigned char' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] foo2zjs-20200505dfsg0/oakdecode.c:561:11: style: Condition '1||hdr3c.subplane==0' is always true [knownConditionTrueFalse] foo2zjs-20200505dfsg0/oakdecode.c:582:9: style: Condition '0&&*cp==1' is always false [knownConditionTrueFalse] foo2zjs-20200505dfsg0/oakdecode.c:159:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:159:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:162:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:385:6: portability: %d in format string (no. 2) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:407:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:528:3: portability: %d in format string (no. 2) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:528:3: portability: %d in format string (no. 3) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:528:3: portability: %d in format string (no. 4) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:528:3: portability: %d in format string (no. 6) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:528:3: portability: %d in format string (no. 7) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:528:3: portability: %d in format string (no. 9) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:528:3: portability: %d in format string (no. 10) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:528:3: portability: %d in format string (no. 11) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/oakdecode.c:362:41: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/oakdecode.c:723:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/oakdecode.c:723:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/oakdecode.c:726:13: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/oakdecode.c:362:41: note: Null pointer dereference foo2zjs-20200505dfsg0/oakdecode.c:604:17: warning: If memory allocation fails, then there is a possible null pointer dereference: ibuf [nullPointerOutOfMemory] foo2zjs-20200505dfsg0/oakdecode.c:603:19: note: Assuming allocation function fails foo2zjs-20200505dfsg0/oakdecode.c:603:19: note: Assignment 'ibuf=malloc(size)', assigned value is 0 foo2zjs-20200505dfsg0/oakdecode.c:604:17: note: Null pointer dereference foo2zjs-20200505dfsg0/oakdecode.c:727:20: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/oakdecode.c:723:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/oakdecode.c:723:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/oakdecode.c:727:20: note: Null pointer dereference foo2zjs-20200505dfsg0/oakdecode.c:604:9: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/oakdecode.c:589:10: note: rc is assigned foo2zjs-20200505dfsg0/oakdecode.c:604:9: note: rc is overwritten foo2zjs-20200505dfsg0/oakdecode.c:604:9: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/oakdecode.c:592:10: note: rc is assigned foo2zjs-20200505dfsg0/oakdecode.c:604:9: note: rc is overwritten foo2zjs-20200505dfsg0/oakdecode.c:463:7: style: Unsigned expression 'bytes[0]' can't be negative so it is unnecessary to test it. [unsignedPositive] foo2zjs-20200505dfsg0/oakdecode.c:151:25: style: Parameter 'bih' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/oakdecode.c:564:16: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/oakdecode.c:612:18: style: Variable 'image' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/oakdecode.c:241:10: style: struct member 'HDR_0D::pad' is never used. [unusedStructMember] foo2zjs-20200505dfsg0/oakdecode.c:254:11: style: struct member 'HDR_0C::pad' is never used. [unusedStructMember] foo2zjs-20200505dfsg0/oakdecode.c:266:11: style: struct member 'HDR_3C::pad' is never used. [unusedStructMember] foo2zjs-20200505dfsg0/opldecode.c:51:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/opldecode.c:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/opldecode.c:78:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/opldecode.c:186:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/opldecode.c:383:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/opldecode.c:111:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/opldecode.c:111:5: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/opldecode.c:114:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/opldecode.c:301:6: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] foo2zjs-20200505dfsg0/opldecode.c:406:26: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/opldecode.c:400:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/opldecode.c:400:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/opldecode.c:406:26: note: Null pointer dereference foo2zjs-20200505dfsg0/opldecode.c:406:41: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/opldecode.c:400:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/opldecode.c:400:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/opldecode.c:406:41: note: Null pointer dereference foo2zjs-20200505dfsg0/opldecode.c:407:26: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/opldecode.c:400:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/opldecode.c:400:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/opldecode.c:407:26: note: Null pointer dereference foo2zjs-20200505dfsg0/opldecode.c:100:25: style: Parameter 'bih' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/opldecode.c:140:29: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/opldecode.c:224:17: style: Variable 'image' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/opldecode.c:261:18: style: Variable 'bihlen' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/opldecode.c:263:19: style: Variable 'totSize' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/opldecode.c:325:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/opldecode.c:340:14: style: Variable 'totSize' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/opldecode.c:343:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/qpdldecode.c:52:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/qpdldecode.c:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/qpdldecode.c:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/qpdldecode.c:187:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/qpdldecode.c:585:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/qpdldecode.c:473:7: style: Condition '0&&comp==0x15' is always false [knownConditionTrueFalse] foo2zjs-20200505dfsg0/qpdldecode.c:482:7: style: Condition '0&&comp==0x15' is always false [knownConditionTrueFalse] foo2zjs-20200505dfsg0/qpdldecode.c:484:7: style: Condition '0&&comp==0x15' is always false [knownConditionTrueFalse] foo2zjs-20200505dfsg0/qpdldecode.c:485:7: style: Condition '0&&comp==0x15' is always false [knownConditionTrueFalse] foo2zjs-20200505dfsg0/qpdldecode.c:486:7: style: Condition '0&&comp==0x15' is always false [knownConditionTrueFalse] foo2zjs-20200505dfsg0/qpdldecode.c:492:7: style: Condition '0&&comp==0x15' is always false [knownConditionTrueFalse] foo2zjs-20200505dfsg0/qpdldecode.c:132:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/qpdldecode.c:132:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/qpdldecode.c:137:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/qpdldecode.c:186:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/qpdldecode.c:603:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/qpdldecode.c:603:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/qpdldecode.c:606:13: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/qpdldecode.c:186:14: note: Null pointer dereference foo2zjs-20200505dfsg0/qpdldecode.c:192:15: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/qpdldecode.c:603:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/qpdldecode.c:603:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/qpdldecode.c:606:13: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/qpdldecode.c:187:11: note: Assuming condition is false foo2zjs-20200505dfsg0/qpdldecode.c:192:15: note: Null pointer dereference foo2zjs-20200505dfsg0/qpdldecode.c:607:13: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/qpdldecode.c:603:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/qpdldecode.c:603:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/qpdldecode.c:607:13: note: Null pointer dereference foo2zjs-20200505dfsg0/qpdldecode.c:479:7: style: Redundant initialization for 'ch'. The initialized value is overwritten before it is read. [redundantInitialization] foo2zjs-20200505dfsg0/qpdldecode.c:477:27: note: ch is initialized foo2zjs-20200505dfsg0/qpdldecode.c:479:7: note: ch is overwritten foo2zjs-20200505dfsg0/qpdldecode.c:483:7: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/qpdldecode.c:481:7: note: rc is assigned foo2zjs-20200505dfsg0/qpdldecode.c:483:7: note: rc is overwritten foo2zjs-20200505dfsg0/qpdldecode.c:489:16: style: Local variable 'h' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/qpdldecode.c:216:10: note: Shadowed declaration foo2zjs-20200505dfsg0/qpdldecode.c:489:16: note: Shadow variable foo2zjs-20200505dfsg0/qpdldecode.c:501:17: style: Local variable 'buf' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/qpdldecode.c:184:11: note: Shadowed declaration foo2zjs-20200505dfsg0/qpdldecode.c:501:17: note: Shadow variable foo2zjs-20200505dfsg0/qpdldecode.c:518:17: style: Local variable 'buf' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/qpdldecode.c:184:11: note: Shadowed declaration foo2zjs-20200505dfsg0/qpdldecode.c:518:17: note: Shadow variable foo2zjs-20200505dfsg0/qpdldecode.c:105:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/qpdldecode.c:112:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/qpdldecode.c:119:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/qpdldecode.c:124:25: style: Parameter 'bih' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/qpdldecode.c:490:23: style: Variable 'image' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/slxdecode.c:53:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/slxdecode.c:62:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/slxdecode.c:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/slxdecode.c:169:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/slxdecode.c:575:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/slxdecode.c:114:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/slxdecode.c:114:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/slxdecode.c:117:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/slxdecode.c:401:7: portability: %d in format string (no. 2) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/slxdecode.c:403:7: portability: %d in format string (no. 2) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/slxdecode.c:211:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/slxdecode.c:197:6: note: rc is assigned foo2zjs-20200505dfsg0/slxdecode.c:211:8: note: rc is overwritten foo2zjs-20200505dfsg0/slxdecode.c:505:7: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/slxdecode.c:504:7: note: rc is assigned foo2zjs-20200505dfsg0/slxdecode.c:505:7: note: rc is overwritten foo2zjs-20200505dfsg0/slxdecode.c:310:15: style: Local variable 'c' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/slxdecode.c:146:10: note: Shadowed declaration foo2zjs-20200505dfsg0/slxdecode.c:310:15: note: Shadow variable foo2zjs-20200505dfsg0/slxdecode.c:494:11: style: Local variable 'c' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/slxdecode.c:146:10: note: Shadowed declaration foo2zjs-20200505dfsg0/slxdecode.c:494:11: note: Shadow variable foo2zjs-20200505dfsg0/slxdecode.c:508:18: style: Local variable 'len' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/slxdecode.c:155:10: note: Shadowed declaration foo2zjs-20200505dfsg0/slxdecode.c:508:18: note: Shadow variable foo2zjs-20200505dfsg0/slxdecode.c:106:25: style: Parameter 'bih' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/slxdecode.c:150:11: style: Variable 'codestr' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/slxdecode.c:509:23: style: Variable 'image' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/slxdecode.c:362:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/slxdecode.c:396:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/slxdecode.c:479:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/slxdecode.c:528:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/usb_printerid.c:25:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/usb_printerid.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/xqxdecode.c:52:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/xqxdecode.c:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/xqxdecode.c:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/xqxdecode.c:171:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/xqxdecode.c:415:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/xqxdecode.c:109:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/xqxdecode.c:109:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/xqxdecode.c:112:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/xqxdecode.c:170:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/xqxdecode.c:432:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/xqxdecode.c:432:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/xqxdecode.c:437:10: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/xqxdecode.c:170:14: note: Null pointer dereference foo2zjs-20200505dfsg0/xqxdecode.c:176:15: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/xqxdecode.c:432:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/xqxdecode.c:432:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/xqxdecode.c:437:10: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/xqxdecode.c:171:11: note: Assuming condition is false foo2zjs-20200505dfsg0/xqxdecode.c:176:15: note: Null pointer dereference foo2zjs-20200505dfsg0/xqxdecode.c:438:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/xqxdecode.c:432:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/xqxdecode.c:432:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/xqxdecode.c:438:12: note: Null pointer dereference foo2zjs-20200505dfsg0/xqxdecode.c:438:27: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/xqxdecode.c:432:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/xqxdecode.c:432:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/xqxdecode.c:438:27: note: Null pointer dereference foo2zjs-20200505dfsg0/xqxdecode.c:439:26: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/xqxdecode.c:432:16: note: Assuming allocation function fails foo2zjs-20200505dfsg0/xqxdecode.c:432:16: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/xqxdecode.c:439:26: note: Null pointer dereference foo2zjs-20200505dfsg0/xqxdecode.c:288:10: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/xqxdecode.c:287:10: note: rc is assigned foo2zjs-20200505dfsg0/xqxdecode.c:288:10: note: rc is overwritten foo2zjs-20200505dfsg0/xqxdecode.c:291:14: style: Local variable 'len' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/xqxdecode.c:157:10: note: Shadowed declaration foo2zjs-20200505dfsg0/xqxdecode.c:291:14: note: Shadow variable foo2zjs-20200505dfsg0/xqxdecode.c:101:25: style: Parameter 'bih' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/xqxdecode.c:153:11: style: Variable 'codestr' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/xqxdecode.c:292:19: style: Variable 'image' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/xqxdecode.c:311:8: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/icc2ps/cmsintrp.c:533:24: style: Array index 'NumZeroes' is used before limits check. [arrayIndexThenCheck] foo2zjs-20200505dfsg0/icc2ps/cmsintrp.c:371:32: style:inconclusive: Function 'cmsLinearInterpLUT16' argument 1 names different: declaration 'Value' definition 'Value1'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1598:41: note: Function 'cmsLinearInterpLUT16' argument 1 names different: declaration 'Value' definition 'Value1'. foo2zjs-20200505dfsg0/icc2ps/cmsintrp.c:371:32: note: Function 'cmsLinearInterpLUT16' argument 1 names different: declaration 'Value' definition 'Value1'. foo2zjs-20200505dfsg0/icc2ps/cmsintrp.c:886:34: style:inconclusive: Function 'cmsTetrahedralInterp16' argument 3 names different: declaration 'LutTable' definition 'LutTable1'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/icc2ps/lcms.h:1609:40: note: Function 'cmsTetrahedralInterp16' argument 3 names different: declaration 'LutTable' definition 'LutTable1'. foo2zjs-20200505dfsg0/icc2ps/cmsintrp.c:886:34: note: Function 'cmsTetrahedralInterp16' argument 3 names different: declaration 'LutTable' definition 'LutTable1'. foo2zjs-20200505dfsg0/icc2ps/cmsintrp.c:549:21: style: Local variable 'a' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/icc2ps/cmsintrp.c:525:16: note: Shadowed declaration foo2zjs-20200505dfsg0/icc2ps/cmsintrp.c:549:21: note: Shadow variable foo2zjs-20200505dfsg0/icc2ps/cmsintrp.c:549:24: style: Local variable 'b' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/icc2ps/cmsintrp.c:525:19: note: Shadowed declaration foo2zjs-20200505dfsg0/icc2ps/cmsintrp.c:549:24: note: Shadow variable foo2zjs-20200505dfsg0/zjsdecode.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/zjsdecode.c:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/zjsdecode.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/zjsdecode.c:264:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/zjsdecode.c:845:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] foo2zjs-20200505dfsg0/zjsdecode.c:116:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/zjsdecode.c:116:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/zjsdecode.c:119:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/zjsdecode.c:595:7: portability: %d in format string (no. 2) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/zjsdecode.c:597:7: portability: %d in format string (no. 2) requires 'int' but the argument type is 'DWORD {aka unsigned int}'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/zjsdecode.c:263:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/zjsdecode.c:864:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/zjsdecode.c:864:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/zjsdecode.c:869:24: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/zjsdecode.c:263:14: note: Null pointer dereference foo2zjs-20200505dfsg0/zjsdecode.c:269:15: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/zjsdecode.c:864:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/zjsdecode.c:864:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/zjsdecode.c:869:24: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/zjsdecode.c:264:11: note: Assuming condition is false foo2zjs-20200505dfsg0/zjsdecode.c:269:15: note: Null pointer dereference foo2zjs-20200505dfsg0/zjsdecode.c:790:13: warning: If resource allocation fails, then there is a possible null pointer dereference: dfp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/zjsdecode.c:789:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/zjsdecode.c:789:18: note: Assignment 'dfp=fopen(buf,"r+")', assigned value is 0 foo2zjs-20200505dfsg0/zjsdecode.c:790:13: note: Null pointer dereference foo2zjs-20200505dfsg0/zjsdecode.c:791:15: warning: If resource allocation fails, then there is a possible null pointer dereference: dfp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/zjsdecode.c:789:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/zjsdecode.c:789:18: note: Assignment 'dfp=fopen(buf,"r+")', assigned value is 0 foo2zjs-20200505dfsg0/zjsdecode.c:791:15: note: Null pointer dereference foo2zjs-20200505dfsg0/zjsdecode.c:792:14: warning: If resource allocation fails, then there is a possible null pointer dereference: dfp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/zjsdecode.c:789:18: note: Assuming allocation function fails foo2zjs-20200505dfsg0/zjsdecode.c:789:18: note: Assignment 'dfp=fopen(buf,"r+")', assigned value is 0 foo2zjs-20200505dfsg0/zjsdecode.c:792:14: note: Null pointer dereference foo2zjs-20200505dfsg0/zjsdecode.c:870:26: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/zjsdecode.c:864:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/zjsdecode.c:864:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/zjsdecode.c:870:26: note: Null pointer dereference foo2zjs-20200505dfsg0/zjsdecode.c:870:41: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/zjsdecode.c:864:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/zjsdecode.c:864:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/zjsdecode.c:870:41: note: Null pointer dereference foo2zjs-20200505dfsg0/zjsdecode.c:871:26: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/zjsdecode.c:864:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/zjsdecode.c:864:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/zjsdecode.c:871:26: note: Null pointer dereference foo2zjs-20200505dfsg0/zjsdecode.c:723:7: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/zjsdecode.c:722:7: note: rc is assigned foo2zjs-20200505dfsg0/zjsdecode.c:723:7: note: rc is overwritten foo2zjs-20200505dfsg0/zjsdecode.c:553:23: style: Unsigned expression 'val' can't be negative so it is unnecessary to test it. [unsignedPositive] foo2zjs-20200505dfsg0/zjsdecode.c:555:23: style: Unsigned expression 'val' can't be negative so it is unnecessary to test it. [unsignedPositive] foo2zjs-20200505dfsg0/zjsdecode.c:557:23: style: Unsigned expression 'val' can't be negative so it is unnecessary to test it. [unsignedPositive] foo2zjs-20200505dfsg0/zjsdecode.c:418:10: style: Local variable 'c' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/zjsdecode.c:157:10: note: Shadowed declaration foo2zjs-20200505dfsg0/zjsdecode.c:418:10: note: Shadow variable foo2zjs-20200505dfsg0/zjsdecode.c:453:12: style: Local variable 'c' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/zjsdecode.c:157:10: note: Shadowed declaration foo2zjs-20200505dfsg0/zjsdecode.c:453:12: note: Shadow variable foo2zjs-20200505dfsg0/zjsdecode.c:698:11: style: Local variable 'c' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/zjsdecode.c:157:10: note: Shadowed declaration foo2zjs-20200505dfsg0/zjsdecode.c:698:11: note: Shadow variable foo2zjs-20200505dfsg0/zjsdecode.c:726:18: style: Local variable 'len' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/zjsdecode.c:167:10: note: Shadowed declaration foo2zjs-20200505dfsg0/zjsdecode.c:726:18: note: Shadow variable foo2zjs-20200505dfsg0/zjsdecode.c:728:12: style: Local variable 'i' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/zjsdecode.c:177:11: note: Shadowed declaration foo2zjs-20200505dfsg0/zjsdecode.c:728:12: note: Shadow variable foo2zjs-20200505dfsg0/zjsdecode.c:108:25: style: Parameter 'bih' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/zjsdecode.c:161:11: style: Variable 'codestr' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/zjsdecode.c:727:23: style: Variable 'image' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/zjsdecode.c:590:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/zjsdecode.c:685:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/zjsdecode.c:753:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/zjsdecode.c:767:13: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] foo2zjs-20200505dfsg0/lavadecode.c:111:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/lavadecode.c:111:5: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/lavadecode.c:114:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] foo2zjs-20200505dfsg0/lavadecode.c:218:36: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/lavadecode.c:539:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/lavadecode.c:539:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/lavadecode.c:544:24: note: Calling function 'decode', 1st argument 'fp' value is 0 foo2zjs-20200505dfsg0/lavadecode.c:218:36: note: Null pointer dereference foo2zjs-20200505dfsg0/lavadecode.c:545:26: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/lavadecode.c:539:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/lavadecode.c:539:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/lavadecode.c:545:26: note: Null pointer dereference foo2zjs-20200505dfsg0/lavadecode.c:545:41: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/lavadecode.c:539:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/lavadecode.c:539:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/lavadecode.c:545:41: note: Null pointer dereference foo2zjs-20200505dfsg0/lavadecode.c:546:26: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] foo2zjs-20200505dfsg0/lavadecode.c:539:23: note: Assuming allocation function fails foo2zjs-20200505dfsg0/lavadecode.c:539:23: note: Assignment 'fp=fopen(argv[0],"r")', assigned value is 0 foo2zjs-20200505dfsg0/lavadecode.c:546:26: note: Null pointer dereference foo2zjs-20200505dfsg0/lavadecode.c:472:10: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/lavadecode.c:471:10: note: rc is assigned foo2zjs-20200505dfsg0/lavadecode.c:472:10: note: rc is overwritten foo2zjs-20200505dfsg0/lavadecode.c:419:16: style: Local variable 'cnt' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/lavadecode.c:236:14: note: Shadowed declaration foo2zjs-20200505dfsg0/lavadecode.c:419:16: note: Shadow variable foo2zjs-20200505dfsg0/lavadecode.c:485:13: style: Local variable 'buf' shadows outer variable [shadowVariable] foo2zjs-20200505dfsg0/lavadecode.c:195:11: note: Shadowed declaration foo2zjs-20200505dfsg0/lavadecode.c:485:13: note: Shadow variable foo2zjs-20200505dfsg0/lavadecode.c:100:25: style: Parameter 'bih' can be declared as const array [constParameter] foo2zjs-20200505dfsg0/lavadecode.c:140:29: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] foo2zjs-20200505dfsg0/lavadecode.c:404:11: style: Variable 'color' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/lavadecode.c:476:19: style: Variable 'image' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/jbig.c:3287:21: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] foo2zjs-20200505dfsg0/jbig.c:994:34: style: Variable 'ltp_old' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/jbig.c:990:13: note: ltp_old is assigned foo2zjs-20200505dfsg0/jbig.c:994:34: note: ltp_old is overwritten foo2zjs-20200505dfsg0/jbig.c:1048:27: style: Variable 'ltp' is reassigned a value before the old one has been used. [redundantAssignment] foo2zjs-20200505dfsg0/jbig.c:1044:6: note: ltp is assigned foo2zjs-20200505dfsg0/jbig.c:1048:27: note: ltp is overwritten foo2zjs-20200505dfsg0/jbig.c:838:59: style:inconclusive: Function 'jbg_enc_lrlmax' argument 2 names different: declaration 'mwidth' definition 'x'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/jbig.h:201:59: note: Function 'jbg_enc_lrlmax' argument 2 names different: declaration 'mwidth' definition 'x'. foo2zjs-20200505dfsg0/jbig.c:838:59: note: Function 'jbg_enc_lrlmax' argument 2 names different: declaration 'mwidth' definition 'x'. foo2zjs-20200505dfsg0/jbig.c:839:20: style:inconclusive: Function 'jbg_enc_lrlmax' argument 3 names different: declaration 'mheight' definition 'y'. [funcArgNamesDifferent] foo2zjs-20200505dfsg0/jbig.h:202:20: note: Function 'jbg_enc_lrlmax' argument 3 names different: declaration 'mheight' definition 'y'. foo2zjs-20200505dfsg0/jbig.c:839:20: note: Function 'jbg_enc_lrlmax' argument 3 names different: declaration 'mheight' definition 'y'. foo2zjs-20200505dfsg0/jbig.c:910:35: style: Variable 'p0' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/jbig.c:910:40: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/jbig.c:1731:7: style: Variable 'trans0' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/jbig.c:1732:7: style: Variable 'trans1' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/jbig.c:1733:7: style: Variable 'trans2' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/jbig.c:1734:7: style: Variable 'trans3' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/jbig.c:1764:7: style: Variable 'trans0' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/jbig.c:1765:7: style: Variable 'trans1' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/jbig.c:1766:7: style: Variable 'trans2' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/jbig.c:1767:7: style: Variable 'trans3' can be declared as const array [constVariable] foo2zjs-20200505dfsg0/jbig.c:2093:40: style: Variable 'q1' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/jbig.c:3185:18: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] foo2zjs-20200505dfsg0/jbig.c:3119:14: style: Variable 'k' is assigned a value that is never used. [unreadVariable] diff: head foo2zjs-20200505dfsg0/foo2ddst.c:578:18: style: Variable 'current' can be declared as pointer to const [constVariablePointer] head foo2zjs-20200505dfsg0/foo2hbpl2.c:418:16: style: Variable 'current' can be declared as pointer to const [constVariablePointer] head foo2zjs-20200505dfsg0/foo2hiperc.c:457:14: style: Variable 'current' can be declared as pointer to const [constVariablePointer] head foo2zjs-20200505dfsg0/foo2oak.c:1044:14: style: Variable 'current' can be declared as pointer to const [constVariablePointer] head foo2zjs-20200505dfsg0/foo2oak.c:1208:14: style: Variable 'current' can be declared as pointer to const [constVariablePointer] head foo2zjs-20200505dfsg0/foo2oak.c:1405:14: style: Variable 'current' can be declared as pointer to const [constVariablePointer] head foo2zjs-20200505dfsg0/foo2oak.c:888:14: style: Variable 'current' can be declared as pointer to const [constVariablePointer] DONE