2025-10-18 12:08 ftp://ftp.de.debian.org/debian/pool/main/o/openvlbi/openvlbi_3.0.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=opencv2 --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j8 platform: Linux-6.16.9+deb14-amd64-x86_64-with-glibc2.41 python: 3.13.9 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-4) 15.2.0 cppcheck: head 2.18.0 head-info: 5ace300a (2025-10-17 23:16:53 +0200) count: 828 825 elapsed-time: 3.9 1.8 head-timing-info: old-timing-info: head results: OpenVLBI-3.0.3/dsp/signals.c:89:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/filters.c:24:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/convolution.c:29:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: d_pos [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/convolution.c:25:30: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/convolution.c:25:18: note: Assignment 'd_pos=(int*)malloc(sizeof(int)*stream->dims)', assigned value is 0 OpenVLBI-3.0.3/dsp/convolution.c:29:13: note: Null pointer dereference OpenVLBI-3.0.3/dsp/convolution.c:50:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: d_pos [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/convolution.c:45:30: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/convolution.c:45:18: note: Assignment 'd_pos=(int*)malloc(sizeof(int)*stream->dims)', assigned value is 0 OpenVLBI-3.0.3/dsp/convolution.c:50:13: note: Null pointer dereference OpenVLBI-3.0.3/dsp/signals.c:34:14: style: Variable 'x' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/dsp/signals.c:51:14: style: Variable 'x' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/dsp/signals.c:67:14: style: Variable 'x' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/dsp/fft.c:37:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable complex_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fft.c:64:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable complex_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fft.c:85:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fft.c:98:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fft.c:148:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFTW_ESTIMATE_PATIENT [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fft.c:182:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFTW_ESTIMATE_PATIENT [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/filters.c:31:9: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/filters.c:24:32: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/filters.c:24:18: note: Assignment 'out=(dsp_t*)malloc(sizeof(dsp_t)*stream->len)', assigned value is 0 OpenVLBI-3.0.3/dsp/filters.c:31:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/filters.c:33:25: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/filters.c:24:32: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/filters.c:24:18: note: Assignment 'out=(dsp_t*)malloc(sizeof(dsp_t)*stream->len)', assigned value is 0 OpenVLBI-3.0.3/dsp/filters.c:33:25: note: Null pointer dereference OpenVLBI-3.0.3/dsp/filters.c:23:12: style: Variable 'in' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/filters.c:27:13: style: Variable 'val' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/dsp/stats.c:28:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stats.c:30:12: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stats.c:28:32: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stats.c:28:18: note: Assignment 'tmp=(dsp_t*)malloc(sizeof(dsp_t)*stream->len)', assigned value is 0 OpenVLBI-3.0.3/dsp/stats.c:30:12: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stats.c:33:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stats.c:28:32: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stats.c:28:18: note: Assignment 'tmp=(dsp_t*)malloc(sizeof(dsp_t)*stream->len)', assigned value is 0 OpenVLBI-3.0.3/dsp/stats.c:33:19: note: Null pointer dereference OpenVLBI-3.0.3/dsp/fft.c:38:12: warning: If memory allocation fails, then there is a possible null pointer dereference: dft [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/fft.c:37:40: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/fft.c:37:22: note: Assignment 'dft=(complex_t*)malloc(sizeof(complex_t)*stream->len)', assigned value is 0 OpenVLBI-3.0.3/dsp/fft.c:38:12: note: Null pointer dereference OpenVLBI-3.0.3/dsp/fft.c:65:12: warning: If memory allocation fails, then there is a possible null pointer dereference: dft [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/fft.c:64:40: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/fft.c:64:22: note: Assignment 'dft=(complex_t*)malloc(sizeof(complex_t)*stream->len)', assigned value is 0 OpenVLBI-3.0.3/dsp/fft.c:65:12: note: Null pointer dereference OpenVLBI-3.0.3/dsp/fft.c:87:9: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/fft.c:83:34: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/fft.c:83:19: note: Assignment 'out=(double*)malloc(sizeof(double)*len)', assigned value is 0 OpenVLBI-3.0.3/dsp/fft.c:87:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/fft.c:97:9: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/fft.c:95:34: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/fft.c:95:19: note: Assignment 'out=(double*)malloc(sizeof(double)*len)', assigned value is 0 OpenVLBI-3.0.3/dsp/fft.c:97:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/fft.c:114:54: style: Parameter 'mag' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/dsp/fft.c:114:67: style: Parameter 'phi' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/dsp/stats.c:26:12: style: Variable 'i' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/getline.c:26:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/align.c:70:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable diameter [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/align.c:84:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable diameter [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/align.c:131:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable diameter [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/align.c:148:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_align_info [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/align.c:190:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable location [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/align.c:201:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_triangle [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/align.c:266:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_star [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fits.c:40:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CASESEN [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fits.c:52:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CASESEN [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fits.c:65:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CASESEN [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fits.c:159:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSTRING [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fits.c:208:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable typestr [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fits.c:278:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSTRING [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/fits.c:287:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fitsfile [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/buffer.c:27:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/buffer.c:253:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/buffer.c:303:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/buffer.c:332:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/buffer.c:38:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/buffer.c:27:32: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/buffer.c:27:18: note: Assignment 'tmp=(dsp_t*)malloc(sizeof(dsp_t)*stream->len)', assigned value is 0 OpenVLBI-3.0.3/dsp/buffer.c:38:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/buffer.c:39:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/buffer.c:27:32: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/buffer.c:27:18: note: Assignment 'tmp=(dsp_t*)malloc(sizeof(dsp_t)*stream->len)', assigned value is 0 OpenVLBI-3.0.3/dsp/buffer.c:39:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/buffer.c:42:25: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/buffer.c:27:32: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/buffer.c:27:18: note: Assignment 'tmp=(dsp_t*)malloc(sizeof(dsp_t)*stream->len)', assigned value is 0 OpenVLBI-3.0.3/dsp/buffer.c:42:25: note: Null pointer dereference OpenVLBI-3.0.3/dsp/buffer.c:270:15: warning: If memory allocation fails, then there is a possible null pointer dereference: sorted [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/buffer.c:253:35: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/buffer.c:253:21: note: Assignment 'sorted=(dsp_t*)malloc(pow(size,stream->dims)*sizeof(dsp_t))', assigned value is 0 OpenVLBI-3.0.3/dsp/buffer.c:270:15: note: Null pointer dereference OpenVLBI-3.0.3/dsp/buffer.c:271:26: warning: If memory allocation fails, then there is a possible null pointer dereference: sorted [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/buffer.c:253:35: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/buffer.c:253:21: note: Assignment 'sorted=(dsp_t*)malloc(pow(size,stream->dims)*sizeof(dsp_t))', assigned value is 0 OpenVLBI-3.0.3/dsp/buffer.c:271:26: note: Null pointer dereference OpenVLBI-3.0.3/dsp/buffer.c:307:22: warning: If memory allocation fails, then there is a possible null pointer dereference: th [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/buffer.c:286:40: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/buffer.c:286:21: note: Assignment 'th=(pthread_t*)malloc(sizeof(pthread_t)*dsp_max_threads(0))', assigned value is 0 OpenVLBI-3.0.3/dsp/buffer.c:307:22: note: Null pointer dereference OpenVLBI-3.0.3/dsp/buffer.c:382:22: warning: If memory allocation fails, then there is a possible null pointer dereference: th [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/buffer.c:364:40: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/buffer.c:364:21: note: Assignment 'th=(pthread_t*)malloc(sizeof(pthread_t)*dsp_max_threads(0))', assigned value is 0 OpenVLBI-3.0.3/dsp/buffer.c:382:22: note: Null pointer dereference OpenVLBI-3.0.3/dsp/buffer.c:56:49: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/dsp/buffer.c:67:49: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/dsp/buffer.c:100:49: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/dsp/buffer.c:111:49: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/dsp/buffer.c:122:49: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/dsp/buffer.c:242:9: style: Variable 'arguments' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/buffer.c:322:9: style: Variable 'arguments' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/buffer.c:390:53: style: Parameter 'deviation' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/astro.c:162:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_star [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/astro.c:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VLBI_CATALOG_PATH [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/astro.c:232:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_star [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/astro.c:259:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable diameter [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/astro.c:282:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_star [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/astro.c:296:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSP_ALIGN_NO_MATCH [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/astro.c:351:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIGHTSPEED [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/astro.c:362:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIGHTSPEED [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/astro.c:376:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIGHTSPEED [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/astro.c:382:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOLTSMANN [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/astro.c:387:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOLTSMANN [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/align.c:152:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_info [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:148:57: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:148:34: note: Assignment 'align_info=(dsp_align_info*)malloc(sizeof(dsp_align_info))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:152:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:153:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_info [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:148:57: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:148:34: note: Assignment 'align_info=(dsp_align_info*)malloc(sizeof(dsp_align_info))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:153:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:154:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_info [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:148:57: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:148:34: note: Assignment 'align_info=(dsp_align_info*)malloc(sizeof(dsp_align_info))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:154:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:155:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_info [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:148:57: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:148:34: note: Assignment 'align_info=(dsp_align_info*)malloc(sizeof(dsp_align_info))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:155:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:156:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_info [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:148:57: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:148:34: note: Assignment 'align_info=(dsp_align_info*)malloc(sizeof(dsp_align_info))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:156:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:158:9: warning: If memory allocation fails, then there is a possible null pointer dereference: align_info [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:148:57: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:148:34: note: Assignment 'align_info=(dsp_align_info*)malloc(sizeof(dsp_align_info))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:158:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:159:9: warning: If memory allocation fails, then there is a possible null pointer dereference: align_info [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:148:57: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:148:34: note: Assignment 'align_info=(dsp_align_info*)malloc(sizeof(dsp_align_info))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:159:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:160:9: warning: If memory allocation fails, then there is a possible null pointer dereference: align_info [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:148:57: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:148:34: note: Assignment 'align_info=(dsp_align_info*)malloc(sizeof(dsp_align_info))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:160:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:165:9: warning: If memory allocation fails, then there is a possible null pointer dereference: align_info [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:148:57: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:148:34: note: Assignment 'align_info=(dsp_align_info*)malloc(sizeof(dsp_align_info))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:165:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:166:9: warning: If memory allocation fails, then there is a possible null pointer dereference: align_info [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:148:57: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:148:34: note: Assignment 'align_info=(dsp_align_info*)malloc(sizeof(dsp_align_info))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:166:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:202:5: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:202:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:202:22: warning: If memory allocation fails, then there is a possible null pointer dereference: stars [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:266:40: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:266:23: note: Assignment 'stars=(dsp_star*)malloc(sizeof(dsp_star)*num_stars)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:284:51: note: Calling function 'dsp_align_calc_triangle', 1st argument 'stars' value is 0 OpenVLBI-3.0.3/dsp/align.c:202:22: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:203:5: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:203:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:204:25: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:204:25: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:204:48: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:204:48: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:206:5: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:206:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:207:5: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:207:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:208:5: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:208:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:208:58: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:208:58: note: Null pointer dereference OpenVLBI-3.0.3/dsp/fits.c:389:5: error: Common realloc mistake: 'columns' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/dsp/align.c:209:5: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:209:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/fits.c:390:5: error: Common realloc mistake: 'rows' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/dsp/align.c:209:55: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:209:55: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:210:5: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:210:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:211:11: warning: If memory allocation fails, then there is a possible null pointer dereference: stars [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:266:40: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:266:23: note: Assignment 'stars=(dsp_star*)malloc(sizeof(dsp_star)*num_stars)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:284:51: note: Calling function 'dsp_align_calc_triangle', 1st argument 'stars' value is 0 OpenVLBI-3.0.3/dsp/align.c:211:11: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:211:18: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:211:18: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:213:20: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:213:20: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:214:26: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:214:26: note: Null pointer dereference OpenVLBI-3.0.3/dsp/fits.c:163:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/fits.c:161:35: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/fits.c:161:20: note: Assignment 'value=(char**)malloc(sizeof(char*)*(unsigned long)repeat)', assigned value is 0 OpenVLBI-3.0.3/dsp/fits.c:163:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:215:13: warning: If memory allocation fails, then there is a possible null pointer dereference: deltadiff [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:205:48: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:205:29: note: Assignment 'deltadiff=(struct delta_diff*)malloc(sizeof(struct delta_diff)*num_baselines)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:215:13: note: Null pointer dereference OpenVLBI-3.0.3/dsp/fits.c:166:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/fits.c:161:35: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/fits.c:161:20: note: Assignment 'value=(char**)malloc(sizeof(char*)*(unsigned long)repeat)', assigned value is 0 OpenVLBI-3.0.3/dsp/fits.c:166:24: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:215:66: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:215:66: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:216:28: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:216:28: note: Null pointer dereference OpenVLBI-3.0.3/dsp/fits.c:288:12: warning: If memory allocation fails, then there is a possible null pointer dereference: fptr [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/fits.c:287:39: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/fits.c:287:22: note: Assignment 'fptr=(fitsfile*)malloc(sizeof(fitsfile))', assigned value is 0 OpenVLBI-3.0.3/dsp/fits.c:288:12: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:217:17: warning: If memory allocation fails, then there is a possible null pointer dereference: deltadiff [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:205:48: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:205:29: note: Assignment 'deltadiff=(struct delta_diff*)malloc(sizeof(struct delta_diff)*num_baselines)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:217:17: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:217:42: warning: If memory allocation fails, then there is a possible null pointer dereference: stars [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:266:40: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:266:23: note: Assignment 'stars=(dsp_star*)malloc(sizeof(dsp_star)*num_stars)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:284:51: note: Calling function 'dsp_align_calc_triangle', 1st argument 'stars' value is 0 OpenVLBI-3.0.3/dsp/align.c:217:42: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:217:70: warning: If memory allocation fails, then there is a possible null pointer dereference: stars [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:266:40: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:266:23: note: Assignment 'stars=(dsp_star*)malloc(sizeof(dsp_star)*num_stars)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:284:51: note: Calling function 'dsp_align_calc_triangle', 1st argument 'stars' value is 0 OpenVLBI-3.0.3/dsp/align.c:217:70: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:218:17: warning: If memory allocation fails, then there is a possible null pointer dereference: deltadiff [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:205:48: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:205:29: note: Assignment 'deltadiff=(struct delta_diff*)malloc(sizeof(struct delta_diff)*num_baselines)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:218:17: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:218:45: warning: If memory allocation fails, then there is a possible null pointer dereference: deltadiff [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:205:48: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:205:29: note: Assignment 'deltadiff=(struct delta_diff*)malloc(sizeof(struct delta_diff)*num_baselines)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:218:45: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:220:13: warning: If memory allocation fails, then there is a possible null pointer dereference: deltadiff [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:205:48: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:205:29: note: Assignment 'deltadiff=(struct delta_diff*)malloc(sizeof(struct delta_diff)*num_baselines)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:220:13: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:220:41: warning: If memory allocation fails, then there is a possible null pointer dereference: deltadiff [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:205:48: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:205:29: note: Assignment 'deltadiff=(struct delta_diff*)malloc(sizeof(struct delta_diff)*num_baselines)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:220:41: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:224:11: warning: If memory allocation fails, then there is a possible null pointer dereference: deltadiff [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:205:48: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:205:29: note: Assignment 'deltadiff=(struct delta_diff*)malloc(sizeof(struct delta_diff)*num_baselines)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:224:11: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:225:20: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:225:20: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:226:9: warning: If memory allocation fails, then there is a possible null pointer dereference: triangle [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:201:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:201:30: note: Assignment 'triangle=(dsp_triangle*)malloc(sizeof(dsp_triangle))', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:226:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:226:35: warning: If memory allocation fails, then there is a possible null pointer dereference: deltadiff [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:205:48: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:205:29: note: Assignment 'deltadiff=(struct delta_diff*)malloc(sizeof(struct delta_diff)*num_baselines)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:226:35: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:226:58: warning: If memory allocation fails, then there is a possible null pointer dereference: deltadiff [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:205:48: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:205:29: note: Assignment 'deltadiff=(struct delta_diff*)malloc(sizeof(struct delta_diff)*num_baselines)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:226:58: note: Null pointer dereference OpenVLBI-3.0.3/dsp/align.c:282:13: warning: If memory allocation fails, then there is a possible null pointer dereference: stars [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/align.c:266:40: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/align.c:266:23: note: Assignment 'stars=(dsp_star*)malloc(sizeof(dsp_star)*num_stars)', assigned value is 0 OpenVLBI-3.0.3/dsp/align.c:282:13: note: Null pointer dereference OpenVLBI-3.0.3/dsp/fits.c:439:21: style: Local variable 'typecode' shadows outer variable [shadowVariable] OpenVLBI-3.0.3/dsp/fits.c:295:9: note: Shadowed declaration OpenVLBI-3.0.3/dsp/fits.c:439:21: note: Shadow variable OpenVLBI-3.0.3/dsp/fits.c:440:22: style: Local variable 'repeat' shadows outer variable [shadowVariable] OpenVLBI-3.0.3/dsp/fits.c:297:10: note: Shadowed declaration OpenVLBI-3.0.3/dsp/fits.c:440:22: note: Shadow variable OpenVLBI-3.0.3/dsp/fits.c:440:30: style: Local variable 'width' shadows outer variable [shadowVariable] OpenVLBI-3.0.3/dsp/fits.c:296:10: note: Shadowed declaration OpenVLBI-3.0.3/dsp/fits.c:440:30: note: Shadow variable OpenVLBI-3.0.3/dsp/fits.c:202:34: style: Parameter 'typestr' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/dsp/fits.c:303:10: style: Variable 'naxes' can be declared as const array [constVariable] OpenVLBI-3.0.3/dsp/fits.c:317:11: style: Variable 'extend_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/fits.c:366:11: style: Variable 'nmatrix_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/align.c:107:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/align.c:108:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/align.c:114:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/align.c:115:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/align.c:121:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/dsp/stream.c:80:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:129:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_stream [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:216:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_align_info [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:239:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_region [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:308:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_stream_p [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:318:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_stream_p [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:339:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_star [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:359:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_star [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:382:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_triangle [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:421:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sizes [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:573:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:625:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/baseline.cpp:66:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pairs [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/baseline.cpp:111:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/baseline.cpp:120:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/baseline.cpp:211:119: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lon [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/node.h:100:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/node.h:125:122: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/astro.c:249:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] OpenVLBI-3.0.3/vlbi/astro.c:252:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] OpenVLBI-3.0.3/vlbi/astro.c:255:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] OpenVLBI-3.0.3/vlbi/baseline.cpp:206:9: warning: Return value of function fmod() is not used. [ignoredReturnValue] OpenVLBI-3.0.3/vlbi/astro.c:87:26: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/astro.c:86:23: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/astro.c:86:23: note: Assignment 'buf=malloc(fsize+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/astro.c:87:26: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/astro.c:103:16: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/astro.c:86:23: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/astro.c:86:23: note: Assignment 'buf=malloc(fsize+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/astro.c:103:16: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/astro.c:104:24: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/astro.c:86:23: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/astro.c:86:23: note: Assignment 'buf=malloc(fsize+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/astro.c:104:24: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/astro.c:184:26: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/astro.c:183:23: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/astro.c:183:23: note: Assignment 'buf=malloc(fsize+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/astro.c:184:26: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/astro.c:193:16: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/astro.c:183:23: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/astro.c:183:23: note: Assignment 'buf=malloc(fsize+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/astro.c:193:16: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/astro.c:194:24: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/astro.c:183:23: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/astro.c:183:23: note: Assignment 'buf=malloc(fsize+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/astro.c:194:24: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/baseline.cpp:21:15: warning: Member variable 'VLBIBaseline::dft' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi/baseline.cpp:21:15: warning: Member variable 'VLBIBaseline::Target' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi/baseline.cpp:21:15: warning: Member variable 'VLBIBaseline::baseline' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi/baseline.cpp:40:15: warning: Member variable 'VLBIBaseline::dft' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi/baseline.cpp:40:15: warning: Member variable 'VLBIBaseline::Target' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi/baseline.cpp:40:15: warning: Member variable 'VLBIBaseline::baseline' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi/baseline.h:48:19: style:inconclusive: Technically the member function 'VLBIBaseline::getX' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:49:19: style:inconclusive: Technically the member function 'VLBIBaseline::getY' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:50:19: style:inconclusive: Technically the member function 'VLBIBaseline::getZ' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:51:19: style:inconclusive: Technically the member function 'VLBIBaseline::getU' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:52:19: style:inconclusive: Technically the member function 'VLBIBaseline::getV' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:53:19: style:inconclusive: Technically the member function 'VLBIBaseline::getDelay' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:56:19: style:inconclusive: Technically the member function 'VLBIBaseline::getRa' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:57:19: style:inconclusive: Technically the member function 'VLBIBaseline::getDec' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:58:19: style:inconclusive: Technically the member function 'VLBIBaseline::getDistance' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:60:19: style:inconclusive: Technically the member function 'VLBIBaseline::getWaveLength' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:61:19: style:inconclusive: Technically the member function 'VLBIBaseline::getSampleRate' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:72:25: style:inconclusive: Technically the member function 'VLBIBaseline::getStream' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:93:17: style:inconclusive: Technically the member function 'VLBIBaseline::Locked' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baseline.h:97:17: style:inconclusive: Technically the member function 'VLBIBaseline::isRelative' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/astro.c:25:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/astro.c:26:15: style: Variable 'b' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/astro.c:189:11: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/astro.c:224:64: style: Parameter 'catalog' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/astro.c:240:58: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/astro.c:245:15: style: Variable 'name' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/astro.c:246:15: style: Variable 'character' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/astro.c:247:15: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/baseline.cpp:48:5: warning: If memory allocation fails, then there is a possible null pointer dereference: Nodes [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/baseline.cpp:47:31: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/baseline.cpp:47:13: note: Assignment 'Nodes=(VLBINode**)malloc(sizeof(VLBINode*)*nodes_count)', assigned value is 0 OpenVLBI-3.0.3/vlbi/baseline.cpp:48:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/baseline.cpp:49:5: warning: If memory allocation fails, then there is a possible null pointer dereference: Nodes [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/baseline.cpp:47:31: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/baseline.cpp:47:13: note: Assignment 'Nodes=(VLBINode**)malloc(sizeof(VLBINode*)*nodes_count)', assigned value is 0 OpenVLBI-3.0.3/vlbi/baseline.cpp:49:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/baseline.cpp:90:9: warning: If memory allocation fails, then there is a possible null pointer dereference: indexes [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/baseline.cpp:88:32: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/baseline.cpp:88:20: note: Assignment 'indexes=(int*)malloc(sizeof(int)*nodes_count)', assigned value is 0 OpenVLBI-3.0.3/vlbi/baseline.cpp:90:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/baseline.cpp:100:8: warning: If memory allocation fails, then there is a possible null pointer dereference: indexes [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/baseline.cpp:88:32: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/baseline.cpp:88:20: note: Assignment 'indexes=(int*)malloc(sizeof(int)*nodes_count)', assigned value is 0 OpenVLBI-3.0.3/vlbi/baseline.cpp:91:28: note: Calling function 'Correlate', 1st argument 'indexes' value is 0 OpenVLBI-3.0.3/vlbi/baseline.cpp:100:8: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/baseline.cpp:100:27: warning: If memory allocation fails, then there is a possible null pointer dereference: indexes [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/baseline.cpp:88:32: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/baseline.cpp:88:20: note: Assignment 'indexes=(int*)malloc(sizeof(int)*nodes_count)', assigned value is 0 OpenVLBI-3.0.3/vlbi/baseline.cpp:91:28: note: Calling function 'Correlate', 1st argument 'indexes' value is 0 OpenVLBI-3.0.3/vlbi/baseline.cpp:100:27: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/baseline.cpp:165:16: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/baseline.cpp:152:28: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/baseline.cpp:152:13: note: Assignment 'b=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/baseline.cpp:165:16: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/baseline.cpp:28:12: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/baseline.cpp:47:13: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/baseline.cpp:88:20: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/baseline.cpp:152:13: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/baseline.cpp:34:15: style: Redundant initialization for 'n'. The initialized value is overwritten before it is read. [redundantInitialization] OpenVLBI-3.0.3/vlbi/baseline.cpp:33:21: note: n is initialized OpenVLBI-3.0.3/vlbi/baseline.cpp:34:15: note: n is overwritten OpenVLBI-3.0.3/vlbi/baseline.cpp:21:50: style:inconclusive: Function 'VLBIBaseline' argument 2 names different: declaration 'nodes_count' definition 'num_nodes'. [funcArgNamesDifferent] OpenVLBI-3.0.3/vlbi/baseline.h:31:40: note: Function 'VLBIBaseline' argument 2 names different: declaration 'nodes_count' definition 'num_nodes'. OpenVLBI-3.0.3/vlbi/baseline.cpp:21:50: note: Function 'VLBIBaseline' argument 2 names different: declaration 'nodes_count' definition 'num_nodes'. OpenVLBI-3.0.3/vlbi/baseline.cpp:129:18: style: Local variable 'baseline' shadows outer variable [shadowVariable] OpenVLBI-3.0.3/vlbi/baseline.h:109:12: note: Shadowed declaration OpenVLBI-3.0.3/vlbi/baseline.cpp:129:18: note: Shadow variable OpenVLBI-3.0.3/vlbi/astro.c:141:10: style: Variable 'k' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/vlbi/baseline.cpp:33:19: style: Variable 'n' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/baseline.cpp:86:40: style: Parameter 'times' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/baseline.h:67:35: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/astro.c:187:18: style: Variable 'x' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/vlbi/astro.c:287:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/vlbi/astro.c:287:18: style: Variable 'y' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/vlbi/baseline.cpp:34:15: style: Variable 'n' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:29:5: performance: Variable 'Stream' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] OpenVLBI-3.0.3/vlbi/node.h:38:29: style:inconclusive: Technically the member function 'VLBINode::getStream' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/node.h:65:23: style:inconclusive: Technically the member function 'VLBINode::getIndex' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/node.h:133:21: style:inconclusive: Technically the member function 'VLBINode::GeographicCoordinates' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/node.h:141:29: style:inconclusive: Technically the member function 'VLBINode::stationLocation' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/nodecollection.h:49:14: style:inconclusive: Technically the member function 'NodeCollection::isRelative' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/nodecollection.h:55:20: style:inconclusive: Technically the member function 'NodeCollection::getCorrelationOrder' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baselinecollection.h:48:23: style:inconclusive: Technically the member function 'BaselineCollection::getRa' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baselinecollection.h:52:23: style:inconclusive: Technically the member function 'BaselineCollection::getDec' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baselinecollection.h:64:29: style:inconclusive: Technically the member function 'BaselineCollection::getStream' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baselinecollection.h:72:20: style:inconclusive: Technically the member function 'BaselineCollection::getWidth' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baselinecollection.h:76:20: style:inconclusive: Technically the member function 'BaselineCollection::getHeight' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baselinecollection.h:98:20: style:inconclusive: Technically the member function 'BaselineCollection::getCorrelationOrder' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baselinecollection.h:108:21: style:inconclusive: Technically the member function 'BaselineCollection::isRelative' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:94:36: warning: The class 'BaselineCollection' defines member function with name 'get' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:41:11: note: Parent function 'VLBICollection::get' OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:94:36: note: Derived function 'BaselineCollection::get' OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:79:26: warning: The class 'BaselineCollection' defines member function with name 'remove' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:42:10: note: Parent function 'VLBICollection::remove' OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:79:26: note: Derived function 'BaselineCollection::remove' OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:85:26: warning: The class 'BaselineCollection' defines member function with name 'clear' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:46:10: note: Parent function 'VLBICollection::clear' OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:85:26: note: Derived function 'BaselineCollection::clear' OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:104:26: warning: The class 'BaselineCollection' defines member function with name 'contains' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:44:10: note: Parent function 'VLBICollection::contains' OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:104:26: note: Derived function 'BaselineCollection::contains' OpenVLBI-3.0.3/vlbi/nodecollection.h:35:19: warning: The class 'NodeCollection' defines member function with name 'get' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:41:11: note: Parent function 'VLBICollection::get' OpenVLBI-3.0.3/vlbi/nodecollection.h:35:19: note: Derived function 'NodeCollection::get' OpenVLBI-3.0.3/vlbi/nodecollection.h:36:14: warning: The class 'NodeCollection' defines member function with name 'remove' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:42:10: note: Parent function 'VLBICollection::remove' OpenVLBI-3.0.3/vlbi/nodecollection.h:36:14: note: Derived function 'NodeCollection::remove' OpenVLBI-3.0.3/vlbi/nodecollection.h:38:14: warning: The class 'NodeCollection' defines member function with name 'contains' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:44:10: note: Parent function 'VLBICollection::contains' OpenVLBI-3.0.3/vlbi/nodecollection.h:38:14: note: Derived function 'NodeCollection::contains' OpenVLBI-3.0.3/vlbi/baselinecollection.h:29:9: style: Class 'BaselineCollection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:56:13: warning: If memory allocation fails, then there is a possible null pointer dereference: nodes [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:52:46: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:52:28: note: Assignment 'nodes=(VLBINode**)malloc(sizeof(VLBINode*)*getCorrelationOrder())', assigned value is 0 OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:56:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:52:28: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:79:45: style:inconclusive: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. [funcArgNamesDifferent] OpenVLBI-3.0.3/vlbi/baselinecollection.h:37:33: note: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:79:45: note: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:119:52: style:inconclusive: Function 'get' argument 1 names different: declaration 'names' definition 'elements'. [funcArgNamesDifferent] OpenVLBI-3.0.3/vlbi/baselinecollection.h:35:40: note: Function 'get' argument 1 names different: declaration 'names' definition 'elements'. OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:119:52: note: Function 'get' argument 1 names different: declaration 'names' definition 'elements'. OpenVLBI-3.0.3/vlbi/feature.cpp:65:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/feature.cpp:82:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:157:44: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/node.h:110:39: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/node.h:114:41: style: Parameter 'coords' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/baselinecollection.cpp:60:40: error: Undefined behavior: Variable 'name' is used as parameter and destination in sprintf(). [sprintfOverlappingData] OpenVLBI-3.0.3/vlbi/collection.cpp:34:25: style:inconclusive: Technically the member function 'VLBICollection::count' can be const. [functionConst] OpenVLBI-3.0.3/vlbi/collection.h:45:13: note: Technically the member function 'VLBICollection::count' can be const. OpenVLBI-3.0.3/vlbi/collection.cpp:34:25: note: Technically the member function 'VLBICollection::count' can be const. OpenVLBI-3.0.3/vlbi/collection.cpp:30:10: warning: Class 'VLBICollection' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] OpenVLBI-3.0.3/vlbi/collection.cpp:30:10: warning: Class 'VLBICollection' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] OpenVLBI-3.0.3/vlbi/collection.cpp:41:5: warning: Possible leak in public function. The pointer 'Items' is not deallocated before it is allocated. [publicAllocationError] OpenVLBI-3.0.3/vlbi/collection.cpp:41:5: error: Common realloc mistake: 'Items' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/vlbi/collection.cpp:53:5: error: Common realloc mistake: 'Items' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/vlbi/collection.cpp:125:5: error: Common realloc mistake: 'Items' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/vlbi/collection.cpp:24:13: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/collection.cpp:41:13: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/collection.cpp:53:13: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/collection.cpp:125:13: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/collection.cpp:45:32: style:inconclusive: Function 'add' argument 1 names different: declaration 'element' definition 'el'. [funcArgNamesDifferent] OpenVLBI-3.0.3/vlbi/collection.h:40:20: note: Function 'add' argument 1 names different: declaration 'element' definition 'el'. OpenVLBI-3.0.3/vlbi/collection.cpp:45:32: note: Function 'add' argument 1 names different: declaration 'element' definition 'el'. OpenVLBI-3.0.3/vlbi/feature.cpp:83:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/feature.cpp:66:14: style: Local variable 'i' shadows outer variable [shadowVariable] OpenVLBI-3.0.3/vlbi/feature.cpp:58:9: note: Shadowed declaration OpenVLBI-3.0.3/vlbi/feature.cpp:66:14: note: Shadow variable OpenVLBI-3.0.3/vlbi/feature.cpp:108:15: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] OpenVLBI-3.0.3/vlbi/instancecollection.cpp:41:34: warning: The class 'InstanceCollection' defines member function with name 'get' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:41:11: note: Parent function 'VLBICollection::get' OpenVLBI-3.0.3/vlbi/instancecollection.cpp:41:34: note: Derived function 'InstanceCollection::get' OpenVLBI-3.0.3/vlbi/instancecollection.cpp:36:26: warning: The class 'InstanceCollection' defines member function with name 'remove' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:42:10: note: Parent function 'VLBICollection::remove' OpenVLBI-3.0.3/vlbi/instancecollection.cpp:36:26: note: Derived function 'InstanceCollection::remove' OpenVLBI-3.0.3/vlbi/instancecollection.cpp:51:26: warning: The class 'InstanceCollection' defines member function with name 'contains' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:44:10: note: Parent function 'VLBICollection::contains' OpenVLBI-3.0.3/vlbi/instancecollection.cpp:51:26: note: Derived function 'InstanceCollection::contains' OpenVLBI-3.0.3/vlbi/instancecollection.cpp:36:45: style:inconclusive: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. [funcArgNamesDifferent] OpenVLBI-3.0.3/vlbi/instancecollection.h:31:29: note: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. OpenVLBI-3.0.3/vlbi/instancecollection.cpp:36:45: note: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. OpenVLBI-3.0.3/vlbi/modelcollection.cpp:42:31: warning: The class 'ModelCollection' defines member function with name 'get' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:41:11: note: Parent function 'VLBICollection::get' OpenVLBI-3.0.3/vlbi/modelcollection.cpp:42:31: note: Derived function 'ModelCollection::get' OpenVLBI-3.0.3/vlbi/modelcollection.cpp:37:23: warning: The class 'ModelCollection' defines member function with name 'remove' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:42:10: note: Parent function 'VLBICollection::remove' OpenVLBI-3.0.3/vlbi/modelcollection.cpp:37:23: note: Derived function 'ModelCollection::remove' OpenVLBI-3.0.3/vlbi/modelcollection.cpp:52:23: warning: The class 'ModelCollection' defines member function with name 'contains' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:44:10: note: Parent function 'VLBICollection::contains' OpenVLBI-3.0.3/vlbi/modelcollection.cpp:52:23: note: Derived function 'ModelCollection::contains' OpenVLBI-3.0.3/vlbi/modelcollection.cpp:37:42: style:inconclusive: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. [funcArgNamesDifferent] OpenVLBI-3.0.3/vlbi/modelcollection.h:31:33: note: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. OpenVLBI-3.0.3/vlbi/modelcollection.cpp:37:42: note: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. OpenVLBI-3.0.3/vlbi/matrix.c:23:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRY [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:63:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRY [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:117:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EARTHRADIUSEQUATORIAL [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/file.c:77:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_stream_p [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/file.c:176:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fitsfile [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:39:5: warning: If memory allocation fails, then there is a possible null pointer dereference: proj [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:33:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:33:20: note: Assignment 'proj=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:39:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:40:5: warning: If memory allocation fails, then there is a possible null pointer dereference: proj [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:33:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:33:20: note: Assignment 'proj=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:40:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:41:5: warning: If memory allocation fails, then there is a possible null pointer dereference: proj [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:33:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:33:20: note: Assignment 'proj=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:41:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:53:5: warning: If memory allocation fails, then there is a possible null pointer dereference: proj [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:47:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:47:20: note: Assignment 'proj=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:53:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:54:5: warning: If memory allocation fails, then there is a possible null pointer dereference: proj [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:47:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:47:20: note: Assignment 'proj=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:54:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:55:5: warning: If memory allocation fails, then there is a possible null pointer dereference: proj [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:47:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:47:20: note: Assignment 'proj=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:55:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:56:5: warning: If memory allocation fails, then there is a possible null pointer dereference: proj [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:47:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:47:20: note: Assignment 'proj=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:56:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:56:16: warning: If memory allocation fails, then there is a possible null pointer dereference: proj [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:47:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:47:20: note: Assignment 'proj=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:56:16: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:63:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uv [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:62:33: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:62:18: note: Assignment 'uv=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:63:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:64:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uv [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:62:33: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:62:18: note: Assignment 'uv=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:64:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:65:5: warning: If memory allocation fails, then there is a possible null pointer dereference: uv [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:62:33: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:62:18: note: Assignment 'uv=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:65:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:78:5: warning: If memory allocation fails, then there is a possible null pointer dereference: location [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:71:39: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:71:24: note: Assignment 'location=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:78:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:79:5: warning: If memory allocation fails, then there is a possible null pointer dereference: location [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:71:39: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:71:24: note: Assignment 'location=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:79:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:80:5: warning: If memory allocation fails, then there is a possible null pointer dereference: location [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:71:39: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:71:24: note: Assignment 'location=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:80:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:89:5: warning: If memory allocation fails, then there is a possible null pointer dereference: location1 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:87:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:87:25: note: Assignment 'location1=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:89:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:90:5: warning: If memory allocation fails, then there is a possible null pointer dereference: location1 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:87:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:87:25: note: Assignment 'location1=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:90:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:36:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READONLY [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:91:5: warning: If memory allocation fails, then there is a possible null pointer dereference: location1 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:87:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:87:25: note: Assignment 'location1=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:91:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:167:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USHORT_IMG [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:92:5: warning: If memory allocation fails, then there is a possible null pointer dereference: location2 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:88:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:88:25: note: Assignment 'location2=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:92:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:270:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USHORT_IMG [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:93:5: warning: If memory allocation fails, then there is a possible null pointer dereference: location2 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:88:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:88:25: note: Assignment 'location2=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:93:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:379:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USHORT_IMG [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:94:5: warning: If memory allocation fails, then there is a possible null pointer dereference: location2 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:88:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:88:25: note: Assignment 'location2=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:94:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:531:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:95:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:579:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JCS_RGB [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:95:17: warning: If memory allocation fails, then there is a possible null pointer dereference: location2 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:88:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:88:25: note: Assignment 'location2=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:95:17: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:607:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sizes [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:95:32: warning: If memory allocation fails, then there is a possible null pointer dereference: location1 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:87:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:87:25: note: Assignment 'location1=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:95:32: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:677:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_COLOR_MASK_PALETTE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:96:5: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:96:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:709:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sizes [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:96:17: warning: If memory allocation fails, then there is a possible null pointer dereference: location2 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:88:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:88:25: note: Assignment 'location2=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:96:17: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:757:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:96:32: warning: If memory allocation fails, then there is a possible null pointer dereference: location1 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:87:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:87:25: note: Assignment 'location1=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:96:32: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:852:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:97:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:959:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:97:17: warning: If memory allocation fails, then there is a possible null pointer dereference: location2 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:88:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:88:25: note: Assignment 'location2=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:97:17: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:1055:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:97:32: warning: If memory allocation fails, then there is a possible null pointer dereference: location1 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:87:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:87:25: note: Assignment 'location1=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:97:32: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/node.cpp:37:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable factor [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/file.c:1146:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_stream_p [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:98:5: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:98:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:1169:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_stream_p [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:99:5: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:99:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:1247:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t_max [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/matrix.c:100:5: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:100:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:101:5: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:101:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:101:18: warning: If memory allocation fails, then there is a possible null pointer dereference: location2 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:88:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:88:25: note: Assignment 'location2=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:101:18: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:102:5: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:102:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:102:18: warning: If memory allocation fails, then there is a possible null pointer dereference: location2 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:88:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:88:25: note: Assignment 'location2=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:102:18: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:103:5: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:103:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:103:18: warning: If memory allocation fails, then there is a possible null pointer dereference: location2 [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:88:40: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:88:25: note: Assignment 'location2=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:103:18: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:106:11: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:106:11: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:107:9: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:107:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:108:11: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:108:11: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:109:9: warning: If memory allocation fails, then there is a possible null pointer dereference: center [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/matrix.c:86:37: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/matrix.c:86:22: note: Assignment 'center=(double*)malloc(sizeof(double)*3)', assigned value is 0 OpenVLBI-3.0.3/vlbi/matrix.c:109:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/matrix.c:31:71: style: Parameter 'baseline' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/matrix.c:45:72: style: Parameter 'baseline' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/matrix.c:60:49: style: Parameter 'proj' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/matrix.c:69:43: style: Parameter 'loc' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/matrix.c:84:50: style: Parameter 'loc1' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/matrix.c:84:64: style: Parameter 'loc2' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi/node.cpp:22:11: warning: Member variable 'VLBINode::GeographicLocation' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi/file.c:80:9: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/file.c:77:49: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/file.c:77:28: note: Assignment 'stream=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*(unsigned long)nrows)', assigned value is 0 OpenVLBI-3.0.3/vlbi/file.c:80:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/file.c:94:43: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/file.c:77:49: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/file.c:77:28: note: Assignment 'stream=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*(unsigned long)nrows)', assigned value is 0 OpenVLBI-3.0.3/vlbi/file.c:94:43: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/file.c:96:43: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/file.c:77:49: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/file.c:77:28: note: Assignment 'stream=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*(unsigned long)nrows)', assigned value is 0 OpenVLBI-3.0.3/vlbi/file.c:96:43: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/file.c:98:9: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/file.c:77:49: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/file.c:77:28: note: Assignment 'stream=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*(unsigned long)nrows)', assigned value is 0 OpenVLBI-3.0.3/vlbi/file.c:98:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/file.c:99:9: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/file.c:77:49: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/file.c:77:28: note: Assignment 'stream=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*(unsigned long)nrows)', assigned value is 0 OpenVLBI-3.0.3/vlbi/file.c:99:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/file.c:99:60: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/file.c:77:49: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/file.c:77:28: note: Assignment 'stream=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*(unsigned long)nrows)', assigned value is 0 OpenVLBI-3.0.3/vlbi/file.c:99:60: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/file.c:177:12: warning: If memory allocation fails, then there is a possible null pointer dereference: fptr [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/file.c:176:39: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/file.c:176:22: note: Assignment 'fptr=(fitsfile*)malloc(sizeof(fitsfile))', assigned value is 0 OpenVLBI-3.0.3/vlbi/file.c:177:12: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/file.c:76:19: style: Variable 'rows' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/file.c:83:16: style: Variable 'ra_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/file.c:84:16: style: Variable 'dec_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/file.c:85:16: style: Variable 'freq_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/file.c:86:16: style: Variable 'lat_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/file.c:87:16: style: Variable 'lon_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/file.c:88:16: style: Variable 'el_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/file.c:89:16: style: Variable 'date_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/file.c:90:16: style: Variable 'exposure_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/file.c:91:16: style: Variable 'time_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/file.c:92:16: style: Variable 'data_str' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/nodecollection.cpp:42:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_location [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/nodecollection.cpp:80:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coordinates [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/dsp/stream.c:283:12: warning: If memory allocation fails, then there is a possible null pointer dereference: sizes [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:281:30: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:281:18: note: Assignment 'sizes=(int*)malloc(sizeof(int)*stream->dims)', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:283:12: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:320:12: warning: If memory allocation fails, then there is a possible null pointer dereference: children [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:318:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:318:30: note: Assignment 'children=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*stream->child_count)', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:320:12: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:361:12: warning: If memory allocation fails, then there is a possible null pointer dereference: stars [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:359:40: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:359:23: note: Assignment 'stars=(dsp_star*)malloc(sizeof(dsp_star)*stream->stars_count)', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:361:12: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:459:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pos [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:454:28: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:454:16: note: Assignment 'pos=(int*)malloc(sizeof(int)*stream->dims)', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:459:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:475:22: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pos [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:615:31: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:615:19: note: Assignment 'offset=(int*)malloc(sizeof(int)*stream->dims)', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:617:45: note: Calling function 'dsp_stream_set_position', 2nd argument 'offset' value is 0 OpenVLBI-3.0.3/dsp/stream.c:475:22: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:542:22: warning: If memory allocation fails, then there is a possible null pointer dereference: th [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:531:39: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:531:21: note: Assignment 'th=(pthread_t*)malloc(sizeof(pthread_t)*dsp_max_threads(0))', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:542:22: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:605:22: warning: If memory allocation fails, then there is a possible null pointer dereference: th [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:594:39: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:594:21: note: Assignment 'th=(pthread_t*)malloc(sizeof(pthread_t)*dsp_max_threads(0))', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:605:22: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:685:22: warning: If memory allocation fails, then there is a possible null pointer dereference: th [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:674:39: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:674:21: note: Assignment 'th=(pthread_t*)malloc(sizeof(pthread_t)*dsp_max_threads(0))', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:685:22: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:747:22: warning: If memory allocation fails, then there is a possible null pointer dereference: th [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:736:39: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:736:21: note: Assignment 'th=(pthread_t*)malloc(sizeof(pthread_t)*dsp_max_threads(0))', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:747:22: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:813:22: warning: If memory allocation fails, then there is a possible null pointer dereference: th [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:800:39: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:800:21: note: Assignment 'th=(pthread_t*)malloc(sizeof(pthread_t)*dsp_max_threads(0))', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:813:22: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:838:22: warning: If memory allocation fails, then there is a possible null pointer dereference: th [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:825:39: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:825:21: note: Assignment 'th=(pthread_t*)malloc(sizeof(pthread_t)*dsp_max_threads(0))', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:838:22: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:863:22: warning: If memory allocation fails, then there is a possible null pointer dereference: th [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/stream.c:850:39: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/stream.c:850:21: note: Assignment 'th=(pthread_t*)malloc(sizeof(pthread_t)*dsp_max_threads(0))', assigned value is 0 OpenVLBI-3.0.3/dsp/stream.c:863:22: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:505:20: style: Local variable 'y' shadows outer variable [shadowVariable] OpenVLBI-3.0.3/dsp/stream.c:493:9: note: Shadowed declaration OpenVLBI-3.0.3/dsp/stream.c:505:20: note: Shadow variable OpenVLBI-3.0.3/dsp/stream.c:714:20: style: Local variable 'y' shadows outer variable [shadowVariable] OpenVLBI-3.0.3/dsp/stream.c:704:9: note: Shadowed declaration OpenVLBI-3.0.3/dsp/stream.c:714:20: note: Shadow variable OpenVLBI-3.0.3/dsp/stream.c:49:29: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/dsp/stream.c:470:55: style: Parameter 'pos' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/dsp/stream.c:486:8: style: Variable 'arguments' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/stream.c:559:8: style: Variable 'arguments' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/stream.c:623:12: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/stream.c:641:9: style: Variable 'arguments' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/stream.c:697:8: style: Variable 'arguments' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/stream.c:320:12: warning: Size of pointer 'children' used instead of size of its data. [pointerSize] OpenVLBI-3.0.3/dsp/stream.c:361:12: warning: Size of pointer 'stars' used instead of size of its data. [pointerSize] OpenVLBI-3.0.3/vlbi/nodecollection.cpp:30:5: warning: Class 'NodeCollection' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] OpenVLBI-3.0.3/vlbi/nodecollection.cpp:30:5: warning: Class 'NodeCollection' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] OpenVLBI-3.0.3/vlbi/baselinecollection.h:34:23: warning: The class 'BaselineCollection' defines member function with name 'get' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:41:11: note: Parent function 'VLBICollection::get' OpenVLBI-3.0.3/vlbi/baselinecollection.h:34:23: note: Derived function 'BaselineCollection::get' OpenVLBI-3.0.3/vlbi/baselinecollection.h:37:14: warning: The class 'BaselineCollection' defines member function with name 'remove' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:42:10: note: Parent function 'VLBICollection::remove' OpenVLBI-3.0.3/vlbi/baselinecollection.h:37:14: note: Derived function 'BaselineCollection::remove' OpenVLBI-3.0.3/vlbi/baselinecollection.h:38:14: warning: The class 'BaselineCollection' defines member function with name 'clear' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:46:10: note: Parent function 'VLBICollection::clear' OpenVLBI-3.0.3/vlbi/baselinecollection.h:38:14: note: Derived function 'BaselineCollection::clear' OpenVLBI-3.0.3/vlbi/baselinecollection.h:40:14: warning: The class 'BaselineCollection' defines member function with name 'contains' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:44:10: note: Parent function 'VLBICollection::contains' OpenVLBI-3.0.3/vlbi/baselinecollection.h:40:14: note: Derived function 'BaselineCollection::contains' OpenVLBI-3.0.3/vlbi/modelcollection.h:30:22: warning: The class 'ModelCollection' defines member function with name 'get' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:41:11: note: Parent function 'VLBICollection::get' OpenVLBI-3.0.3/vlbi/modelcollection.h:30:22: note: Derived function 'ModelCollection::get' OpenVLBI-3.0.3/vlbi/modelcollection.h:31:14: warning: The class 'ModelCollection' defines member function with name 'remove' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:42:10: note: Parent function 'VLBICollection::remove' OpenVLBI-3.0.3/vlbi/modelcollection.h:31:14: note: Derived function 'ModelCollection::remove' OpenVLBI-3.0.3/vlbi/modelcollection.h:34:14: warning: The class 'ModelCollection' defines member function with name 'contains' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:44:10: note: Parent function 'VLBICollection::contains' OpenVLBI-3.0.3/vlbi/modelcollection.h:34:14: note: Derived function 'ModelCollection::contains' OpenVLBI-3.0.3/vlbi/nodecollection.cpp:59:28: warning: The class 'NodeCollection' defines member function with name 'get' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:41:11: note: Parent function 'VLBICollection::get' OpenVLBI-3.0.3/vlbi/nodecollection.cpp:59:28: note: Derived function 'NodeCollection::get' OpenVLBI-3.0.3/vlbi/nodecollection.cpp:53:22: warning: The class 'NodeCollection' defines member function with name 'remove' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:42:10: note: Parent function 'VLBICollection::remove' OpenVLBI-3.0.3/vlbi/nodecollection.cpp:53:22: note: Derived function 'NodeCollection::remove' OpenVLBI-3.0.3/vlbi/nodecollection.cpp:69:22: warning: The class 'NodeCollection' defines member function with name 'contains' also defined in its parent class 'VLBICollection'. [duplInheritedMember] OpenVLBI-3.0.3/vlbi/collection.h:44:10: note: Parent function 'VLBICollection::contains' OpenVLBI-3.0.3/vlbi/nodecollection.cpp:69:22: note: Derived function 'NodeCollection::contains' OpenVLBI-3.0.3/vlbi/nodecollection.cpp:53:41: style:inconclusive: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. [funcArgNamesDifferent] OpenVLBI-3.0.3/vlbi/nodecollection.h:36:33: note: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. OpenVLBI-3.0.3/vlbi/nodecollection.cpp:53:41: note: Function 'remove' argument 1 names different: declaration 'element' definition 'name'. OpenVLBI-3.0.3/vlbi/time.c:50:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIDEREAL_DAY [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/time.c:67:12: warning: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/time.c:66:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/time.c:66:21: note: Assignment 'timestr=(char*)malloc(strlen(time)+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/time.c:67:12: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/time.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/time.c:66:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/time.c:66:21: note: Assignment 'timestr=(char*)malloc(strlen(time)+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/time.c:68:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/time.c:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/time.c:66:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/time.c:66:21: note: Assignment 'timestr=(char*)malloc(strlen(time)+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/time.c:69:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/time.c:70:5: warning: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/time.c:66:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/time.c:66:21: note: Assignment 'timestr=(char*)malloc(strlen(time)+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/time.c:70:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/time.c:71:5: warning: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/time.c:66:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/time.c:66:21: note: Assignment 'timestr=(char*)malloc(strlen(time)+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/time.c:71:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/time.c:72:5: warning: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/time.c:66:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/time.c:66:21: note: Assignment 'timestr=(char*)malloc(strlen(time)+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/time.c:72:5: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/time.c:73:23: warning: If memory allocation fails, then there is a possible null pointer dereference: timestr [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/time.c:66:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/time.c:66:21: note: Assignment 'timestr=(char*)malloc(strlen(time)+1)', assigned value is 0 OpenVLBI-3.0.3/vlbi/time.c:73:23: note: Null pointer dereference OpenVLBI-3.0.3/dsp/stream.c:191:12: style: Variable 'stream' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/dsp/stream.c:261:11: style: Variable 'd' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/dsp/stream.c:452:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/vlbi_server.h:370:23: style:inconclusive: Technically the member function 'VLBI::Server::getRa' can be const. [functionConst] OpenVLBI-3.0.3/vlbi_server.h:379:23: style:inconclusive: Technically the member function 'VLBI::Server::getDec' can be const. [functionConst] OpenVLBI-3.0.3/vlbi_server.h:388:23: style:inconclusive: Technically the member function 'VLBI::Server::getFreq' can be const. [functionConst] OpenVLBI-3.0.3/vlbi_server.h:397:23: style:inconclusive: Technically the member function 'VLBI::Server::getSampleRate' can be const. [functionConst] OpenVLBI-3.0.3/vlbi_server.h:412:23: style:inconclusive: Technically the member function 'VLBI::Server::getBps' can be const. [functionConst] OpenVLBI-3.0.3/vlbi_server.h:421:23: style:inconclusive: Technically the member function 'VLBI::Server::getWidth' can be const. [functionConst] OpenVLBI-3.0.3/vlbi_server.h:430:23: style:inconclusive: Technically the member function 'VLBI::Server::getHeight' can be const. [functionConst] OpenVLBI-3.0.3/vlbi_server.h:484:29: style:inconclusive: Technically the member function 'VLBI::Server::getDelegate' can be const. [functionConst] OpenVLBI-3.0.3/vlbi_server_dummy.h:30:10: style: The destructor '~DUMMYServer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] OpenVLBI-3.0.3/vlbi_server.h:75:18: note: Virtual destructor in base class OpenVLBI-3.0.3/vlbi_server_dummy.h:30:10: note: Destructor in derived class OpenVLBI-3.0.3/vlbi_server_dummy.h:32:13: style: The function 'Init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] OpenVLBI-3.0.3/vlbi_server.h:82:21: note: Virtual function in base class OpenVLBI-3.0.3/vlbi_server_dummy.h:32:13: note: Function in derived class OpenVLBI-3.0.3/vlbi_server_dummy.h:33:14: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] OpenVLBI-3.0.3/vlbi_server.h:92:22: note: Virtual function in base class OpenVLBI-3.0.3/vlbi_server_dummy.h:33:14: note: Function in derived class OpenVLBI-3.0.3/vlbi_server_dummy.h:32:13: style: The function 'Init' overrides a function in a base class but just delegates back to the base class. [uselessOverride] OpenVLBI-3.0.3/vlbi_server.h:82:21: note: Virtual function in base class OpenVLBI-3.0.3/vlbi_server_dummy.h:32:13: note: Function in derived class OpenVLBI-3.0.3/vlbi_server_dummy.h:33:14: style: The function 'Parse' overrides a function in a base class but just delegates back to the base class. [uselessOverride] OpenVLBI-3.0.3/vlbi_server.h:92:22: note: Virtual function in base class OpenVLBI-3.0.3/vlbi_server_dummy.h:33:14: note: Function in derived class src/common/platform.h:67:0: error: #error "CS_PLATFORM is not specified and we couldn't guess it." [preprocessorErrorDirective] src/common/platform.h:67:2: error: #error "CS_PLATFORM is not specified and we couldn't guess it." [preprocessorErrorDirective] OpenVLBI-3.0.3/vlbi_server_indi.cpp:36:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPECTROGRAPH_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:49:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPECTROGRAPH_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:62:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CCD_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:75:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CCD_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:89:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPECTROGRAPH_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:103:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPECTROGRAPH_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:117:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPECTROGRAPH_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:130:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPECTROGRAPH_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:144:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPECTROGRAPH_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:157:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELESCOPE_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:171:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELESCOPE_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:185:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELESCOPE_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:199:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELESCOPE_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:218:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELESCOPE_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:232:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELESCOPE_INTERFACE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:255:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_ONLY [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:294:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:312:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server_shared.cpp:30:6: style: The destructor '~SHAREDServer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] OpenVLBI-3.0.3/vlbi_server.h:75:18: note: Virtual destructor in base class OpenVLBI-3.0.3/vlbi_server_shared.cpp:30:6: note: Destructor in derived class OpenVLBI-3.0.3/vlbi_server_shared.cpp:32:9: style: The function 'Init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] OpenVLBI-3.0.3/vlbi_server.h:82:21: note: Virtual function in base class OpenVLBI-3.0.3/vlbi_server_shared.cpp:32:9: note: Function in derived class OpenVLBI-3.0.3/vlbi_server_shared.cpp:33:10: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] OpenVLBI-3.0.3/vlbi_server.h:92:22: note: Virtual function in base class OpenVLBI-3.0.3/vlbi_server_shared.cpp:33:10: note: Function in derived class OpenVLBI-3.0.3/vlbi_server_shared.cpp:32:9: style: The function 'Init' overrides a function in a base class but just delegates back to the base class. [uselessOverride] OpenVLBI-3.0.3/vlbi_server.h:82:21: note: Virtual function in base class OpenVLBI-3.0.3/vlbi_server_shared.cpp:32:9: note: Function in derived class OpenVLBI-3.0.3/vlbi_server_shared.cpp:33:10: style: The function 'Parse' overrides a function in a base class but just delegates back to the base class. [uselessOverride] OpenVLBI-3.0.3/vlbi_server.h:92:22: note: Virtual function in base class OpenVLBI-3.0.3/vlbi_server_shared.cpp:33:10: note: Function in derived class OpenVLBI-3.0.3/vlbi_server_indi.cpp:379:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] OpenVLBI-3.0.3/vlbi_server_indi.cpp:382:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] OpenVLBI-3.0.3/vlbi_server_indi.cpp:385:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] OpenVLBI-3.0.3/vlbi_server_indi.cpp:425:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] OpenVLBI-3.0.3/vlbi_server_indi.cpp:427:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] OpenVLBI-3.0.3/vlbi_server_indi.cpp:3:13: warning: Member variable 'INDIServer::Gain' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:3:13: warning: Member variable 'INDIServer::Address' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:3:13: warning: Member variable 'INDIServer::Savedir' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:3:13: warning: Member variable 'INDIServer::Bandwidth' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:3:13: warning: Member variable 'INDIServer::duration' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:3:13: warning: Member variable 'INDIServer::Port' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi_server_indi.cpp:377:9: error: Memory leak: str [memleak] OpenVLBI-3.0.3/vlbi_server_indi.cpp:381:9: error: Memory leak: str [memleak] OpenVLBI-3.0.3/vlbi_server_indi.cpp:384:9: error: Memory leak: str [memleak] OpenVLBI-3.0.3/vlbi_server_indi.cpp:387:9: error: Memory leak: str [memleak] OpenVLBI-3.0.3/vlbi_server_indi.cpp:472:1: error: Memory leak: str [memleak] OpenVLBI-3.0.3/vlbi_server_indi.cpp:373:14: warning: Either the condition 'str==nullptr' is redundant or there is possible null pointer dereference: str. [nullPointerRedundantCheck] OpenVLBI-3.0.3/vlbi_server_indi.cpp:374:12: note: Assuming that condition 'str==nullptr' is not redundant OpenVLBI-3.0.3/vlbi_server_indi.cpp:373:14: note: Null pointer dereference OpenVLBI-3.0.3/vlbi_server_indi.cpp:278:21: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi_server_indi.cpp:278:46: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi_server_indi.cpp:241:46: style:inconclusive: Function 'newDevice' argument 1 names different: declaration 'dp' definition 'dev'. [funcArgNamesDifferent] OpenVLBI-3.0.3/vlbi_server_indi.h:41:42: note: Function 'newDevice' argument 1 names different: declaration 'dp' definition 'dev'. OpenVLBI-3.0.3/vlbi_server_indi.cpp:241:46: note: Function 'newDevice' argument 1 names different: declaration 'dp' definition 'dev'. OpenVLBI-3.0.3/vlbi_server_indi.cpp:366:11: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_indi.cpp:367:11: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_indi.cpp:425:19: style: Variable 'k' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi/stream.cpp:48:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_ERRORCHECK [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:73:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VLBI_VERSION_STRING [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:94:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VLBI_BASELINE_NAME_SIZE [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:138:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:255:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:265:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:272:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:282:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:289:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:299:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vlbi_node [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:328:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:343:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:358:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:373:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:388:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:395:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:408:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_stream_p [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:425:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_t_max [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:457:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vlbi_baseline [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:518:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pairs [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:589:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:667:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:696:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:710:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:724:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:751:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:768:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:797:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:804:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:826:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:848:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:870:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:897:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:924:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:951:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:960:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pfunc [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/json.c:276:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:276:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:302:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:302:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:319:29: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:319:29: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:448:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:448:22: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:464:19: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:464:19: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:469:19: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:469:19: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:484:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:484:22: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:502:19: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:502:19: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:521:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:521:22: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:537:25: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:537:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:552:25: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:552:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:678:28: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:678:28: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:698:25: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:698:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:722:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:722:22: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:740:28: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:740:28: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:777:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:777:22: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:793:25: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:793:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:819:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:819:22: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:905:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:905:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:915:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:915:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] OpenVLBI-3.0.3/json.c:220:36: style:inconclusive: Function 'json_parse_ex' argument 4 names different: declaration 'error' definition 'error_buf'. [funcArgNamesDifferent] OpenVLBI-3.0.3/json.h:263:36: note: Function 'json_parse_ex' argument 4 names different: declaration 'error' definition 'error_buf'. OpenVLBI-3.0.3/json.c:220:36: note: Function 'json_parse_ex' argument 4 names different: declaration 'error' definition 'error_buf'. OpenVLBI-3.0.3/json.c:824:52: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] OpenVLBI-3.0.3/json.c:217:45: style: Parameter 'settings' can be declared as pointer to const [constParameterPointer] OpenVLBI-3.0.3/vlbi_server.cpp:160:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server.cpp:258:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsp_stream_p [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server.cpp:470:136: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Index [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server.cpp:715:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi_server.cpp:740:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] OpenVLBI-3.0.3/vlbi/stream.cpp:63:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] OpenVLBI-3.0.3/vlbi/stream.cpp:645:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] OpenVLBI-3.0.3/vlbi/stream.cpp:879:9: error: Common realloc mistake: 'file' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/vlbi/stream.cpp:885:9: error: Common realloc mistake: 'file' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/vlbi/stream.cpp:906:9: error: Common realloc mistake: 'file' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/vlbi/stream.cpp:912:9: error: Common realloc mistake: 'file' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/vlbi/stream.cpp:933:9: error: Common realloc mistake: 'file' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/vlbi/stream.cpp:939:9: error: Common realloc mistake: 'file' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/vlbi/stream.cpp:302:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:299:44: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:299:26: note: Assignment 'out=(vlbi_node*)malloc(sizeof(vlbi_node)*(unsigned long)nodes->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:302:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:303:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:299:44: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:299:26: note: Assignment 'out=(vlbi_node*)malloc(sizeof(vlbi_node)*(unsigned long)nodes->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:303:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:304:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:299:44: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:299:26: note: Assignment 'out=(vlbi_node*)malloc(sizeof(vlbi_node)*(unsigned long)nodes->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:304:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:305:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:299:44: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:299:26: note: Assignment 'out=(vlbi_node*)malloc(sizeof(vlbi_node)*(unsigned long)nodes->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:305:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:306:20: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:299:44: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:299:26: note: Assignment 'out=(vlbi_node*)malloc(sizeof(vlbi_node)*(unsigned long)nodes->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:306:20: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:307:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:299:44: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:299:26: note: Assignment 'out=(vlbi_node*)malloc(sizeof(vlbi_node)*(unsigned long)nodes->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:307:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:411:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:408:50: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:408:29: note: Assignment 'out=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*models->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:411:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:460:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:460:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:461:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:461:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:461:65: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:461:65: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:462:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:462:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:463:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:463:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:464:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:464:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:465:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:465:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:466:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:466:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:467:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:467:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:468:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:468:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:469:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:469:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:470:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:470:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:471:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:471:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:472:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:472:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:473:32: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:473:32: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:474:17: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:474:17: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:475:17: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:475:17: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:476:17: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:476:17: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:477:17: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:477:17: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:478:24: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:478:24: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:479:17: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:479:17: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:481:20: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:481:20: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:482:13: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:457:52: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: note: Assignment 'out=(vlbi_baseline*)malloc(sizeof(vlbi_baseline)*baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:482:13: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:633:9: warning: If memory allocation fails, then there is a possible null pointer dereference: argument [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:628:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:628:22: note: Assignment 'argument=(args*)malloc(sizeof(args)*(unsigned long)baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:632:14: note: Assuming condition is false OpenVLBI-3.0.3/vlbi/stream.cpp:633:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:634:9: warning: If memory allocation fails, then there is a possible null pointer dereference: argument [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:628:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:628:22: note: Assignment 'argument=(args*)malloc(sizeof(args)*(unsigned long)baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:632:14: note: Assuming condition is false OpenVLBI-3.0.3/vlbi/stream.cpp:634:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:635:9: warning: If memory allocation fails, then there is a possible null pointer dereference: argument [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:628:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:628:22: note: Assignment 'argument=(args*)malloc(sizeof(args)*(unsigned long)baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:632:14: note: Assuming condition is false OpenVLBI-3.0.3/vlbi/stream.cpp:635:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:636:9: warning: If memory allocation fails, then there is a possible null pointer dereference: argument [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:628:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:628:22: note: Assignment 'argument=(args*)malloc(sizeof(args)*(unsigned long)baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:632:14: note: Assuming condition is false OpenVLBI-3.0.3/vlbi/stream.cpp:636:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:637:9: warning: If memory allocation fails, then there is a possible null pointer dereference: argument [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:628:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:628:22: note: Assignment 'argument=(args*)malloc(sizeof(args)*(unsigned long)baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:632:14: note: Assuming condition is false OpenVLBI-3.0.3/vlbi/stream.cpp:637:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:638:9: warning: If memory allocation fails, then there is a possible null pointer dereference: argument [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:628:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:628:22: note: Assignment 'argument=(args*)malloc(sizeof(args)*(unsigned long)baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:632:14: note: Assuming condition is false OpenVLBI-3.0.3/vlbi/stream.cpp:638:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:639:9: warning: If memory allocation fails, then there is a possible null pointer dereference: argument [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi/stream.cpp:628:35: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi/stream.cpp:628:22: note: Assignment 'argument=(args*)malloc(sizeof(args)*(unsigned long)baselines->count())', assigned value is 0 OpenVLBI-3.0.3/vlbi/stream.cpp:632:14: note: Assuming condition is false OpenVLBI-3.0.3/vlbi/stream.cpp:639:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi/stream.cpp:93:29: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:151:22: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:175:16: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:176:23: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:203:50: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:247:29: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:256:29: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:266:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:273:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:283:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:290:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:296:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:299:26: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:317:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:329:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:344:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:359:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:374:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:389:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:404:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:408:29: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:421:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:433:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:447:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:453:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:457:30: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:461:28: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:500:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:524:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:546:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:567:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:590:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:614:26: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:628:22: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:697:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:711:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:725:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:752:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:769:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:788:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:798:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:805:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:809:19: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:827:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:831:19: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:849:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:853:19: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:871:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:873:26: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:874:23: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:879:16: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:885:16: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:898:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:900:26: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:901:23: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:906:16: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:912:16: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:925:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:927:26: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:928:23: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:933:16: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:939:16: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:952:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi/stream.cpp:961:48: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi_server_json.cpp:42:13: warning: Member variable 'JSONServer::nodelay' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi_server_json.cpp:42:13: warning: Member variable 'JSONServer::relative' is not initialized in the constructor. [uninitMemberVar] OpenVLBI-3.0.3/vlbi_server_json.cpp:57:18: performance:inconclusive: Technically the member function 'JSONServer::CheckMask' can be static (but you may consider moving to unnamed namespace). [functionStatic] OpenVLBI-3.0.3/vlbi_server_json.h:36:14: note: Technically the member function 'JSONServer::CheckMask' can be static (but you may consider moving to unnamed namespace). OpenVLBI-3.0.3/vlbi_server_json.cpp:57:18: note: Technically the member function 'JSONServer::CheckMask' can be static (but you may consider moving to unnamed namespace). OpenVLBI-3.0.3/vlbi_server_json.h:32:13: style: The function 'Init' overrides a function in a base class but just delegates back to the base class. [uselessOverride] OpenVLBI-3.0.3/vlbi_server.h:82:21: note: Virtual function in base class OpenVLBI-3.0.3/vlbi_server_json.h:32:13: note: Function in derived class OpenVLBI-3.0.3/vlbi/stream.cpp:177:13: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/vlbi_server_json.cpp:73:9: error: Common realloc mistake: 'str' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/vlbi_server_json.cpp:304:33: error: Common realloc mistake: 'js_code_str' nulled but not freed upon failure [memleakOnRealloc] OpenVLBI-3.0.3/vlbi_server_json.cpp:70:9: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi_server_json.cpp:68:30: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi_server_json.cpp:68:17: note: Assignment 'str=(char*)malloc(1)', assigned value is 0 OpenVLBI-3.0.3/vlbi_server_json.cpp:70:9: note: Null pointer dereference OpenVLBI-3.0.3/vlbi_server_json.cpp:72:12: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] OpenVLBI-3.0.3/vlbi_server_json.cpp:68:30: note: Assuming allocation function fails OpenVLBI-3.0.3/vlbi_server_json.cpp:68:17: note: Assignment 'str=(char*)malloc(1)', assigned value is 0 OpenVLBI-3.0.3/vlbi_server_json.cpp:72:12: note: Null pointer dereference OpenVLBI-3.0.3/vlbi_server_json.cpp:35:17: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi_server_json.cpp:44:19: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi_server_json.cpp:68:17: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi_server_json.cpp:73:15: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi_server_json.cpp:212:27: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi_server_json.cpp:220:33: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi_server_json.cpp:304:47: style: C-style pointer casting [cstyleCast] OpenVLBI-3.0.3/vlbi_server_json.cpp:102:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] OpenVLBI-3.0.3/vlbi_server_json.cpp:227:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] OpenVLBI-3.0.3/vlbi_server_json.cpp:65:17: style: The scope of the variable 'v' can be reduced. [variableScope] OpenVLBI-3.0.3/vlbi_server_json.cpp:66:11: style: The scope of the variable 'n' can be reduced. [variableScope] OpenVLBI-3.0.3/vlbi_server_json.cpp:190:17: style: The scope of the variable 'locationslen' can be reduced. [variableScope] OpenVLBI-3.0.3/vlbi_server_json.cpp:75:20: style: Checking if unsigned expression 'strlen(str)' is less than zero. [unsignedLessThanZero] OpenVLBI-3.0.3/vlbi_server_json.cpp:303:40: style: Local variable 'len' shadows outer variable [shadowVariable] OpenVLBI-3.0.3/vlbi_server_json.cpp:67:12: note: Shadowed declaration OpenVLBI-3.0.3/vlbi_server_json.cpp:303:40: note: Shadow variable OpenVLBI-3.0.3/vlbi_server_json.cpp:431:19: style: Local variable 'node' shadows outer variable [shadowVariable] OpenVLBI-3.0.3/vlbi_server_json.h:39:19: note: Shadowed declaration OpenVLBI-3.0.3/vlbi_server_json.cpp:431:19: note: Shadow variable OpenVLBI-3.0.3/vlbi_server_json.cpp:66:11: style: Variable 'n' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:139:19: style: Variable 'name' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:162:19: style: Variable 'name' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:186:19: style: Variable 'name' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:234:19: style: Variable 'name' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:332:19: style: Variable 'name' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:358:19: style: Variable 'name' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:388:19: style: Variable 'idft' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:389:19: style: Variable 'magnitude' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:390:19: style: Variable 'phase' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:429:19: style: Variable 'name' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:430:19: style: Variable 'model' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:431:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:432:19: style: Variable 'edit' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:433:19: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:434:19: style: Variable 'arg1' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:435:19: style: Variable 'arg2' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/vlbi_server_json.cpp:190:30: style: Variable 'locationslen' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/vlbi_server_json.cpp:221:34: style: Variable 'locationslen' is assigned a value that is never used. [unreadVariable] OpenVLBI-3.0.3/dsp/file.c:662:9: error: Resource leak: infile [resourceLeak] OpenVLBI-3.0.3/dsp/file.c:665:9: error: Resource leak: infile [resourceLeak] OpenVLBI-3.0.3/dsp/file.c:668:9: error: Resource leak: infile [resourceLeak] OpenVLBI-3.0.3/dsp/file.c:670:9: error: Resource leak: infile [resourceLeak] OpenVLBI-3.0.3/dsp/file.c:179:9: warning: If memory allocation fails, then there is a possible null pointer dereference: naxes [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/file.c:173:32: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/file.c:173:19: note: Assignment 'naxes=(long*)malloc(sizeof(long)*(unsigned long)tmp->dims)', assigned value is 0 OpenVLBI-3.0.3/dsp/file.c:179:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:281:9: warning: If memory allocation fails, then there is a possible null pointer dereference: naxes [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/file.c:276:32: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/file.c:276:19: note: Assignment 'naxes=(long*)malloc(sizeof(long)*(unsigned long)(tmp->dims+1))', assigned value is 0 OpenVLBI-3.0.3/dsp/file.c:281:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:282:5: warning: If memory allocation fails, then there is a possible null pointer dereference: naxes [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/file.c:276:32: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/file.c:276:19: note: Assignment 'naxes=(long*)malloc(sizeof(long)*(unsigned long)(tmp->dims+1))', assigned value is 0 OpenVLBI-3.0.3/dsp/file.c:282:5: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:391:9: warning: If memory allocation fails, then there is a possible null pointer dereference: naxes [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/file.c:386:32: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/file.c:386:19: note: Assignment 'naxes=(long*)malloc(sizeof(long)*(unsigned long)(tmp->dims))', assigned value is 0 OpenVLBI-3.0.3/dsp/file.c:391:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:1059:18: warning: If memory allocation fails, then there is a possible null pointer dereference: scanpt++ [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/file.c:1055:33: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/file.c:1055:19: note: Assignment 'dst=(dsp_t*)malloc(sizeof(dsp_t)*(unsigned long)(width*height*3))', assigned value is 0 OpenVLBI-3.0.3/dsp/file.c:1057:12: note: scanpt is assigned 'dst' here. OpenVLBI-3.0.3/dsp/file.c:1059:18: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:1148:9: warning: If memory allocation fails, then there is a possible null pointer dereference: picture [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/file.c:1146:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/file.c:1146:29: note: Assignment 'picture=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*(unsigned long)(components+1))', assigned value is 0 OpenVLBI-3.0.3/dsp/file.c:1148:9: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:1150:32: warning: If memory allocation fails, then there is a possible null pointer dereference: picture [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/file.c:1146:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/file.c:1146:29: note: Assignment 'picture=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*(unsigned long)(components+1))', assigned value is 0 OpenVLBI-3.0.3/dsp/file.c:1150:32: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:1151:33: warning: If memory allocation fails, then there is a possible null pointer dereference: picture [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/file.c:1146:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/file.c:1146:29: note: Assignment 'picture=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*(unsigned long)(components+1))', assigned value is 0 OpenVLBI-3.0.3/dsp/file.c:1151:33: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:1151:45: warning: If memory allocation fails, then there is a possible null pointer dereference: picture [nullPointerOutOfMemory] OpenVLBI-3.0.3/dsp/file.c:1146:51: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/file.c:1146:29: note: Assignment 'picture=(dsp_stream_p*)malloc(sizeof(dsp_stream_p)*(unsigned long)(components+1))', assigned value is 0 OpenVLBI-3.0.3/dsp/file.c:1151:45: note: Null pointer dereference OpenVLBI-3.0.3/dsp/file.c:1059:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] OpenVLBI-3.0.3/dsp/file.c:1055:33: note: Assuming allocation function fails OpenVLBI-3.0.3/dsp/file.c:1055:19: note: Assignment 'dst=(dsp_t*)malloc(sizeof(dsp_t)*(unsigned long)(width*height*3))', assigned value is 0 OpenVLBI-3.0.3/dsp/file.c:1057:12: note: scanpt is assigned 'dst' here. OpenVLBI-3.0.3/dsp/file.c:1059:18: note: Null pointer addition OpenVLBI-3.0.3/dsp/file.c:850:20: style: Variable 'red' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/file.c:850:26: style: Variable 'green' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/file.c:850:34: style: Variable 'blue' can be declared as pointer to const [constVariablePointer] OpenVLBI-3.0.3/dsp/file.c:283:19: warning: Shifting 32-bit value by 64 bits is undefined behaviour. See condition at line 310. [shiftTooManyBits] OpenVLBI-3.0.3/dsp/file.c:310:13: note: case 64: bpp is 64 here. OpenVLBI-3.0.3/dsp/file.c:283:19: note: Shift OpenVLBI-3.0.3/dsp/file.c:396:70: warning: Shifting 32-bit value by 64 bits is undefined behaviour. See condition at line 420. [shiftTooManyBits] OpenVLBI-3.0.3/dsp/file.c:420:13: note: case 64: bpp is 64 here. OpenVLBI-3.0.3/dsp/file.c:396:70: note: Shift OpenVLBI-3.0.3/dsp/file.c:1246:36: warning: Shifting 32-bit value by 64 bits is undefined behaviour. See condition at line 1261. [shiftTooManyBits] OpenVLBI-3.0.3/dsp/file.c:1261:9: note: case 64: bpp is 64 here. OpenVLBI-3.0.3/dsp/file.c:1246:36: note: Shift OpenVLBI-3.0.3/dsp/file.c:283:19: warning: Either the switch case 'case 32' is redundant or there is signed integer overflow for expression '1<<(unsigned long)abs(bpp)'. [integerOverflowCond] OpenVLBI-3.0.3/dsp/file.c:303:13: note: case 32: bpp is 32 here. OpenVLBI-3.0.3/dsp/file.c:283:19: note: Integer overflow OpenVLBI-3.0.3/dsp/file.c:283:38: warning: Either the switch case 'case 32' is redundant or there is signed integer overflow for expression '(1<<(unsigned long)abs(bpp))/2'. [integerOverflowCond] OpenVLBI-3.0.3/dsp/file.c:303:13: note: case 32: bpp is 32 here. OpenVLBI-3.0.3/dsp/file.c:283:38: note: Integer overflow OpenVLBI-3.0.3/dsp/file.c:396:70: warning: Either the switch case 'case 32' is redundant or there is signed integer overflow for expression '1<<(unsigned long)abs(bpp)'. [integerOverflowCond] OpenVLBI-3.0.3/dsp/file.c:413:13: note: case 32: bpp is 32 here. OpenVLBI-3.0.3/dsp/file.c:396:70: note: Integer overflow OpenVLBI-3.0.3/dsp/file.c:1246:36: warning: Either the switch case 'case 32' is redundant or there is signed integer overflow for expression '1<