2025-11-21 06:24 ftp://ftp.de.debian.org/debian/pool/main/f/fitscut/fitscut_1.4.4.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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: 5374cd3 (2025-11-20 15:35:39 +0100) count: 124 124 elapsed-time: 1.4 1.5 head-timing-info: old-timing-info: head results: fitscut-1.4.4/colormap.c:179:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable png_color [valueFlowBailoutIncompleteVar] fitscut-1.4.4/extract.c:102:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READONLY [valueFlowBailoutIncompleteVar] fitscut-1.4.4/file_check.c:67:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fitscut-1.4.4/extract.c:255:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fitscut-1.4.4/file_check.c:83:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fitscut-1.4.4/extract.c:264:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLEN_KEYWORD [valueFlowBailoutIncompleteVar] fitscut-1.4.4/file_check.c:149:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fitscut-1.4.4/file_check.c:202:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fitscut-1.4.4/file_check.c:248:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fitscut-1.4.4/colormap.c:187:17: warning: If memory allocation fails, then there is a possible null pointer dereference: palette [nullPointerOutOfMemory] fitscut-1.4.4/colormap.c:179:40: note: Assuming allocation function fails fitscut-1.4.4/colormap.c:179:19: note: Assignment 'palette=(png_color*)malloc(sizeof(png_color)*nvals)', assigned value is 0 fitscut-1.4.4/colormap.c:187:17: note: Null pointer dereference fitscut-1.4.4/colormap.c:189:17: warning: If memory allocation fails, then there is a possible null pointer dereference: palette [nullPointerOutOfMemory] fitscut-1.4.4/colormap.c:179:40: note: Assuming allocation function fails fitscut-1.4.4/colormap.c:179:19: note: Assignment 'palette=(png_color*)malloc(sizeof(png_color)*nvals)', assigned value is 0 fitscut-1.4.4/colormap.c:189:17: note: Null pointer dereference fitscut-1.4.4/colormap.c:191:17: warning: If memory allocation fails, then there is a possible null pointer dereference: palette [nullPointerOutOfMemory] fitscut-1.4.4/colormap.c:179:40: note: Assuming allocation function fails fitscut-1.4.4/colormap.c:179:19: note: Assignment 'palette=(png_color*)malloc(sizeof(png_color)*nvals)', assigned value is 0 fitscut-1.4.4/colormap.c:191:17: note: Null pointer dereference fitscut-1.4.4/file_check.c:99:39: style: Parameter 'oname' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/file_check.c:109:25: style: Parameter 'stat1' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/file_check.c:109:45: style: Parameter 'stat2' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/file_check.c:147:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/file_check.c:169:40: style: Parameter 'ifname' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/getopt.c:414:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fitscut-1.4.4/fitscut.c:191:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fitscut-1.4.4/fitscut.c:224:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fitscut-1.4.4/fitscut.c:231:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fitscut-1.4.4/fitscut.c:237:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fitscut-1.4.4/fitscut.c:245:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fitscut-1.4.4/fitscut.c:554:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] fitscut-1.4.4/histogram.c:69:17: warning: If memory allocation fails, then there is a possible null pointer dereference: hist [nullPointerOutOfMemory] fitscut-1.4.4/histogram.c:65:32: note: Assuming allocation function fails fitscut-1.4.4/histogram.c:65:16: note: Assignment 'hist=(float*)malloc(sizeof(float)*(length+1))', assigned value is 0 fitscut-1.4.4/histogram.c:69:17: note: Null pointer dereference fitscut-1.4.4/histogram.c:114:9: warning: If memory allocation fails, then there is a possible null pointer dereference: part [nullPointerOutOfMemory] fitscut-1.4.4/histogram.c:106:30: note: Assuming allocation function fails fitscut-1.4.4/histogram.c:106:16: note: Assignment 'part=(int*)malloc(sizeof(int)*257)', assigned value is 0 fitscut-1.4.4/histogram.c:114:9: note: Null pointer dereference fitscut-1.4.4/histogram.c:115:9: warning: If memory allocation fails, then there is a possible null pointer dereference: part [nullPointerOutOfMemory] fitscut-1.4.4/histogram.c:106:30: note: Assuming allocation function fails fitscut-1.4.4/histogram.c:106:16: note: Assignment 'part=(int*)malloc(sizeof(int)*257)', assigned value is 0 fitscut-1.4.4/histogram.c:115:9: note: Null pointer dereference fitscut-1.4.4/histogram.c:60:16: style: Variable 'src' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/histogram.c:96:22: style: Parameter 'hist' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/image_scale.c:359:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] fitscut-1.4.4/image_scale.c:401:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] fitscut-1.4.4/draw.c:283:46: style: Condition 'tip_length>10' is always true [knownConditionTrueFalse] fitscut-1.4.4/draw.c:282:24: note: Assuming that condition 'tip_length>10' is not redundant fitscut-1.4.4/draw.c:283:46: note: Condition 'tip_length>10' is always true fitscut-1.4.4/draw.c:295:36: style: Condition 'num_tip_points>3' is always true [knownConditionTrueFalse] fitscut-1.4.4/draw.c:283:52: note: Assignment 'num_tip_points=(tip_length>10)?4:3', assigned value is 4 fitscut-1.4.4/draw.c:295:36: note: Condition 'num_tip_points>3' is always true fitscut-1.4.4/draw.c:371:23: style: Condition 'thickness<1' is always false [knownConditionTrueFalse] fitscut-1.4.4/draw.c:370:21: note: Assignment 'thickness=2', assigned value is 2 fitscut-1.4.4/draw.c:371:23: note: Condition 'thickness<1' is always false fitscut-1.4.4/draw.c:107:16: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:285:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:285:25: note: Assignment 'arrow=(struct drawPoint*)malloc(sizeof(struct drawPoint)*num_tip_points)', assigned value is 0 fitscut-1.4.4/draw.c:307:54: note: Calling function 'draw_filled_polygon', 3rd argument 'arrow' value is 0 fitscut-1.4.4/draw.c:102:13: note: Assuming condition is false fitscut-1.4.4/draw.c:107:16: note: Null pointer dereference fitscut-1.4.4/draw.c:108:16: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:285:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:285:25: note: Assignment 'arrow=(struct drawPoint*)malloc(sizeof(struct drawPoint)*num_tip_points)', assigned value is 0 fitscut-1.4.4/draw.c:307:54: note: Calling function 'draw_filled_polygon', 3rd argument 'arrow' value is 0 fitscut-1.4.4/draw.c:102:13: note: Assuming condition is false fitscut-1.4.4/draw.c:108:16: note: Null pointer dereference fitscut-1.4.4/draw.c:110:21: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:285:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:285:25: note: Assignment 'arrow=(struct drawPoint*)malloc(sizeof(struct drawPoint)*num_tip_points)', assigned value is 0 fitscut-1.4.4/draw.c:307:54: note: Calling function 'draw_filled_polygon', 3rd argument 'arrow' value is 0 fitscut-1.4.4/draw.c:110:21: note: Null pointer dereference fitscut-1.4.4/draw.c:112:21: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:317:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:317:25: note: Assignment 'shaft=(struct drawPoint*)malloc(sizeof(struct drawPoint)*4)', assigned value is 0 fitscut-1.4.4/draw.c:332:54: note: Calling function 'draw_filled_polygon', 3rd argument 'shaft' value is 0 fitscut-1.4.4/draw.c:112:21: note: Null pointer dereference fitscut-1.4.4/draw.c:287:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arrow [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:285:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:285:25: note: Assignment 'arrow=(struct drawPoint*)malloc(sizeof(struct drawPoint)*num_tip_points)', assigned value is 0 fitscut-1.4.4/draw.c:287:17: note: Null pointer dereference fitscut-1.4.4/draw.c:288:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arrow [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:285:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:285:25: note: Assignment 'arrow=(struct drawPoint*)malloc(sizeof(struct drawPoint)*num_tip_points)', assigned value is 0 fitscut-1.4.4/draw.c:288:17: note: Null pointer dereference fitscut-1.4.4/draw.c:289:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arrow [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:285:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:285:25: note: Assignment 'arrow=(struct drawPoint*)malloc(sizeof(struct drawPoint)*num_tip_points)', assigned value is 0 fitscut-1.4.4/draw.c:289:17: note: Null pointer dereference fitscut-1.4.4/draw.c:290:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arrow [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:285:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:285:25: note: Assignment 'arrow=(struct drawPoint*)malloc(sizeof(struct drawPoint)*num_tip_points)', assigned value is 0 fitscut-1.4.4/draw.c:290:17: note: Null pointer dereference fitscut-1.4.4/draw.c:292:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arrow [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:285:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:285:25: note: Assignment 'arrow=(struct drawPoint*)malloc(sizeof(struct drawPoint)*num_tip_points)', assigned value is 0 fitscut-1.4.4/draw.c:292:17: note: Null pointer dereference fitscut-1.4.4/draw.c:293:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arrow [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:285:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:285:25: note: Assignment 'arrow=(struct drawPoint*)malloc(sizeof(struct drawPoint)*num_tip_points)', assigned value is 0 fitscut-1.4.4/draw.c:293:17: note: Null pointer dereference fitscut-1.4.4/draw.c:302:25: warning: If memory allocation fails, then there is a possible null pointer dereference: arrow [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:285:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:285:25: note: Assignment 'arrow=(struct drawPoint*)malloc(sizeof(struct drawPoint)*num_tip_points)', assigned value is 0 fitscut-1.4.4/draw.c:302:25: note: Null pointer dereference fitscut-1.4.4/draw.c:303:25: warning: If memory allocation fails, then there is a possible null pointer dereference: arrow [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:285:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:285:25: note: Assignment 'arrow=(struct drawPoint*)malloc(sizeof(struct drawPoint)*num_tip_points)', assigned value is 0 fitscut-1.4.4/draw.c:303:25: note: Null pointer dereference fitscut-1.4.4/draw.c:321:17: warning: If memory allocation fails, then there is a possible null pointer dereference: shaft [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:317:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:317:25: note: Assignment 'shaft=(struct drawPoint*)malloc(sizeof(struct drawPoint)*4)', assigned value is 0 fitscut-1.4.4/draw.c:321:17: note: Null pointer dereference fitscut-1.4.4/draw.c:322:17: warning: If memory allocation fails, then there is a possible null pointer dereference: shaft [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:317:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:317:25: note: Assignment 'shaft=(struct drawPoint*)malloc(sizeof(struct drawPoint)*4)', assigned value is 0 fitscut-1.4.4/draw.c:322:17: note: Null pointer dereference fitscut-1.4.4/draw.c:323:17: warning: If memory allocation fails, then there is a possible null pointer dereference: shaft [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:317:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:317:25: note: Assignment 'shaft=(struct drawPoint*)malloc(sizeof(struct drawPoint)*4)', assigned value is 0 fitscut-1.4.4/draw.c:323:17: note: Null pointer dereference fitscut-1.4.4/draw.c:324:17: warning: If memory allocation fails, then there is a possible null pointer dereference: shaft [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:317:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:317:25: note: Assignment 'shaft=(struct drawPoint*)malloc(sizeof(struct drawPoint)*4)', assigned value is 0 fitscut-1.4.4/draw.c:324:17: note: Null pointer dereference fitscut-1.4.4/draw.c:328:17: warning: If memory allocation fails, then there is a possible null pointer dereference: shaft [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:317:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:317:25: note: Assignment 'shaft=(struct drawPoint*)malloc(sizeof(struct drawPoint)*4)', assigned value is 0 fitscut-1.4.4/draw.c:328:17: note: Null pointer dereference fitscut-1.4.4/draw.c:329:17: warning: If memory allocation fails, then there is a possible null pointer dereference: shaft [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:317:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:317:25: note: Assignment 'shaft=(struct drawPoint*)malloc(sizeof(struct drawPoint)*4)', assigned value is 0 fitscut-1.4.4/draw.c:329:17: note: Null pointer dereference fitscut-1.4.4/draw.c:330:17: warning: If memory allocation fails, then there is a possible null pointer dereference: shaft [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:317:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:317:25: note: Assignment 'shaft=(struct drawPoint*)malloc(sizeof(struct drawPoint)*4)', assigned value is 0 fitscut-1.4.4/draw.c:330:17: note: Null pointer dereference fitscut-1.4.4/draw.c:331:17: warning: If memory allocation fails, then there is a possible null pointer dereference: shaft [nullPointerOutOfMemory] fitscut-1.4.4/draw.c:317:46: note: Assuming allocation function fails fitscut-1.4.4/draw.c:317:25: note: Assignment 'shaft=(struct drawPoint*)malloc(sizeof(struct drawPoint)*4)', assigned value is 0 fitscut-1.4.4/draw.c:331:17: note: Null pointer dereference fitscut-1.4.4/draw.c:58:23: style: Parameter 'invec' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/output_fits.c:108:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFLOAT [valueFlowBailoutIncompleteVar] fitscut-1.4.4/output_fits.c:139:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLEN_KEYWORD [valueFlowBailoutIncompleteVar] fitscut-1.4.4/output_fits.c:198:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLOAT_IMG [valueFlowBailoutIncompleteVar] fitscut-1.4.4/output_fits.c:126:29: style: Checking if unsigned expression 'strlen(ofname)' is less than zero. [unsignedLessThanZero] fitscut-1.4.4/getopt.c:575:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/output_jpg.c:287:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fitscut-1.4.4/output_png.c:280:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fitscut-1.4.4/output_jpg.c:151:17: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] fitscut-1.4.4/output_jpg.c:83:30: style: Parameter 'arrayp' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/output_png.c:153:17: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] fitscut-1.4.4/output_png.c:87:30: style: Parameter 'arrayp' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/image_scale.c:231:29: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] fitscut-1.4.4/image_scale.c:232:34: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] fitscut-1.4.4/image_scale.c:128:16: style: Variable 'src' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/image_scale.c:185:16: style: Variable 'hist' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/image_scale.c:363:16: style: Variable 'arrayp' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/util.c:107:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/util.c:109:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/util.c:79:25: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] fitscut-1.4.4/util.c:70:33: note: Assuming allocation function fails fitscut-1.4.4/util.c:70:16: note: Assignment 'list=(float*)malloc(sizeof(float)*nresult)', assigned value is 0 fitscut-1.4.4/util.c:79:25: note: Null pointer dereference fitscut-1.4.4/util.c:111:17: warning: If memory allocation fails, then there is a possible null pointer dereference: xp [nullPointerOutOfMemory] fitscut-1.4.4/util.c:102:30: note: Assuming allocation function fails fitscut-1.4.4/util.c:102:14: note: Assignment 'xp=(float*)malloc(sizeof(float)*count)', assigned value is 0 fitscut-1.4.4/util.c:111:17: note: Null pointer dereference fitscut-1.4.4/util.c:112:17: warning: If memory allocation fails, then there is a possible null pointer dereference: yp [nullPointerOutOfMemory] fitscut-1.4.4/util.c:103:30: note: Assuming allocation function fails fitscut-1.4.4/util.c:103:14: note: Assignment 'yp=(float*)malloc(sizeof(float)*count)', assigned value is 0 fitscut-1.4.4/util.c:112:17: note: Null pointer dereference fitscut-1.4.4/util.c:62:42: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/util.c:62:53: style: Parameter 'py' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/util.c:87:26: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/util.c:90:15: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/wcs_align.c:175:17: warning: If memory allocation fails, then there is a possible null pointer dereference: image_out [nullPointerOutOfMemory] fitscut-1.4.4/wcs_align.c:174:37: note: Assuming allocation function fails fitscut-1.4.4/wcs_align.c:174:21: note: Assignment 'image_out=(char*)malloc(nbytes)', assigned value is 0 fitscut-1.4.4/wcs_align.c:175:17: note: Null pointer dereference fitscut-1.4.4/wcs_align.c:160:17: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] fitscut-1.4.4/wcs_align.c:252:32: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] fitscut-1.4.4/wcs_align.c:308:23: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] fitscut-1.4.4/wcs_align.c:313:23: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] fitscut-1.4.4/wcs_align.c:387:23: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] fitscut-1.4.4/wcs_align.c:392:23: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] fitscut-1.4.4/resize.c:126:17: warning: If memory allocation fails, then there is a possible null pointer dereference: x_dest_offsets [nullPointerOutOfMemory] fitscut-1.4.4/resize.c:114:41: note: Assuming allocation function fails fitscut-1.4.4/resize.c:114:26: note: Assignment 'x_dest_offsets=(int*)malloc(orig_width*sizeof(int))', assigned value is 0 fitscut-1.4.4/resize.c:126:17: note: Null pointer dereference fitscut-1.4.4/resize.c:134:17: warning: If memory allocation fails, then there is a possible null pointer dereference: y_dest_offsets [nullPointerOutOfMemory] fitscut-1.4.4/resize.c:115:41: note: Assuming allocation function fails fitscut-1.4.4/resize.c:115:26: note: Assignment 'y_dest_offsets=(int*)malloc(orig_height*sizeof(int))', assigned value is 0 fitscut-1.4.4/resize.c:134:17: note: Null pointer dereference fitscut-1.4.4/resize.c:141:36: warning: If memory allocation fails, then there is a possible null pointer dereference: y_dest_offsets [nullPointerOutOfMemory] fitscut-1.4.4/resize.c:115:41: note: Assuming allocation function fails fitscut-1.4.4/resize.c:115:26: note: Assignment 'y_dest_offsets=(int*)malloc(orig_height*sizeof(int))', assigned value is 0 fitscut-1.4.4/resize.c:141:36: note: Null pointer dereference fitscut-1.4.4/resize.c:202:17: warning: If memory allocation fails, then there is a possible null pointer dereference: x_src_offsets [nullPointerOutOfMemory] fitscut-1.4.4/resize.c:195:40: note: Assuming allocation function fails fitscut-1.4.4/resize.c:195:25: note: Assignment 'x_src_offsets=(int*)malloc(width*bytes)', assigned value is 0 fitscut-1.4.4/resize.c:202:17: note: Null pointer dereference fitscut-1.4.4/resize.c:205:17: warning: If memory allocation fails, then there is a possible null pointer dereference: y_src_offsets [nullPointerOutOfMemory] fitscut-1.4.4/resize.c:196:40: note: Assuming allocation function fails fitscut-1.4.4/resize.c:196:25: note: Assignment 'y_src_offsets=(int*)malloc(height*bytes)', assigned value is 0 fitscut-1.4.4/resize.c:205:17: note: Null pointer dereference fitscut-1.4.4/resize.c:214:21: warning: If memory allocation fails, then there is a possible null pointer dereference: y_src_offsets [nullPointerOutOfMemory] fitscut-1.4.4/resize.c:196:40: note: Assuming allocation function fails fitscut-1.4.4/resize.c:196:25: note: Assignment 'y_src_offsets=(int*)malloc(height*bytes)', assigned value is 0 fitscut-1.4.4/resize.c:214:21: note: Null pointer dereference fitscut-1.4.4/resize.c:253:33: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] fitscut-1.4.4/resize.c:116:33: note: Assuming allocation function fails fitscut-1.4.4/resize.c:116:16: note: Assignment 'src=(float*)calloc(orig_width*bytes,1)', assigned value is 0 fitscut-1.4.4/resize.c:150:66: note: Calling function 'image_get_row', 6th argument 'src' value is 0 fitscut-1.4.4/resize.c:253:33: note: Null pointer dereference fitscut-1.4.4/resize.c:281:32: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] fitscut-1.4.4/resize.c:198:33: note: Assuming allocation function fails fitscut-1.4.4/resize.c:198:16: note: Assignment 'dest=(float*)calloc(width*bytes,1)', assigned value is 0 fitscut-1.4.4/resize.c:222:62: note: Calling function 'image_set_row', 6th argument 'dest' value is 0 fitscut-1.4.4/resize.c:281:32: note: Null pointer dereference fitscut-1.4.4/wcs_align.c:272:16: style: Variable 'im2' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/wcs_align.c:273:14: style: Variable 'im4' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/wcs_align.c:274:25: style: Variable 'imu' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/wcs_align.c:275:16: style: Variable 'imr' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/wcs_align.c:276:17: style: Variable 'imd' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/resize.c:239:16: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/wcs_align.c:64:14: style: Variable 'xpix' is assigned a value that is never used. [unreadVariable] fitscut-1.4.4/wcs_align.c:65:14: style: Variable 'ypix' is assigned a value that is never used. [unreadVariable] fitscut-1.4.4/fitscut.c:620:56: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:623:64: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:643:56: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:646:64: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:649:72: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:667:56: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:670:64: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:673:72: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:710:56: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:713:64: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:716:72: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:770:56: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:773:64: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:776:72: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:796:56: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:799:64: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:802:72: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fitscut-1.4.4/fitscut.c:222:22: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] fitscut-1.4.4/fitscut.c:527:15: style: Variable 'cmap_name' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/fitscut.c:529:15: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] fitscut-1.4.4/fitscut.c:446:37: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] diff: DONE