INFO: No output directory specified (--dir) INFO: Using directory: "Test_Guides_Curved_20250815_012636" INFO: Regenerating c-file: Test_Guides_Curved.c DEBUG: CMD: /home/willend/micromamba/bin/mcstas -t -o ./Test_Guides_Curved.c Test_Guides_Curved.instr Info: 'Guide_curved' is a contributed component. CFLAGS= WARNING: The parameter rTopUpPar of GuideB is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rTopDownPar of GuideB is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rBotUpPar of GuideB is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rBotDownPar of GuideB is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rLeftUpPar of GuideB is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rLeftDownPar of GuideB is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rRightUpPar of GuideB is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rRightDownPar of GuideB is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /home/willend/micromamba/bin/mcstas finished INFO: Linting generated code: ./Test_Guides_Curved.c DEBUG: CMD: cppcheck ./Test_Guides_Curved.c --check-level=exhaustive --force -DMCDEFAULT_NCOUNT=1000000 -UMC_PORTABLE -DND_BUFFER=10000000 -UNOABSORB_INF_NAN -UOMPI_MPI_H -DSIGABRT -DSIGBREAK -DSIGBUS -DSIGPE -DSIGHUP -DSIGILL -DSIGINT -DSIGKILL -DSIGUSR1 -DSIGUSR2 -DSIGPIPE -DSIGQUIT -DSIGSEGV -DSIGTRAP -DSIGURG -DSIGFPE -DSIGKILL -DSIGTERM -UTEST -UUSE_OPENCL -UWIN32 -UOPENACC -UGCCOFFLOAD -U_MSC_VER -U_MSC_EXTENSIONS -U_WIN32 -UWIN32 -D__unix__ -UDANSE -UFUNNEL -UMC_ANCIENT_COMPATIBILITY -UMC_POL_COMPAT -UNEUTRONICS -Uisnan -Uisinf Checking Test_Guides_Curved.c ... Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1... Test_Guides_Curved.c:13839:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] node->depth = depth; ^ Test_Guides_Curved.c:13838:26: note: Assuming allocation function fails treeNode *node = malloc(sizeof(treeNode)); ^ Test_Guides_Curved.c:13838:26: note: Assignment 'node=malloc(sizeof(struct treeNode))', assigned value is 0 treeNode *node = malloc(sizeof(treeNode)); ^ Test_Guides_Curved.c:13839:3: note: Null pointer dereference node->depth = depth; ^ Test_Guides_Curved.c:13842:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] node->point = points[med]; ^ Test_Guides_Curved.c:13838:26: note: Assuming allocation function fails treeNode *node = malloc(sizeof(treeNode)); ^ Test_Guides_Curved.c:13838:26: note: Assignment 'node=malloc(sizeof(struct treeNode))', assigned value is 0 treeNode *node = malloc(sizeof(treeNode)); ^ Test_Guides_Curved.c:13842:3: note: Null pointer dereference node->point = points[med]; ^ Test_Guides_Curved.c:13844:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] node->lChild = kdtree_addToTree(points, left, med-1, depth + 1); ^ Test_Guides_Curved.c:13838:26: note: Assuming allocation function fails treeNode *node = malloc(sizeof(treeNode)); ^ Test_Guides_Curved.c:13838:26: note: Assignment 'node=malloc(sizeof(struct treeNode))', assigned value is 0 treeNode *node = malloc(sizeof(treeNode)); ^ Test_Guides_Curved.c:13844:3: note: Null pointer dereference node->lChild = kdtree_addToTree(points, left, med-1, depth + 1); ^ Test_Guides_Curved.c:13845:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] node->rChild = kdtree_addToTree(points, med+1, right, depth + 1); ^ Test_Guides_Curved.c:13838:26: note: Assuming allocation function fails treeNode *node = malloc(sizeof(treeNode)); ^ Test_Guides_Curved.c:13838:26: note: Assignment 'node=malloc(sizeof(struct treeNode))', assigned value is 0 treeNode *node = malloc(sizeof(treeNode)); ^ Test_Guides_Curved.c:13845:3: note: Null pointer dereference node->rChild = kdtree_addToTree(points, med+1, right, depth + 1); ^ Test_Guides_Curved.c:13971:9: warning: If memory allocation fails, then there is a possible null pointer dereference: indices [nullPointerOutOfMemory] if (indices[i] < 0) indices[i]=0; ^ Test_Guides_Curved.c:14253:27: note: Assuming allocation function fails long *indices = malloc((int)interpolator->space_dimensionality*sizeof(double)); ^ Test_Guides_Curved.c:14253:27: note: Assignment 'indices=malloc((int)interpolator->space_dimensionality*sizeof(double))', assigned value is 0 long *indices = malloc((int)interpolator->space_dimensionality*sizeof(double)); ^ Test_Guides_Curved.c:14257:60: note: Calling function 'interpolator_offset', 3rd argument 'indices' value is 0 long index = interpolator_offset(3, interpolator->bin, indices); ^ Test_Guides_Curved.c:13971:9: note: Null pointer dereference if (indices[i] < 0) indices[i]=0; ^ Test_Guides_Curved.c:13972:9: warning: If memory allocation fails, then there is a possible null pointer dereference: indices [nullPointerOutOfMemory] if (indices[i] >= dimInfo[i]) indices[i]=dimInfo[i]-1; ^ Test_Guides_Curved.c:14253:27: note: Assuming allocation function fails long *indices = malloc((int)interpolator->space_dimensionality*sizeof(double)); ^ Test_Guides_Curved.c:14253:27: note: Assignment 'indices=malloc((int)interpolator->space_dimensionality*sizeof(double))', assigned value is 0 long *indices = malloc((int)interpolator->space_dimensionality*sizeof(double)); ^ Test_Guides_Curved.c:14257:60: note: Calling function 'interpolator_offset', 3rd argument 'indices' value is 0 long index = interpolator_offset(3, interpolator->bin, indices); ^ Test_Guides_Curved.c:13972:9: note: Null pointer dereference if (indices[i] >= dimInfo[i]) indices[i]=dimInfo[i]-1; ^ Test_Guides_Curved.c:13976:23: warning: If memory allocation fails, then there is a possible null pointer dereference: indices [nullPointerOutOfMemory] result = i == 0 ? indices[0] ^ Test_Guides_Curved.c:14253:27: note: Assuming allocation function fails long *indices = malloc((int)interpolator->space_dimensionality*sizeof(double)); ^ Test_Guides_Curved.c:14253:27: note: Assignment 'indices=malloc((int)interpolator->space_dimensionality*sizeof(double))', assigned value is 0 long *indices = malloc((int)interpolator->space_dimensionality*sizeof(double)); ^ Test_Guides_Curved.c:14257:60: note: Calling function 'interpolator_offset', 3rd argument 'indices' value is 0 long index = interpolator_offset(3, interpolator->bin, indices); ^ Test_Guides_Curved.c:13976:23: note: Null pointer dereference result = i == 0 ? indices[0] ^ Test_Guides_Curved.c:13977:45: warning: If memory allocation fails, then there is a possible null pointer dereference: indices [nullPointerOutOfMemory] : result * dimInfo[i] + indices[i]; ^ Test_Guides_Curved.c:14253:27: note: Assuming allocation function fails long *indices = malloc((int)interpolator->space_dimensionality*sizeof(double)); ^ Test_Guides_Curved.c:14253:27: note: Assignment 'indices=malloc((int)interpolator->space_dimensionality*sizeof(double))', assigned value is 0 long *indices = malloc((int)interpolator->space_dimensionality*sizeof(double)); ^ Test_Guides_Curved.c:14257:60: note: Calling function 'interpolator_offset', 3rd argument 'indices' value is 0 long index = interpolator_offset(3, interpolator->bin, indices); ^ Test_Guides_Curved.c:13977:45: note: Null pointer dereference : result * dimInfo[i] + indices[i]; ^ Test_Guides_Curved.c:14070:7: warning: If memory allocation fails, then there is a possible null pointer dereference: vector [nullPointerOutOfMemory] vector[index] = x; ^ Test_Guides_Curved.c:14062:38: note: Assuming allocation function fails double* vector = (double*) calloc(sizeof(double), table.rows); ^ Test_Guides_Curved.c:14062:22: note: Assignment 'vector=(double*)calloc(sizeof(double),table.rows)', assigned value is 0 double* vector = (double*) calloc(sizeof(double), table.rows); ^ Test_Guides_Curved.c:14070:7: note: Null pointer dereference vector[index] = x; ^ Test_Guides_Curved.c:14073:11: warning: If memory allocation fails, then there is a possible null pointer dereference: vector [nullPointerOutOfMemory] qsort(vector, table.rows, sizeof(double), interpolator_double_vector_compare); ^ Test_Guides_Curved.c:14062:38: note: Assuming allocation function fails double* vector = (double*) calloc(sizeof(double), table.rows); ^ Test_Guides_Curved.c:14062:22: note: Assignment 'vector=(double*)calloc(sizeof(double),table.rows)', assigned value is 0 double* vector = (double*) calloc(sizeof(double), table.rows); ^ Test_Guides_Curved.c:14073:11: note: Null pointer dereference qsort(vector, table.rows, sizeof(double), interpolator_double_vector_compare); ^ Test_Guides_Curved.c:14077:18: warning: If memory allocation fails, then there is a possible null pointer dereference: vector [nullPointerOutOfMemory] double x = vector[index]; ^ Test_Guides_Curved.c:14062:38: note: Assuming allocation function fails double* vector = (double*) calloc(sizeof(double), table.rows); ^ Test_Guides_Curved.c:14062:22: note: Assignment 'vector=(double*)calloc(sizeof(double),table.rows)', assigned value is 0 double* vector = (double*) calloc(sizeof(double), table.rows); ^ Test_Guides_Curved.c:14077:18: note: Null pointer dereference double x = vector[index]; ^ Test_Guides_Curved.c:14153:11: warning: If memory allocation fails, then there is a possible null pointer dereference: indices [nullPointerOutOfMemory] indices[axis] = round((x - interpolator->min[axis])/interpolator->step[axis]); ^ Test_Guides_Curved.c:14146:31: note: Assuming allocation function fails long *indices = malloc(interpolator->space_dimensionality*sizeof(long)); ^ Test_Guides_Curved.c:14146:31: note: Assignment 'indices=malloc(interpolator->space_dimensionality*sizeof(long))', assigned value is 0 long *indices = malloc(interpolator->space_dimensionality*sizeof(long)); ^ Test_Guides_Curved.c:14153:11: note: Null pointer dereference indices[axis] = round((x - interpolator->min[axis])/interpolator->step[axis]); ^ Test_Guides_Curved.c:14255:7: warning: If memory allocation fails, then there is a possible null pointer dereference: indices [nullPointerOutOfMemory] indices[axis] = round((space[axis]-interpolator->min[axis])/interpolator->step[axis]); ^ Test_Guides_Curved.c:14253:27: note: Assuming allocation function fails long *indices = malloc((int)interpolator->space_dimensionality*sizeof(double)); ^ Test_Guides_Curved.c:14253:27: note: Assignment 'indices=malloc((int)interpolator->space_dimensionality*sizeof(double))', assigned value is 0 long *indices = malloc((int)interpolator->space_dimensionality*sizeof(double)); ^ Test_Guides_Curved.c:14255:7: note: Null pointer dereference indices[axis] = round((space[axis]-interpolator->min[axis])/interpolator->step[axis]); ^ Test_Guides_Curved.c:14441:5: warning: If memory allocation fails, then there is a possible null pointer dereference: stack [nullPointerOutOfMemory] stack[i+1]=stack[i]; ^ Test_Guides_Curved.c:14433:31: note: Assuming allocation function fails _particle->mcMagnet=calloc(MCMAGNET_STACKSIZE,sizeof(mcmagnet_field_info *)); ^ Test_Guides_Curved.c:14433:31: note: Assignment '_particle->mcMagnet=calloc(12,sizeof(struct mcmagnet_field_info*))', assigned value is 0 _particle->mcMagnet=calloc(MCMAGNET_STACKSIZE,sizeof(mcmagnet_field_info *)); ^ Test_Guides_Curved.c:14436:30: note: stack is assigned '(struct mcmagnet_field_info**)_particle->mcMagnet' here. mcmagnet_field_info **stack=((mcmagnet_field_info **) _particle->mcMagnet); ^ Test_Guides_Curved.c:14441:5: note: Null pointer dereference stack[i+1]=stack[i]; ^ Test_Guides_Curved.c:14441:16: warning: If memory allocation fails, then there is a possible null pointer dereference: stack [nullPointerOutOfMemory] stack[i+1]=stack[i]; ^ Test_Guides_Curved.c:14433:31: note: Assuming allocation function fails _particle->mcMagnet=calloc(MCMAGNET_STACKSIZE,sizeof(mcmagnet_field_info *)); ^ Test_Guides_Curved.c:14433:31: note: Assignment '_particle->mcMagnet=calloc(12,sizeof(struct mcmagnet_field_info*))', assigned value is 0 _particle->mcMagnet=calloc(MCMAGNET_STACKSIZE,sizeof(mcmagnet_field_info *)); ^ Test_Guides_Curved.c:14436:30: note: stack is assigned '(struct mcmagnet_field_info**)_particle->mcMagnet' here. mcmagnet_field_info **stack=((mcmagnet_field_info **) _particle->mcMagnet); ^ Test_Guides_Curved.c:14441:16: note: Null pointer dereference stack[i+1]=stack[i]; ^ Test_Guides_Curved.c:14447:3: warning: If memory allocation fails, then there is a possible null pointer dereference: stack [nullPointerOutOfMemory] stack[0]=calloc(1, sizeof(mcmagnet_field_info)); ^ Test_Guides_Curved.c:14433:31: note: Assuming allocation function fails _particle->mcMagnet=calloc(MCMAGNET_STACKSIZE,sizeof(mcmagnet_field_info *)); ^ Test_Guides_Curved.c:14433:31: note: Assignment '_particle->mcMagnet=calloc(12,sizeof(struct mcmagnet_field_info*))', assigned value is 0 _particle->mcMagnet=calloc(MCMAGNET_STACKSIZE,sizeof(mcmagnet_field_info *)); ^ Test_Guides_Curved.c:14436:30: note: stack is assigned '(struct mcmagnet_field_info**)_particle->mcMagnet' here. mcmagnet_field_info **stack=((mcmagnet_field_info **) _particle->mcMagnet); ^ Test_Guides_Curved.c:14447:3: note: Null pointer dereference stack[0]=calloc(1, sizeof(mcmagnet_field_info)); ^ Test_Guides_Curved.c:14450:3: warning: If memory allocation fails, then there is a possible null pointer dereference: stack [nullPointerOutOfMemory] mcmagnet_pack(stack[0],func_id,magnet_rot,magnet_pos,stopbit,prms); ^ Test_Guides_Curved.c:14433:31: note: Assuming allocation function fails _particle->mcMagnet=calloc(MCMAGNET_STACKSIZE,sizeof(mcmagnet_field_info *)); ^ Test_Guides_Curved.c:14433:31: note: Assignment '_particle->mcMagnet=calloc(12,sizeof(struct mcmagnet_field_info*))', assigned value is 0 _particle->mcMagnet=calloc(MCMAGNET_STACKSIZE,sizeof(mcmagnet_field_info *)); ^ Test_Guides_Curved.c:14436:30: note: stack is assigned '(struct mcmagnet_field_info**)_particle->mcMagnet' here. mcmagnet_field_info **stack=((mcmagnet_field_info **) _particle->mcMagnet); ^ Test_Guides_Curved.c:14450:3: note: Null pointer dereference mcmagnet_pack(stack[0],func_id,magnet_rot,magnet_pos,stopbit,prms); ^ Test_Guides_Curved.c:14450:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mctmp_p [nullPointerOutOfMemory] mcmagnet_pack(stack[0],func_id,magnet_rot,magnet_pos,stopbit,prms); ^ Test_Guides_Curved.c:14447:18: note: Assuming allocation function fails stack[0]=calloc(1, sizeof(mcmagnet_field_info)); ^ Test_Guides_Curved.c:14447:18: note: Assignment 'stack[0]=calloc(1,sizeof(struct mcmagnet_field_info))', assigned value is 0 stack[0]=calloc(1, sizeof(mcmagnet_field_info)); ^ Test_Guides_Curved.c:14450:3: note: mctmp_p is assigned 'stack[0]' here. mcmagnet_pack(stack[0],func_id,magnet_rot,magnet_pos,stopbit,prms); ^ Test_Guides_Curved.c:14450:3: note: Null pointer dereference mcmagnet_pack(stack[0],func_id,magnet_rot,magnet_pos,stopbit,prms); ^ Test_Guides_Curved.c:21459:3: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] xplus[i] = tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21459:3: note: Null pointer dereference xplus[i] = tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ Test_Guides_Curved.c:21460:3: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] xminus[i]= -tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21460:3: note: Null pointer dereference xminus[i]= -tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ Test_Guides_Curved.c:21473:3: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] yplus[i] = tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21473:3: note: Null pointer dereference yplus[i] = tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ Test_Guides_Curved.c:21474:3: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] yminus[i]= -tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21474:3: note: Null pointer dereference yminus[i]= -tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ Test_Guides_Curved.c:21486:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21486:8: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21486:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21486:18: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21486:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21486:51: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21487:16: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21487:16: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21487:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21487:42: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21487:53: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21487:53: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21488:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21488:8: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21488:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21488:19: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21488:54: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21488:54: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21489:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21489:13: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21489:40: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21489:40: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21489:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21489:50: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21490:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21490:8: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21490:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21490:18: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21490:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21490:45: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21491:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21491:8: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21491:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21491:41: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21491:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21491:51: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21492:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21492:8: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21492:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21492:42: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21492:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21492:52: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21493:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21493:8: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21493:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21493:18: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21493:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21493:45: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21497:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21497:8: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21497:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21497:18: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21497:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21497:50: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21498:16: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21498:16: note: Null pointer dereference line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21498:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21498:41: note: Null pointer dereference line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21498:53: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21498:53: note: Null pointer dereference line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21499:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21499:8: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21499:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21499:19: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21499:55: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21499:55: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21500:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21500:13: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21500:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21500:41: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21500:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21500:51: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21501:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21501:8: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21501:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21501:18: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21501:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21501:45: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21502:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21502:8: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21502:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21502:41: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21502:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21502:51: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21503:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21503:8: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21503:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21503:42: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21503:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21503:52: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21504:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21504:8: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21504:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21504:18: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21504:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21504:45: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21513:29: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] if( boardestPlace <= fabs(yplus[m0]) ){ ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21513:29: note: Null pointer dereference if( boardestPlace <= fabs(yplus[m0]) ){ ^ Test_Guides_Curved.c:21520:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21520:8: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21520:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21520:18: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21520:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21520:50: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21521:16: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21521:16: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21521:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21521:42: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21521:53: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21521:53: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21522:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21522:8: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21522:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21522:19: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21522:54: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21522:54: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21523:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21523:13: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21523:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21523:41: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21523:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21523:51: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21524:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21524:8: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21524:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21524:18: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21524:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21524:45: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21525:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21525:8: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21525:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21525:42: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21525:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21525:52: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21526:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21526:8: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21526:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21526:42: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21526:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21526:52: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ Test_Guides_Curved.c:21527:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21527:8: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21527:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21527:18: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21527:46: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21527:46: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ Test_Guides_Curved.c:21536:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21536:9: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21536:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21536:19: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21536:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21536:45: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21536:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21536:57: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21537:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21537:9: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21537:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21537:19: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21537:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21537:45: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21537:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21537:57: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21539:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21539:9: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21539:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21539:19: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21539:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21539:45: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21539:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21539:57: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21541:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21541:9: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21541:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21541:19: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21541:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21541:45: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21541:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21541:57: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21543:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21543:9: note: Null pointer dereference line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21543:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21417:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21417:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21543:42: note: Null pointer dereference line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21544:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21544:9: note: Null pointer dereference line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21544:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21416:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21416:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21544:42: note: Null pointer dereference line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21546:14: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21546:14: note: Null pointer dereference line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21546:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21419:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21419:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21546:50: note: Null pointer dereference line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21547:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21547:13: note: Null pointer dereference line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21547:48: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:21418:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21418:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ Test_Guides_Curved.c:21547:48: note: Null pointer dereference line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ Test_Guides_Curved.c:13140:9: warning: Uninitialized variable: boolean [uninitvar] return boolean; ^ Test_Guides_Curved.c:13095:16: note: Assuming condition is true if (solutionH <= 0) ^ Test_Guides_Curved.c:13140:9: note: Uninitialized variable: boolean return boolean; ^ Test_Guides_Curved.c:13979:10: warning: Uninitialized variable: result [uninitvar] return result; ^ Test_Guides_Curved.c:13975:15: note: Assuming condition is false for (i=0; i < dim; i++) { ^ Test_Guides_Curved.c:13979:10: note: Uninitialized variable: result return result; ^ Test_Guides_Curved.c:21759:8: warning: Uninitialized variable: x1 [uninitvar] line(x1, 0.5*yheight, z1, x2, 0.5*yheight, z2); ^ Test_Guides_Curved.c:21717:16: note: Assuming condition is false for(ns=0; ns < nSlitsMax+1; ns++) { ^ Test_Guides_Curved.c:21759:8: note: Uninitialized variable: x1 line(x1, 0.5*yheight, z1, x2, 0.5*yheight, z2); ^ Test_Guides_Curved.c:21759:25: warning: Uninitialized variable: z1 [uninitvar] line(x1, 0.5*yheight, z1, x2, 0.5*yheight, z2); ^ Test_Guides_Curved.c:21717:16: note: Assuming condition is false for(ns=0; ns < nSlitsMax+1; ns++) { ^ Test_Guides_Curved.c:21759:25: note: Uninitialized variable: z1 line(x1, 0.5*yheight, z1, x2, 0.5*yheight, z2); ^ Test_Guides_Curved.c:21759:29: warning: Uninitialized variable: x2 [uninitvar] line(x1, 0.5*yheight, z1, x2, 0.5*yheight, z2); ^ Test_Guides_Curved.c:21717:16: note: Assuming condition is false for(ns=0; ns < nSlitsMax+1; ns++) { ^ Test_Guides_Curved.c:21759:29: note: Uninitialized variable: x2 line(x1, 0.5*yheight, z1, x2, 0.5*yheight, z2); ^ Test_Guides_Curved.c:21759:46: warning: Uninitialized variable: z2 [uninitvar] line(x1, 0.5*yheight, z1, x2, 0.5*yheight, z2); ^ Test_Guides_Curved.c:21717:16: note: Assuming condition is false for(ns=0; ns < nSlitsMax+1; ns++) { ^ Test_Guides_Curved.c:21759:46: note: Uninitialized variable: z2 line(x1, 0.5*yheight, z1, x2, 0.5*yheight, z2); ^ Test_Guides_Curved.c:13977:23: error: Uninitialized variable: result [legacyUninitvar] : result * dimInfo[i] + indices[i]; ^ Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;OFF_LEGACY... Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;SIGKILL;SIGUSR1;SIGUSR2... Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;USE_MPI... Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;USE_MPI;USE_NEXUS... Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;USE_NEXUS... Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__APPLE__;__GNUC__... Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__APPLE__;__unix__... Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__FreeBSD__... Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__GNUC__... Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__GNUC__;__clang__... Checking Test_Guides_Curved.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__dest_os... DEBUG: CMD: cppcheck finished INFO: End of linting ./Test_Guides_Curved.c