2024-04-16 01:13 ftp://ftp.de.debian.org/debian/pool/main/d/dvipng/dvipng_1.15.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 8cd680b (2024-04-15 22:43:04 +0200) count: 190 147 elapsed-time: 12.2 16.4 head-timing-info: old-timing-info: head results: dvipng-1.15/color.c:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/color.c:104:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/color.c:215:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/color.c:257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/color.c:374:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/color.c:383:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/color.c:390:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/color.c:399:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/color.c:406:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/color.c:422:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/color.c:62:3: warning: Either the condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is redundant or there is possible null pointer dereference: tmp. [nullPointerRedundantCheck] dvipng-1.15/color.c:60:76: note: Assuming that condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is not redundant dvipng-1.15/color.c:62:3: note: Null pointer dereference dvipng-1.15/color.c:63:11: warning: Either the condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is redundant or there is possible null pointer dereference: tmp. [nullPointerRedundantCheck] dvipng-1.15/color.c:60:76: note: Assuming that condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is not redundant dvipng-1.15/color.c:63:11: note: Null pointer dereference dvipng-1.15/color.c:64:11: warning: Either the condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is redundant or there is possible null pointer dereference: tmp. [nullPointerRedundantCheck] dvipng-1.15/color.c:60:76: note: Assuming that condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is not redundant dvipng-1.15/color.c:64:11: note: Null pointer dereference dvipng-1.15/color.c:65:3: warning: Either the condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is redundant or there is possible null pointer dereference: tmp. [nullPointerRedundantCheck] dvipng-1.15/color.c:60:76: note: Assuming that condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is not redundant dvipng-1.15/color.c:65:3: note: Null pointer dereference dvipng-1.15/color.c:66:11: warning: Either the condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is redundant or there is possible null pointer dereference: tmp. [nullPointerRedundantCheck] dvipng-1.15/color.c:60:76: note: Assuming that condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is not redundant dvipng-1.15/color.c:66:11: note: Null pointer dereference dvipng-1.15/color.c:67:3: warning: Either the condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is redundant or there is possible null pointer dereference: tmp. [nullPointerRedundantCheck] dvipng-1.15/color.c:60:76: note: Assuming that condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is not redundant dvipng-1.15/color.c:67:3: note: Null pointer dereference dvipng-1.15/color.c:68:11: warning: Either the condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is redundant or there is possible null pointer dereference: tmp. [nullPointerRedundantCheck] dvipng-1.15/color.c:60:76: note: Assuming that condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is not redundant dvipng-1.15/color.c:68:11: note: Null pointer dereference dvipng-1.15/color.c:69:3: warning: Either the condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is redundant or there is possible null pointer dereference: tmp. [nullPointerRedundantCheck] dvipng-1.15/color.c:60:76: note: Assuming that condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is not redundant dvipng-1.15/color.c:69:3: note: Null pointer dereference dvipng-1.15/color.c:70:9: warning: Either the condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is redundant or there is possible null pointer dereference: tmp. [nullPointerRedundantCheck] dvipng-1.15/color.c:60:76: note: Assuming that condition '(tmp=malloc(sizeof(struct colorname)+3+nprefix+nname+nmodel+nvalues))==NULL' is not redundant dvipng-1.15/color.c:70:9: note: Null pointer dereference dvipng-1.15/color.c:259:14: warning: Either the condition 'color' is redundant or there is possible null pointer dereference: color. [nullPointerRedundantCheck] dvipng-1.15/color.c:258:3: note: Assuming that condition 'color' is not redundant dvipng-1.15/color.c:259:14: note: Null pointer dereference dvipng-1.15/color.c:358:22: warning: Either the condition 'tmp!=NULL' is redundant or there is possible null pointer dereference: tmp. [nullPointerRedundantCheck] dvipng-1.15/color.c:352:16: note: Assuming that condition 'tmp!=NULL' is not redundant dvipng-1.15/color.c:358:22: note: Null pointer dereference dvipng-1.15/color.c:227:7: style: Variable 'nname' is reassigned a value before the old one has been used. [redundantAssignment] dvipng-1.15/color.c:225:12: note: nname is assigned dvipng-1.15/color.c:227:7: note: nname is overwritten dvipng-1.15/color.c:194:37: style:inconclusive: Function 'InitXColorPrologue' argument 1 names different: declaration 'prologuename' definition 'name'. [funcArgNamesDifferent] dvipng-1.15/dvipng.h:363:37: note: Function 'InitXColorPrologue' argument 1 names different: declaration 'prologuename' definition 'name'. dvipng-1.15/color.c:194:37: note: Function 'InitXColorPrologue' argument 1 names different: declaration 'prologuename' definition 'name'. dvipng-1.15/color.c:252:28: style:inconclusive: Function 'stringrgb' argument 1 names different: declaration 'colorstring' definition 'color'. [funcArgNamesDifferent] dvipng-1.15/dvipng.h:353:28: note: Function 'stringrgb' argument 1 names different: declaration 'colorstring' definition 'color'. dvipng-1.15/color.c:252:28: note: Function 'stringrgb' argument 1 names different: declaration 'colorstring' definition 'color'. dvipng-1.15/color.c:140:13: style: Local variable 'model' shadows outer variable [shadowVariable] dvipng-1.15/color.c:96:23: note: Shadowed declaration dvipng-1.15/color.c:140:13: note: Shadow variable dvipng-1.15/color.c:55:14: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dvipng-1.15/color.c:57:14: style: Parameter 'values' can be declared as pointer to const [constParameterPointer] dvipng-1.15/color.c:94:24: style: Variable 'max' can be declared as pointer to const [constVariablePointer] dvipng-1.15/color.c:205:24: style: Variable 'max' can be declared as pointer to const [constVariablePointer] dvipng-1.15/color.c:265:20: style: Variable 'color' is assigned a value that is never used. [unreadVariable] dvipng-1.15/color.c:270:10: style: Variable 'color' is assigned a value that is never used. [unreadVariable] dvipng-1.15/color.c:273:20: style: Variable 'color' is assigned a value that is never used. [unreadVariable] dvipng-1.15/color.c:278:10: style: Variable 'color' is assigned a value that is never used. [unreadVariable] dvipng-1.15/color.c:281:10: style: Variable 'color' is assigned a value that is never used. [unreadVariable] dvipng-1.15/draw.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/draw.c:138:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/draw.c:278:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/draw.c:287:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/draw.c:306:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/draw.c:357:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/draw.c:143:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/draw.c:148:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/draw.c:158:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/draw.c:158:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/draw.c:168:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/draw.c:168:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/draw.c:236:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/draw.c:241:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/draw.c:221:5: warning: Expression '-5' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] dvipng-1.15/draw.c:227:5: warning: Expression '-5' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] dvipng-1.15/draw.c:233:5: warning: Expression '-5' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] dvipng-1.15/dvi.c:57:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dvipng-1.15/dvi.c:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/dvi.c:165:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/dvi.c:186:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/dvi.c:235:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/dvi.c:292:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/dvi.c:327:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/dvi.c:480:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/dvi.c:58:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dvipng-1.15/dvi.c:150:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dvipng-1.15/dvi.c:473:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dvipng-1.15/dvi.c:88:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/dvi.c:88:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/dvi.c:90:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/dvi.c:296:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/dvi.c:143:8: error: Dereferencing 'dvi' after it is deallocated / released [deallocuse] dvipng-1.15/dvi.c:116:3: warning: Either the condition '(dvi=calloc(1,sizeof(struct dvi_data)))==NULL' is redundant or there is possible null pointer dereference: dvi. [nullPointerRedundantCheck] dvipng-1.15/dvi.c:114:48: note: Assuming that condition '(dvi=calloc(1,sizeof(struct dvi_data)))==NULL' is not redundant dvipng-1.15/dvi.c:116:3: note: Null pointer dereference dvipng-1.15/dvi.c:117:3: warning: Either the condition '(dvi=calloc(1,sizeof(struct dvi_data)))==NULL' is redundant or there is possible null pointer dereference: dvi. [nullPointerRedundantCheck] dvipng-1.15/dvi.c:114:48: note: Assuming that condition '(dvi=calloc(1,sizeof(struct dvi_data)))==NULL' is not redundant dvipng-1.15/dvi.c:117:3: note: Null pointer dereference dvipng-1.15/dvi.c:118:8: warning: Either the condition '(dvi=calloc(1,sizeof(struct dvi_data)))==NULL' is redundant or there is possible null pointer dereference: dvi. [nullPointerRedundantCheck] dvipng-1.15/dvi.c:114:48: note: Assuming that condition '(dvi=calloc(1,sizeof(struct dvi_data)))==NULL' is not redundant dvipng-1.15/dvi.c:118:8: note: Null pointer dereference dvipng-1.15/dvi.c:342:3: warning: Either the condition '(tpagelistp=malloc(sizeof(struct page_list)+(csp+1-2)*sizeof(struct dvi_color)))==NULL' is redundant or there is possible null pointer dereference: tpagelistp. [nullPointerRedundantCheck] dvipng-1.15/dvi.c:340:45: note: Assuming that condition '(tpagelistp=malloc(sizeof(struct page_list)+(csp+1-2)*sizeof(struct dvi_color)))==NULL' is not redundant dvipng-1.15/dvi.c:342:3: note: Null pointer dereference dvipng-1.15/dvi.c:112:20: style: Local variable 'dvi' shadows outer variable [shadowVariable] dvipng-1.15/dvipng.h:517:25: note: Shadowed declaration dvipng-1.15/dvi.c:112:20: note: Shadow variable dvipng-1.15/dvi.c:109:46: style: Parameter 'outname' can be declared as pointer to const [constParameterPointer] dvipng-1.15/dvi.c:374:68: style: Parameter 'page' can be declared as pointer to const [constParameterPointer] dvipng-1.15/dvi.c:412:45: style: Parameter 'dvi' can be declared as pointer to const [constParameterPointer] dvipng-1.15/dvi.c:412:68: style: Parameter 'page' can be declared as pointer to const [constParameterPointer] dvipng-1.15/dvipng.c:79:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kpse_pk_format [valueFlowBailoutIncompleteVar] dvipng-1.15/enc.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/enc.c:31:14: style: Variable 'max' can be declared as pointer to const [constVariablePointer] dvipng-1.15/font.c:86:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/font.c:206:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/font.c:86:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/font.c:86:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/font.c:90:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/font.c:90:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/font.c:94:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/font.c:98:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/font.c:98:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/font.c:98:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/font.c:129:5: warning: Either the condition '(tfontnump=malloc(sizeof(struct font_num)))==NULL' is redundant or there is possible null pointer dereference: tfontnump. [nullPointerRedundantCheck] dvipng-1.15/font.c:127:52: note: Assuming that condition '(tfontnump=malloc(sizeof(struct font_num)))==NULL' is not redundant dvipng-1.15/font.c:129:5: note: Null pointer dereference dvipng-1.15/font.c:161:3: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:161:3: note: Null pointer dereference dvipng-1.15/font.c:165:3: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:165:3: note: Null pointer dereference dvipng-1.15/font.c:169:3: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:169:3: note: Null pointer dereference dvipng-1.15/font.c:170:3: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:170:3: note: Null pointer dereference dvipng-1.15/font.c:171:3: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:171:3: note: Null pointer dereference dvipng-1.15/font.c:172:3: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:172:3: note: Null pointer dereference dvipng-1.15/font.c:173:3: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:173:3: note: Null pointer dereference dvipng-1.15/font.c:174:11: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:174:11: note: Null pointer dereference dvipng-1.15/font.c:175:3: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:175:3: note: Null pointer dereference dvipng-1.15/font.c:177:3: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:177:3: note: Null pointer dereference dvipng-1.15/font.c:179:5: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:179:5: note: Null pointer dereference dvipng-1.15/font.c:182:3: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:182:3: note: Null pointer dereference dvipng-1.15/font.c:183:48: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:183:48: note: Null pointer dereference dvipng-1.15/font.c:184:16: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:184:16: note: Null pointer dereference dvipng-1.15/font.c:187:3: warning: Either the condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is redundant or there is possible null pointer dereference: tfontptr. [nullPointerRedundantCheck] dvipng-1.15/font.c:159:56: note: Assuming that condition '(tfontptr=calloc(1,sizeof(struct font_entry)))==NULL' is not redundant dvipng-1.15/font.c:187:3: note: Null pointer dereference dvipng-1.15/font.c:332:17: warning: Either the condition 'tfontnump!=NULL' is redundant or there is possible null pointer dereference: tfontnump. [nullPointerRedundantCheck] dvipng-1.15/font.c:327:20: note: Assuming that condition 'tfontnump!=NULL' is not redundant dvipng-1.15/font.c:332:17: note: Null pointer dereference dvipng-1.15/fontmap.c:79:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/fontmap.c:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/fontmap.c:40:11: warning: Either the condition '(word=malloc(pos-*buffer+1))==NULL' is redundant or there is possible null pointer dereference: word. [nullPointerRedundantCheck] dvipng-1.15/fontmap.c:38:35: note: Assuming that condition '(word=malloc(pos-*buffer+1))==NULL' is not redundant dvipng-1.15/fontmap.c:40:11: note: Null pointer dereference dvipng-1.15/fontmap.c:41:3: warning: Either the condition '(word=malloc(pos-*buffer+1))==NULL' is redundant or there is possible null pointer dereference: word. [nullPointerRedundantCheck] dvipng-1.15/fontmap.c:38:35: note: Assuming that condition '(word=malloc(pos-*buffer+1))==NULL' is not redundant dvipng-1.15/fontmap.c:41:3: note: Null pointer dereference dvipng-1.15/fontmap.c:54:10: warning: Either the condition '(word=malloc(strlen(orig)+1))==NULL' is redundant or there is possible null pointer dereference: word. [nullPointerRedundantCheck] dvipng-1.15/fontmap.c:52:36: note: Assuming that condition '(word=malloc(strlen(orig)+1))==NULL' is not redundant dvipng-1.15/fontmap.c:54:10: note: Null pointer dereference dvipng-1.15/fontmap.c:33:43: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] dvipng-1.15/fontmap.c:46:22: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] dvipng-1.15/fontmap.c:131:48: style: Parameter 'fontname' can be declared as pointer to const [constParameterPointer] dvipng-1.15/ft.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/ft.c:99:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/ft.c:78:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dvipng-1.15/misc.c:111:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kpathsea_debug [valueFlowBailoutIncompleteVar] dvipng-1.15/misc.c:711:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/misc.c:738:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/misc.c:756:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/misc.c:768:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/misc.c:79:13: style:inconclusive: Redundant condition: The condition '*p != '-'' is redundant since '*p > '9'' is sufficient. [redundantCondition] dvipng-1.15/pk.c:92:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/pk.c:131:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/pk.c:316:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/pk.c:376:14: warning: Either the condition 'c>255' is redundant or the array 'tfontp->chr[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] dvipng-1.15/pk.c:372:9: note: Assuming that condition 'c>255' is not redundant dvipng-1.15/pk.c:376:14: note: Array index out of bounds dvipng-1.15/pk.c:100:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/pk.c:332:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/pk.c:336:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/pk.c:341:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/pk.c:341:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/pk.c:371:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/pk.c:371:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/pk.c:353:5: warning: Either the condition '(tcharptr=malloc(sizeof(struct char_entry)))==NULL' is redundant or there is possible null pointer dereference: tcharptr. [nullPointerRedundantCheck] dvipng-1.15/pk.c:351:56: note: Assuming that condition '(tcharptr=malloc(sizeof(struct char_entry)))==NULL' is not redundant dvipng-1.15/pk.c:353:5: note: Null pointer dereference dvipng-1.15/pk.c:354:5: warning: Either the condition '(tcharptr=malloc(sizeof(struct char_entry)))==NULL' is redundant or there is possible null pointer dereference: tcharptr. [nullPointerRedundantCheck] dvipng-1.15/pk.c:351:56: note: Assuming that condition '(tcharptr=malloc(sizeof(struct char_entry)))==NULL' is not redundant dvipng-1.15/pk.c:354:5: note: Null pointer dereference dvipng-1.15/pk.c:355:5: warning: Either the condition '(tcharptr=malloc(sizeof(struct char_entry)))==NULL' is redundant or there is possible null pointer dereference: tcharptr. [nullPointerRedundantCheck] dvipng-1.15/pk.c:351:56: note: Assuming that condition '(tcharptr=malloc(sizeof(struct char_entry)))==NULL' is not redundant dvipng-1.15/pk.c:355:5: note: Null pointer dereference dvipng-1.15/pk.c:309:33: style:inconclusive: Function 'InitPK' argument 1 names different: declaration 'newfontp' definition 'tfontp'. [funcArgNamesDifferent] dvipng-1.15/dvipng.h:282:36: note: Function 'InitPK' argument 1 names different: declaration 'newfontp' definition 'tfontp'. dvipng-1.15/pk.c:309:33: note: Function 'InitPK' argument 1 names different: declaration 'newfontp' definition 'tfontp'. dvipng-1.15/pk.c:389:32: style:inconclusive: Function 'DonePK' argument 1 names different: declaration 'oldfontp' definition 'tfontp'. [funcArgNamesDifferent] dvipng-1.15/dvipng.h:283:35: note: Function 'DonePK' argument 1 names different: declaration 'oldfontp' definition 'tfontp'. dvipng-1.15/pk.c:389:32: note: Function 'DonePK' argument 1 names different: declaration 'oldfontp' definition 'tfontp'. dvipng-1.15/ppagelist.c:123:5: warning: Either the condition '(pl=(struct pp_list*)malloc(sizeof(struct pp_list)))==NULL' is redundant or there is possible null pointer dereference: pl. [nullPointerRedundantCheck] dvipng-1.15/ppagelist.c:121:2: note: Assuming that condition '(pl=(struct pp_list*)malloc(sizeof(struct pp_list)))==NULL' is not redundant dvipng-1.15/ppagelist.c:123:5: note: Null pointer dereference dvipng-1.15/ppagelist.c:126:3: warning: Either the condition '(pl=(struct pp_list*)malloc(sizeof(struct pp_list)))==NULL' is redundant or there is possible null pointer dereference: pl. [nullPointerRedundantCheck] dvipng-1.15/ppagelist.c:121:2: note: Assuming that condition '(pl=(struct pp_list*)malloc(sizeof(struct pp_list)))==NULL' is not redundant dvipng-1.15/ppagelist.c:126:3: note: Null pointer dereference dvipng-1.15/ppagelist.c:127:3: warning: Either the condition '(pl=(struct pp_list*)malloc(sizeof(struct pp_list)))==NULL' is redundant or there is possible null pointer dereference: pl. [nullPointerRedundantCheck] dvipng-1.15/ppagelist.c:121:2: note: Assuming that condition '(pl=(struct pp_list*)malloc(sizeof(struct pp_list)))==NULL' is not redundant dvipng-1.15/ppagelist.c:127:3: note: Null pointer dereference dvipng-1.15/ppagelist.c:137:19: style: Variable 'ps_low' is assigned a value that is never used. [unreadVariable] dvipng-1.15/ppagelist.c:137:43: style: Variable 'ps_high' is assigned a value that is never used. [unreadVariable] dvipng-1.15/set.c:69:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdAlphaMax [valueFlowBailoutIncompleteVar] dvipng-1.15/set.c:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/set.c:199:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdAlphaMax [valueFlowBailoutIncompleteVar] dvipng-1.15/set.c:223:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdAlphaMax [valueFlowBailoutIncompleteVar] dvipng-1.15/set.c:281:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/set.c:42:25: style:inconclusive: Function 'CreateImage' argument 1 names different: declaration 'width' definition 'x_width'. [funcArgNamesDifferent] dvipng-1.15/dvipng.h:335:30: note: Function 'CreateImage' argument 1 names different: declaration 'width' definition 'x_width'. dvipng-1.15/set.c:42:25: note: Function 'CreateImage' argument 1 names different: declaration 'width' definition 'x_width'. dvipng-1.15/set.c:42:40: style:inconclusive: Function 'CreateImage' argument 2 names different: declaration 'height' definition 'y_width'. [funcArgNamesDifferent] dvipng-1.15/dvipng.h:335:44: note: Function 'CreateImage' argument 2 names different: declaration 'height' definition 'y_width'. dvipng-1.15/set.c:42:40: note: Function 'CreateImage' argument 2 names different: declaration 'height' definition 'y_width'. dvipng-1.15/sfd.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/sfd.c:149:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/sfd.c:59:40: warning: Logical disjunction always evaluates to true: *(pos+1) != '\r' || *(pos+1) != '\n'. [incorrectLogicOperator] dvipng-1.15/sfd.c:138:11: warning: Either the condition '(sfdname=malloc(postfix-sfdspec+1))==NULL' is redundant or there is possible null pointer dereference: sfdname. [nullPointerRedundantCheck] dvipng-1.15/sfd.c:136:42: note: Assuming that condition '(sfdname=malloc(postfix-sfdspec+1))==NULL' is not redundant dvipng-1.15/sfd.c:138:11: note: Null pointer dereference dvipng-1.15/sfd.c:139:3: warning: Either the condition '(sfdname=malloc(postfix-sfdspec+1))==NULL' is redundant or there is possible null pointer dereference: sfdname. [nullPointerRedundantCheck] dvipng-1.15/sfd.c:136:42: note: Assuming that condition '(sfdname=malloc(postfix-sfdspec+1))==NULL' is not redundant dvipng-1.15/sfd.c:139:3: note: Null pointer dereference dvipng-1.15/sfd.c:147:11: warning: Either the condition '(infix=malloc(strlen(sfdwant)-strlen(postfix)+1))==NULL' is redundant or there is possible null pointer dereference: infix. [nullPointerRedundantCheck] dvipng-1.15/sfd.c:145:56: note: Assuming that condition '(infix=malloc(strlen(sfdwant)-strlen(postfix)+1))==NULL' is not redundant dvipng-1.15/sfd.c:147:11: note: Null pointer dereference dvipng-1.15/sfd.c:148:3: warning: Either the condition '(infix=malloc(strlen(sfdwant)-strlen(postfix)+1))==NULL' is redundant or there is possible null pointer dereference: infix. [nullPointerRedundantCheck] dvipng-1.15/sfd.c:145:56: note: Assuming that condition '(infix=malloc(strlen(sfdwant)-strlen(postfix)+1))==NULL' is not redundant dvipng-1.15/sfd.c:148:3: note: Null pointer dereference dvipng-1.15/sfd.c:28:57: style: Parameter 'infix' can be declared as pointer to const [constParameterPointer] dvipng-1.15/sfd.c:30:14: style: Variable 'max' can be declared as pointer to const [constVariablePointer] dvipng-1.15/special.c:83:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/special.c:112:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/special.c:185:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/special.c:317:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/special.c:372:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/special.c:394:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/special.c:375:10: warning: Either the condition '(txt=malloc(strlen(special)+1))==NULL' is redundant or there is possible null pointer dereference: txt. [nullPointerRedundantCheck] dvipng-1.15/special.c:373:38: note: Assuming that condition '(txt=malloc(strlen(special)+1))==NULL' is not redundant dvipng-1.15/special.c:375:10: note: Null pointer dereference dvipng-1.15/special.c:392:18: warning: Either the condition '(buffer=malloc(end-start+1))==NULL' is redundant or there is possible null pointer dereference: buffer. [nullPointerRedundantCheck] dvipng-1.15/special.c:390:35: note: Assuming that condition '(buffer=malloc(end-start+1))==NULL' is not redundant dvipng-1.15/special.c:392:18: note: Null pointer dereference dvipng-1.15/special.c:397:15: warning: Either the condition 'special' is redundant or there is possible null pointer dereference: special. [nullPointerRedundantCheck] dvipng-1.15/special.c:395:3: note: Assuming that condition 'special' is not redundant dvipng-1.15/special.c:397:15: note: Null pointer dereference dvipng-1.15/special.c:405:17: warning: Either the condition 'special' is redundant or there is possible null pointer dereference: special. [nullPointerRedundantCheck] dvipng-1.15/special.c:404:5: note: Assuming that condition 'special' is not redundant dvipng-1.15/special.c:405:17: note: Null pointer dereference dvipng-1.15/special.c:656:17: warning: Either the condition 'special' is redundant or there is possible null pointer dereference: special. [nullPointerRedundantCheck] dvipng-1.15/special.c:655:5: note: Assuming that condition 'special' is not redundant dvipng-1.15/special.c:656:17: note: Null pointer dereference dvipng-1.15/special.c:784:9: warning: Either the condition '(txt=malloc(strlen(newspecial)+1))==NULL' is redundant or there is possible null pointer dereference: txt. [nullPointerRedundantCheck] dvipng-1.15/special.c:782:40: note: Assuming that condition '(txt=malloc(strlen(newspecial)+1))==NULL' is not redundant dvipng-1.15/special.c:784:9: note: Null pointer dereference dvipng-1.15/special.c:793:9: warning: Either the condition '(special=malloc(strlen(newspecial)+1))==NULL' is redundant or there is possible null pointer dereference: special. [nullPointerRedundantCheck] dvipng-1.15/special.c:791:44: note: Assuming that condition '(special=malloc(strlen(newspecial)+1))==NULL' is not redundant dvipng-1.15/special.c:793:9: note: Null pointer dereference dvipng-1.15/special.c:383:23: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] dvipng-1.15/special.c:383:36: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] dvipng-1.15/tfm.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/tfm.c:70:18: warning: Either the condition 'c>=255+1' is redundant or the array 'tfontp->chr[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] dvipng-1.15/tfm.c:68:13: note: Assuming that condition 'c>=255+1' is not redundant dvipng-1.15/tfm.c:70:18: note: Array index out of bounds dvipng-1.15/tfm.c:50:7: warning: Either the condition '(width=malloc(nw*sizeof(dviunits)))==NULL' is redundant or there is possible null pointer dereference: width. [nullPointerRedundantCheck] dvipng-1.15/tfm.c:45:44: note: Assuming that condition '(width=malloc(nw*sizeof(dviunits)))==NULL' is not redundant dvipng-1.15/tfm.c:50:7: note: Null pointer dereference dvipng-1.15/tfm.c:62:7: warning: Either the condition '(tcharptr=malloc(sizeof(struct char_entry)))==NULL' is redundant or there is possible null pointer dereference: tcharptr. [nullPointerRedundantCheck] dvipng-1.15/tfm.c:60:55: note: Assuming that condition '(tcharptr=malloc(sizeof(struct char_entry)))==NULL' is not redundant dvipng-1.15/tfm.c:62:7: note: Null pointer dereference dvipng-1.15/tfm.c:63:7: warning: Either the condition '(tcharptr=malloc(sizeof(struct char_entry)))==NULL' is redundant or there is possible null pointer dereference: tcharptr. [nullPointerRedundantCheck] dvipng-1.15/tfm.c:60:55: note: Assuming that condition '(tcharptr=malloc(sizeof(struct char_entry)))==NULL' is not redundant dvipng-1.15/tfm.c:63:7: note: Null pointer dereference dvipng-1.15/vf.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/vf.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dvipng-1.15/vf.c:120:16: warning: Either the condition 'c>=255+1' is redundant or the array 'tfontp->chr[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] dvipng-1.15/vf.c:118:11: note: Assuming that condition 'c>=255+1' is not redundant dvipng-1.15/vf.c:120:16: note: Array index out of bounds dvipng-1.15/vf.c:73:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/vf.c:76:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/vf.c:114:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/vf.c:114:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dvipng-1.15/vf.c:51:33: style:inconclusive: Function 'InitVF' argument 1 names different: declaration 'newfontp' definition 'tfontp'. [funcArgNamesDifferent] dvipng-1.15/dvipng.h:284:36: note: Function 'InitVF' argument 1 names different: declaration 'newfontp' definition 'tfontp'. dvipng-1.15/vf.c:51:33: note: Function 'InitVF' argument 1 names different: declaration 'newfontp' definition 'tfontp'. dvipng-1.15/vf.c:127:32: style:inconclusive: Function 'DoneVF' argument 1 names different: declaration 'oldfontp' definition 'tfontp'. [funcArgNamesDifferent] dvipng-1.15/dvipng.h:285:35: note: Function 'DoneVF' argument 1 names different: declaration 'oldfontp' definition 'tfontp'. dvipng-1.15/vf.c:127:32: note: Function 'DoneVF' argument 1 names different: declaration 'oldfontp' definition 'tfontp'. dvipng-1.15/vf.c:33:27: style: Variable 'end' can be declared as pointer to const [constVariablePointer] diff: head dvipng-1.15/color.c:104:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/color.c:215:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/color.c:257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/color.c:374:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/color.c:383:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/color.c:390:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/color.c:399:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/color.c:406:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/color.c:422:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/draw.c:138:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/draw.c:278:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/draw.c:287:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/draw.c:306:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/draw.c:357:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/dvi.c:143:8: error: Dereferencing 'dvi' after it is deallocated / released [deallocuse] head dvipng-1.15/dvi.c:165:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/dvi.c:186:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/dvi.c:235:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/dvi.c:292:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/dvi.c:327:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/dvi.c:412:45: style: Parameter 'dvi' can be declared as pointer to const [constParameterPointer] head dvipng-1.15/dvi.c:480:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/dvi.c:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/font.c:206:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/fontmap.c:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/ft.c:99:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/misc.c:711:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/misc.c:738:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/misc.c:756:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/misc.c:768:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/pk.c:131:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/pk.c:316:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/set.c:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/set.c:199:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdAlphaMax [valueFlowBailoutIncompleteVar] head dvipng-1.15/set.c:223:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdAlphaMax [valueFlowBailoutIncompleteVar] head dvipng-1.15/set.c:281:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/sfd.c:149:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/special.c:112:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/special.c:185:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/special.c:317:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/special.c:372:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/special.c:394:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head dvipng-1.15/tfm.c:50:7: warning: Either the condition '(width=malloc(nw*sizeof(dviunits)))==NULL' is redundant or there is possible null pointer dereference: width. [nullPointerRedundantCheck] dvipng-1.15/tfm.c:45:44: note: Assuming that condition '(width=malloc(nw*sizeof(dviunits)))==NULL' is not redundant dvipng-1.15/tfm.c:50:7: note: Null pointer dereference 2.13.0 dvipng-1.15/tfm.c:50:7: warning: Either the condition '(width=malloc(nw*sizeof(int32_t)))==NULL' is redundant or there is possible null pointer dereference: width. [nullPointerRedundantCheck] dvipng-1.15/tfm.c:45:44: note: Assuming that condition '(width=malloc(nw*sizeof(int32_t)))==NULL' is not redundant dvipng-1.15/tfm.c:50:7: note: Null pointer dereference head dvipng-1.15/vf.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] DONE