2025-06-30 17:36 ftp://ftp.de.debian.org/debian/pool/main/s/skimage/skimage_0.25.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openmp --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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 1cff895 (2025-06-30 17:30:57 +0200) count: 112 110 elapsed-time: 5.1 4.8 head-timing-info: old-timing-info: head results: scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:447:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable input_mask [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:514:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable input_mask [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:649:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:639:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pixel_pointer [nullPointerOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:725:15: note: Calling function 'unwrapImage', 1st argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:636:27: note: Assignment 'pixel_pointer=pixel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:639:5: note: Null pointer dereference scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:639:46: warning: If memory allocation fails, then there is a possible null pointer dereference: pixel_pointer [nullPointerOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:725:15: note: Calling function 'unwrapImage', 1st argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:636:27: note: Assignment 'pixel_pointer=pixel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:639:46: note: Null pointer dereference scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:687:32: warning: If memory allocation fails, then there is a possible null pointer dereference: pixel_pointer [nullPointerOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:731:15: note: Calling function 'returnImage', 1st argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:684:27: note: Assignment 'pixel_pointer=pixel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:687:32: note: Null pointer dereference scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:227:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:705:42: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:705:19: note: Assignment 'extended_mask=(unsigned char*)calloc(image_size,sizeof(unsigned char))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:709:27: note: Calling function 'extend_mask', 2nd argument 'extended_mask' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:227:38: note: Null pointer addition scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:326:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:712:40: note: Calling function 'calculate_reliability', 2nd argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:326:33: note: Null pointer addition scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:490:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:707:24: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:707:10: note: Assignment 'edge=(struct EDGE*)calloc(No_of_Edges_initially,sizeof(struct EDGE))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:715:24: note: Calling function 'verticalEDGEs', 2nd argument 'edge' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:490:29: note: Null pointer addition scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:640:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:725:15: note: Calling function 'unwrapImage', 1st argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:636:27: note: Assignment 'pixel_pointer=pixel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:640:18: note: Null pointer addition scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:688:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:731:15: note: Calling function 'returnImage', 1st argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:684:27: note: Assignment 'pixel_pointer=pixel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:688:18: note: Null pointer addition scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:353:13: style: Local variable 'pixel_pointer' shadows outer variable [shadowVariable] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:326:11: note: Shadowed declaration scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:353:13: note: Shadow variable scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:354:13: style: Local variable 'WIP' shadows outer variable [shadowVariable] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:327:11: note: Shadowed declaration scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:354:13: note: Shadow variable scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:394:13: style: Local variable 'pixel_pointer' shadows outer variable [shadowVariable] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:326:11: note: Shadowed declaration scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:394:13: note: Shadow variable scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:395:13: style: Local variable 'WIP' shadows outer variable [shadowVariable] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:327:11: note: Shadowed declaration scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:395:13: note: Shadow variable scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:101:37: style: Parameter 'right' can be declared as pointer to const [constParameterPointer] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:162:11: style: Variable 'wrapped_image_pointer' can be declared as pointer to const [constVariablePointer] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:163:18: style: Variable 'input_mask_pointer' can be declared as pointer to const [constVariablePointer] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:164:18: style: Variable 'extended_mask_pointer' can be declared as pointer to const [constVariablePointer] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:222:63: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:323:56: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:535:41: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:648:18: style: Variable 'IMP' can be declared as pointer to const [constVariablePointer] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:684:11: style: Variable 'pixel_pointer' can be declared as pointer to const [constVariablePointer] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:44:10: style: struct member 'params_t::mod' is never used. [unusedStructMember] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:31:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _cube [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:80:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _k [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:115:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ext_data [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:136:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _nverts [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:150:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ext_data [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:172:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _vertices [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:194:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _k [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:243:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _cube [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:273:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _case [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:429:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _originalMC [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:771:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _i [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:823:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _size_x [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:838:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _size_y [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:853:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _size_z [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:869:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _nverts [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:885:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _vertices [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:914:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _vertices [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:942:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _vertices [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:970:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _vertices [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1037:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _size_x [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1112:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLY_ASCII [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1195:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Nverts [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1286:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _nverts [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:804:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable input_mask [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1063:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1038:33: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assignment 'fp=fopen(fn,"wb")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1038:33: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1040:33: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assignment 'fp=fopen(fn,"wb")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1040:33: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1042:33: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assignment 'fp=fopen(fn,"wb")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1042:33: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1045:33: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assignment 'fp=fopen(fn,"wb")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1045:33: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1047:33: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assignment 'fp=fopen(fn,"wb")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1047:33: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1049:33: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assignment 'fp=fopen(fn,"wb")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1049:33: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1051:33: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assignment 'fp=fopen(fn,"wb")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1051:33: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1053:33: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assignment 'fp=fopen(fn,"wb")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1053:33: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1055:33: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assignment 'fp=fopen(fn,"wb")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1055:33: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1064:39: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assignment 'fp=fopen(fn,"wb")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1064:39: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1069:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1034:19: note: Assignment 'fp=fopen(fn,"wb")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1069:10: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1150:11: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1105:25: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1105:25: note: Assignment 'fp=fopen(fn,"w")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1150:11: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1285:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assignment 'fp=fopen(fn,"w")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1285:12: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1287:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assignment 'fp=fopen(fn,"w")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1287:14: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1290:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assignment 'fp=fopen(fn,"w")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1290:12: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1292:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assignment 'fp=fopen(fn,"w")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1292:14: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1294:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assignment 'fp=fopen(fn,"w")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1294:12: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1296:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assignment 'fp=fopen(fn,"w")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1296:14: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1298:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assignment 'fp=fopen(fn,"w")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1298:12: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1299:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assuming allocation function fails scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1280:19: note: Assignment 'fp=fopen(fn,"w")', assigned value is 0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1299:11: note: Null pointer dereference scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1132:28: style: C-style pointer casting [cstyleCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1144:28: style: C-style pointer casting [cstyleCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1227:32: style: C-style pointer casting [cstyleCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1242:32: style: C-style pointer casting [cstyleCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1037:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1039:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1041:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1044:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1046:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1048:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1050:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1052:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1054:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1063:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1044:5: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1046:5: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1048:5: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1050:5: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1052:5: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1054:5: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1063:11: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1053:5: warning: If memory allocation fails, then there is a possible null pointer dereference: voxel_pointer [nullPointerOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1145:16: note: Calling function 'unwrapVolume', 1st argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1050:27: note: Assignment 'voxel_pointer=voxel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1053:5: note: Null pointer dereference scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1053:46: warning: If memory allocation fails, then there is a possible null pointer dereference: voxel_pointer [nullPointerOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1145:16: note: Calling function 'unwrapVolume', 1st argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1050:27: note: Assignment 'voxel_pointer=voxel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1053:46: note: Null pointer dereference scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1101:32: warning: If memory allocation fails, then there is a possible null pointer dereference: voxel_pointer [nullPointerOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1150:16: note: Calling function 'returnVolume', 1st argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1098:27: note: Assignment 'voxel_pointer=voxel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1101:32: note: Null pointer dereference scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:241:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1119:42: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1119:19: note: Assignment 'extended_mask=(unsigned char*)calloc(volume_size,sizeof(unsigned char))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1124:27: note: Calling function 'extend_mask', 2nd argument 'extended_mask' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:241:21: note: Null pointer addition scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:474:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1128:41: note: Calling function 'calculate_reliability', 2nd argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:474:25: note: Null pointer addition scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:847:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:24: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:10: note: Assignment 'edge=(struct EDGE*)calloc(No_of_Edges_initially,sizeof(struct EDGE))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1132:24: note: Calling function 'verticalEDGEs', 2nd argument 'edge' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:847:29: note: Null pointer addition scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:901:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:24: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:10: note: Assignment 'edge=(struct EDGE*)calloc(No_of_Edges_initially,sizeof(struct EDGE))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1134:22: note: Calling function 'normalEDGEs', 2nd argument 'edge' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:901:29: note: Null pointer addition scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1054:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1145:16: note: Calling function 'unwrapVolume', 1st argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1050:27: note: Assignment 'voxel_pointer=voxel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1054:18: note: Null pointer addition scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1102:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1150:16: note: Calling function 'returnVolume', 1st argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1098:27: note: Assignment 'voxel_pointer=voxel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1102:18: note: Null pointer addition scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:234:7: style: Same expression used in consecutive assignments of 'fs' and 'frame_size'. [duplicateAssignExpression] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:235:7: note: Same expression used in consecutive assignments of 'fs' and 'frame_size'. scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:234:7: note: Same expression used in consecutive assignments of 'fs' and 'frame_size'. scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:448:51: style: Same expression '*(IMP-fs+vw)==0' found multiple times in chain of '&&' operators. [duplicateExpression] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:106:37: style: Parameter 'right' can be declared as pointer to const [constParameterPointer] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:168:11: style: Variable 'wrapped_volume_pointer' can be declared as pointer to const [constVariablePointer] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:169:18: style: Variable 'input_mask_pointer' can be declared as pointer to const [constVariablePointer] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:170:18: style: Variable 'extended_mask_pointer' can be declared as pointer to const [constVariablePointer] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:231:28: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:465:56: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:946:41: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1062:18: style: Variable 'IMP' can be declared as pointer to const [constVariablePointer] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1098:11: style: Variable 'voxel_pointer' can be declared as pointer to const [constVariablePointer] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:46:10: style: struct member 'params_t::mod' is never used. [unusedStructMember] diff: 2.17.0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:227:38: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:705:42: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:705:19: note: Assignment 'extended_mask=(unsigned char*)calloc(image_size,sizeof(unsigned char))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:709:27: note: Calling function 'extend_mask', 2nd argument 'extended_mask' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:227:38: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:227:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:705:42: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:705:19: note: Assignment 'extended_mask=(unsigned char*)calloc(image_size,sizeof(unsigned char))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:709:27: note: Calling function 'extend_mask', 2nd argument 'extended_mask' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:227:38: note: Null pointer addition 2.17.0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:326:33: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:712:40: note: Calling function 'calculate_reliability', 2nd argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:326:33: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:326:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:712:40: note: Calling function 'calculate_reliability', 2nd argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:326:33: note: Null pointer addition 2.17.0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:490:29: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:707:24: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:707:10: note: Assignment 'edge=(struct EDGE*)calloc(No_of_Edges_initially,sizeof(struct EDGE))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:715:24: note: Calling function 'verticalEDGEs', 2nd argument 'edge' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:490:29: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:490:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:707:24: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:707:10: note: Assignment 'edge=(struct EDGE*)calloc(No_of_Edges_initially,sizeof(struct EDGE))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:715:24: note: Calling function 'verticalEDGEs', 2nd argument 'edge' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:490:29: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:639:46: warning: If memory allocation fails, then there is a possible null pointer dereference: pixel_pointer [nullPointerOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:725:15: note: Calling function 'unwrapImage', 1st argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:636:27: note: Assignment 'pixel_pointer=pixel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:639:46: note: Null pointer dereference 2.17.0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:640:18: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:725:15: note: Calling function 'unwrapImage', 1st argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:636:27: note: Assignment 'pixel_pointer=pixel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:640:18: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:640:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:725:15: note: Calling function 'unwrapImage', 1st argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:636:27: note: Assignment 'pixel_pointer=pixel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:640:18: note: Null pointer addition 2.17.0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:688:18: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:731:15: note: Calling function 'returnImage', 1st argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:684:27: note: Assignment 'pixel_pointer=pixel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:688:18: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:688:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:706:11: note: Assignment 'pixel=(struct PIXELM*)calloc(image_size,sizeof(struct PIXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:731:15: note: Calling function 'returnImage', 1st argument 'pixel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:684:27: note: Assignment 'pixel_pointer=pixel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_2d_ljmu.c:688:18: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1053:46: warning: If memory allocation fails, then there is a possible null pointer dereference: voxel_pointer [nullPointerOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1145:16: note: Calling function 'unwrapVolume', 1st argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1050:27: note: Assignment 'voxel_pointer=voxel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1053:46: note: Null pointer dereference 2.17.0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1054:18: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1145:16: note: Calling function 'unwrapVolume', 1st argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1050:27: note: Assignment 'voxel_pointer=voxel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1054:18: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1054:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1145:16: note: Calling function 'unwrapVolume', 1st argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1050:27: note: Assignment 'voxel_pointer=voxel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1054:18: note: Null pointer addition 2.17.0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1102:18: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1150:16: note: Calling function 'returnVolume', 1st argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1098:27: note: Assignment 'voxel_pointer=voxel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1102:18: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1102:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1150:16: note: Calling function 'returnVolume', 1st argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1098:27: note: Assignment 'voxel_pointer=voxel', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1102:18: note: Null pointer addition 2.17.0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:241:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1119:42: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1119:19: note: Assignment 'extended_mask=(unsigned char*)calloc(volume_size,sizeof(unsigned char))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1124:27: note: Calling function 'extend_mask', 2nd argument 'extended_mask' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:241:21: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:241:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1119:42: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1119:19: note: Assignment 'extended_mask=(unsigned char*)calloc(volume_size,sizeof(unsigned char))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1124:27: note: Calling function 'extend_mask', 2nd argument 'extended_mask' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:241:21: note: Null pointer addition 2.17.0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:474:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1128:41: note: Calling function 'calculate_reliability', 2nd argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:474:25: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:474:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:27: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1120:11: note: Assignment 'voxel=(struct VOXELM*)calloc(volume_size,sizeof(struct VOXELM))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1128:41: note: Calling function 'calculate_reliability', 2nd argument 'voxel' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:474:25: note: Null pointer addition 2.17.0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:847:29: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:24: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:10: note: Assignment 'edge=(struct EDGE*)calloc(No_of_Edges_initially,sizeof(struct EDGE))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1132:24: note: Calling function 'verticalEDGEs', 2nd argument 'edge' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:847:29: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:847:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:24: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:10: note: Assignment 'edge=(struct EDGE*)calloc(No_of_Edges_initially,sizeof(struct EDGE))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1132:24: note: Calling function 'verticalEDGEs', 2nd argument 'edge' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:847:29: note: Null pointer addition 2.17.0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:901:29: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:24: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:10: note: Assignment 'edge=(struct EDGE*)calloc(No_of_Edges_initially,sizeof(struct EDGE))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1134:22: note: Calling function 'normalEDGEs', 2nd argument 'edge' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:901:29: note: Null pointer addition head scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:901:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:24: note: Assuming allocation function fails scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1121:10: note: Assignment 'edge=(struct EDGE*)calloc(No_of_Edges_initially,sizeof(struct EDGE))', assigned value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:1134:22: note: Calling function 'normalEDGEs', 2nd argument 'edge' value is 0 scikit-image-0.25.2/skimage/restoration/unwrap_3d_ljmu.c:901:29: note: Null pointer addition 2.17.0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1037:5: style: C-style pointer casting [cstyleCast] head scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1037:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1039:5: style: C-style pointer casting [cstyleCast] head scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1039:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1041:5: style: C-style pointer casting [cstyleCast] head scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1041:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1044:5: style: C-style pointer casting [cstyleCast] head scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1044:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1046:5: style: C-style pointer casting [cstyleCast] head scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1046:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1048:5: style: C-style pointer casting [cstyleCast] head scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1048:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1050:5: style: C-style pointer casting [cstyleCast] head scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1050:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1052:5: style: C-style pointer casting [cstyleCast] head scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1052:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1054:5: style: C-style pointer casting [cstyleCast] head scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1054:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1063:11: style: C-style pointer casting [cstyleCast] head scikit-image-0.25.2/tools/precompute/mc_meta/MarchingCubes.cpp:1063:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] DONE