2026-05-02 10:33 ftp://ftp.de.debian.org/debian/pool/main/g/gsw/gsw_3.6.21.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 410 412 elapsed-time: 753.1 677.7 head-timing-info: old-timing-info: head results: gsw-3.6.21/src/method_bodies.c:12:42: debug: Function::addArguments found argument 'self' with varid 0. [varid0] gsw-3.6.21/src/method_bodies.c:79:44: debug: Function::addArguments found argument 'self' with varid 0. [varid0] gsw-3.6.21/src/method_bodies.c:156:40: debug: Function::addArguments found argument 'self' with varid 0. [varid0] gsw-3.6.21/src/method_bodies.c:225:35: debug: Function::addArguments found argument 'self' with varid 0. [varid0] gsw-3.6.21/src/method_bodies.c:325:39: debug: Function::addArguments found argument 'self' with varid 0. [varid0] gsw-3.6.21/src/_ufuncs.c:46:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:81:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:155:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:235:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:279:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:320:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:362:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:406:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:451:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:502:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:555:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:607:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:660:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:705:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:751:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/method_bodies.c:23:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/method_bodies.c:93:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/method_bodies.c:166:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/method_bodies.c:235:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/method_bodies.c:336:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:981:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyUFunc_None [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/_ufuncs.c:42:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:43:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:45:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:46:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:77:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:77:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:78:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:80:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:80:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:81:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:113:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:113:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:116:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:116:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:151:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:151:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:151:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:152:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:154:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:154:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:154:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:155:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:190:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:190:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:190:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:193:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:193:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:193:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:231:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:231:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:231:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:231:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:232:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:234:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:234:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:234:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:234:75: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:235:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:275:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:275:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:275:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:275:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:275:105: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:276:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:278:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:278:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:278:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:278:75: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:278:91: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:279:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:316:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:316:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:317:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:317:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:319:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:319:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:320:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:321:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:358:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:358:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:359:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:359:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:359:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:361:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:361:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:362:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:363:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:364:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:402:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:402:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:402:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:403:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:403:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:405:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:405:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:405:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:406:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:407:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:447:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:447:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:447:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:448:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:448:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:448:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:450:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:450:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:450:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:451:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:452:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:453:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:498:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:498:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:498:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:499:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:499:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:499:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:499:87: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:499:111: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:501:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:501:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:501:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:502:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:503:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:504:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:505:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:506:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:551:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:551:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:551:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:551:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:552:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:552:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:552:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:554:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:554:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:554:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:554:67: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:555:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:556:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:557:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:603:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:603:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:603:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:603:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:603:105: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:604:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:604:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:604:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:606:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:606:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:606:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:606:67: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:606:83: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:607:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:608:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:609:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:656:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:656:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:656:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:656:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:656:105: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:656:128: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:657:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:657:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:659:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:659:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:659:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:659:67: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:659:83: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:659:99: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:660:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:661:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:701:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:701:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:702:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:704:75: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:704:91: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:705:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:747:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:747:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:747:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:748:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:750:99: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:750:115: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:750:131: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/_ufuncs.c:751:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.21/src/method_bodies.c:18:13: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:2231:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4885:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4995:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5031:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5064:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:6635:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8676:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:10143:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11405:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:7392:22: style: Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. [unpreciseMathCall] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:7436:34: style: Condition 'mod_pot_enthalpy_ice>=-5.1e5' is always false [knownConditionTrueFalse] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:7431:25: note: Assignment 'h00=-6.320202333358860e5', assigned value is -632020.233336 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:7434:32: note: Assignment 'mod_pot_enthalpy_ice=((pot_enthalpy_ice)>(h00))?(pot_enthalpy_ice):(h00)', assigned value is -632020.233336 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:7436:34: note: Condition 'mod_pot_enthalpy_ice>=-5.1e5' is always false gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8423:28: style: Condition 'sectnum>0' is always true [knownConditionTrueFalse] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8409:28: note: Assuming that condition 'sectnum==0' is not redundant gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8423:28: note: Condition 'sectnum>0' is always true gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11986:9: style: Condition '!mask' is always true [knownConditionTrueFalse] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11982:9: note: Assuming that condition 'mask' is not redundant gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11986:9: note: Condition '!mask' is always true gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3748:18: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3744:31: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3744:14: note: Assignment 'dp=(double*)malloc(nz*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3748:18: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3750:17: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3744:31: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3744:14: note: Assignment 'dp=(double*)malloc(nz*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3750:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3785:17: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3782:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3782:17: note: Assignment 'b=(double*)malloc(3*nz*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3785:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3936:17: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3932:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3932:17: note: Assignment 'b=(double*)malloc(4*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3936:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4070:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4252:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4252:11: note: Assignment 'p_i=(double*)malloc(ni_max*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4256:30: note: Calling function 'refine_grid_for_dh', 5th argument 'p_i' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4070:5: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4071:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p_indices [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4253:31: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4253:17: note: Assignment 'p_indices=(int*)malloc(nz*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4257:30: note: Calling function 'refine_grid_for_dh', 7th argument 'p_indices' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4071:5: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4134:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sa_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4266:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4266:12: note: Assignment 'sa_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4271:42: note: Calling function 'linear_interp_SA_CT_for_dh', 7th argument 'sa_i' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4134:5: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4135:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sa_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4266:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4266:12: note: Assignment 'sa_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4271:42: note: Calling function 'linear_interp_SA_CT_for_dh', 7th argument 'sa_i' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4135:5: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4136:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ct_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4265:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4265:12: note: Assignment 'ct_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4271:48: note: Calling function 'linear_interp_SA_CT_for_dh', 8th argument 'ct_i' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4136:5: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4137:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ct_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4265:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4265:12: note: Assignment 'ct_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4271:48: note: Calling function 'linear_interp_SA_CT_for_dh', 8th argument 'ct_i' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4137:5: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4150:9: warning: If memory allocation fails, then there is a possible null pointer dereference: sa_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4266:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4266:12: note: Assignment 'sa_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4271:42: note: Calling function 'linear_interp_SA_CT_for_dh', 7th argument 'sa_i' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4145:19: note: Assuming condition is false gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4150:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4151:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ct_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4265:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4265:12: note: Assignment 'ct_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4271:48: note: Calling function 'linear_interp_SA_CT_for_dh', 8th argument 'ct_i' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4145:19: note: Assuming condition is false gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4151:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4176:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4172:26: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4172:10: note: Assignment 'dp=(double*)malloc((nz-1)*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4176:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4177:13: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4172:26: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4172:10: note: Assignment 'dp=(double*)malloc((nz-1)*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4177:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4180:13: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4172:26: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4172:10: note: Assignment 'dp=(double*)malloc((nz-1)*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4180:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4216:13: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4213:29: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4213:13: note: Assignment 'b=(double*)malloc(nz*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4216:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4219:13: warning: If memory allocation fails, then there is a possible null pointer dereference: b_av [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4214:32: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4214:16: note: Assignment 'b_av=(double*)malloc((nz-1)*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4219:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4219:28: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4213:29: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4213:13: note: Assignment 'b=(double*)malloc(nz*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4219:28: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4219:37: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4213:29: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4213:13: note: Assignment 'b=(double*)malloc(nz*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4219:37: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4225:47: warning: If memory allocation fails, then there is a possible null pointer dereference: b_av [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4214:32: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4214:16: note: Assignment 'b_av=(double*)malloc((nz-1)*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4225:47: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4301:9: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4297:25: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4297:9: note: Assignment 'b=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4301:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4307:9: warning: If memory allocation fails, then there is a possible null pointer dereference: b_av [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4298:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4298:12: note: Assignment 'b_av=(double*)malloc((n_i-1)*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4307:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4307:24: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4297:25: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4297:9: note: Assignment 'b=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4307:24: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4307:33: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4297:25: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4297:9: note: Assignment 'b=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4307:33: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4308:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4296:26: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4296:10: note: Assignment 'dp=(double*)malloc((n_i-1)*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4308:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4313:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dh_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4295:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4295:12: note: Assignment 'dh_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4313:5: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4315:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dh_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4295:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4295:12: note: Assignment 'dh_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4315:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4315:19: warning: If memory allocation fails, then there is a possible null pointer dereference: dh_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4295:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4295:12: note: Assignment 'dh_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4315:19: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4315:31: warning: If memory allocation fails, then there is a possible null pointer dereference: b_av [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4298:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4298:12: note: Assignment 'b_av=(double*)malloc((n_i-1)*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4315:31: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4315:41: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4296:26: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4296:10: note: Assignment 'dp=(double*)malloc((n_i-1)*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4315:41: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4321:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dh_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4295:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4295:12: note: Assignment 'dh_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4321:14: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4324:25: warning: If memory allocation fails, then there is a possible null pointer dereference: dh_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4295:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4295:12: note: Assignment 'dh_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4324:25: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4406:13: warning: If memory allocation fails, then there is a possible null pointer dereference: delta_h [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4400:36: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4400:19: note: Assignment 'delta_h=(double*)malloc(3*np*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4406:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4410:49: warning: If memory allocation fails, then there is a possible null pointer dereference: delta_h [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4400:36: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4400:19: note: Assignment 'delta_h=(double*)malloc(3*np*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4410:49: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5692:16: warning: If memory allocation fails, then there is a possible null pointer dereference: in_rng [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5691:33: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5691:18: note: Assignment 'in_rng=(char*)malloc(npi*sizeof(char))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5692:16: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5732:13: warning: If memory allocation fails, then there is a possible null pointer dereference: xxi [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5711:32: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5711:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5732:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5734:13: warning: If memory allocation fails, then there is a possible null pointer dereference: xxi [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5711:32: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5711:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5734:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5734:25: warning: If memory allocation fails, then there is a possible null pointer dereference: xi [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5708:30: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5708:13: note: Assignment 'xi=(double*)malloc(n*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5734:25: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5734:28: warning: If memory allocation fails, then there is a possible null pointer dereference: k [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5709:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5709:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5734:28: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8267:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8265:31: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8265:14: note: Assignment 'dp=(double*)malloc(mp*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8267:18: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8277:16: warning: If memory allocation fails, then there is a possible null pointer dereference: shallow [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8274:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8274:19: note: Assignment 'shallow=(char*)malloc(3*mp_i*sizeof(char))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8277:16: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8301:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ip [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8299:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8299:14: note: Assignment 'ip=(int*)malloc((mp+mp_i)*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8301:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8719:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p_i_tmp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8717:36: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8717:19: note: Assignment 'p_i_tmp=(double*)malloc(m_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8719:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8726:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p_obs [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8695:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8695:17: note: Assignment 'p_obs=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8726:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8726:30: warning: If memory allocation fails, then there is a possible null pointer dereference: p_obs [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8695:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8695:17: note: Assignment 'p_obs=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8726:30: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8783:16: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8779:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8779:17: note: Assignment 'p_all=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8783:16: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8784:34: warning: If memory allocation fails, then there is a possible null pointer dereference: p_i_tmp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8717:36: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8717:19: note: Assignment 'p_i_tmp=(double*)malloc(m_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8784:34: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8787:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all_sort [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8780:39: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8780:22: note: Assignment 'p_all_sort=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8787:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8787:29: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8779:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8779:17: note: Assignment 'p_all=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8787:29: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8787:35: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all_idx [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8781:35: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8781:21: note: Assignment 'p_all_idx=(int*)malloc(p_all_len*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8787:35: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8790:20: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all_sort [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8780:39: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8780:22: note: Assignment 'p_all_sort=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8790:20: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8792:29: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all_sort [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8780:39: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8780:22: note: Assignment 'p_all_sort=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8792:29: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8798:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8779:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8779:17: note: Assignment 'p_all=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8798:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8843:13: warning: If memory allocation fails, then there is a possible null pointer dereference: independent_variable [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8839:49: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8839:32: note: Assignment 'independent_variable=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8843:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8859:13: warning: If memory allocation fails, then there is a possible null pointer dereference: scaled_sa_obs [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8848:42: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8848:25: note: Assignment 'scaled_sa_obs=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8859:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8868:13: warning: If memory allocation fails, then there is a possible null pointer dereference: sa_i_obs_plus_interp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8853:48: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8853:32: note: Assignment 'sa_i_obs_plus_interp=(double*)malloc(i_obs_plus_interp_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8868:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8868:52: warning: If memory allocation fails, then there is a possible null pointer dereference: q_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8852:32: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8852:15: note: Assignment 'q_i=(double*)malloc(i_obs_plus_interp_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8868:52: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8873:17: warning: If memory allocation fails, then there is a possible null pointer dereference: v_tmp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8849:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8849:17: note: Assignment 'v_tmp=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8873:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8873:28: warning: If memory allocation fails, then there is a possible null pointer dereference: scaled_sa_obs [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8848:42: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8848:25: note: Assignment 'scaled_sa_obs=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8873:28: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8874:17: warning: If memory allocation fails, then there is a possible null pointer dereference: q_tmp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8850:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8850:17: note: Assignment 'q_tmp=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8874:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8874:28: warning: If memory allocation fails, then there is a possible null pointer dereference: scaled_sa_obs [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8848:42: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8848:25: note: Assignment 'scaled_sa_obs=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8874:28: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8962:30: warning: If memory allocation fails, then there is a possible null pointer dereference: sa_i_tooutput [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8937:41: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8937:25: note: Assignment 'sa_i_tooutput=(double*)malloc(i_surf_and_obs_plus_interp_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8962:30: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8963:30: warning: If memory allocation fails, then there is a possible null pointer dereference: ct_i_tooutput [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8938:41: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8938:25: note: Assignment 'ct_i_tooutput=(double*)malloc(i_surf_and_obs_plus_interp_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8963:30: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11441:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p_i_tmp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11439:36: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11439:19: note: Assignment 'p_i_tmp=(double*)malloc(m_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11441:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11448:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p_obs [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11424:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11424:17: note: Assignment 'p_obs=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11448:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11448:30: warning: If memory allocation fails, then there is a possible null pointer dereference: p_obs [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11424:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11424:17: note: Assignment 'p_obs=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11448:30: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11505:16: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11501:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11501:17: note: Assignment 'p_all=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11505:16: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11506:34: warning: If memory allocation fails, then there is a possible null pointer dereference: p_i_tmp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11439:36: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11439:19: note: Assignment 'p_i_tmp=(double*)malloc(m_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11506:34: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11509:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all_sort [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11502:39: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11502:22: note: Assignment 'p_all_sort=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11509:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11509:29: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11501:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11501:17: note: Assignment 'p_all=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11509:29: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11509:35: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all_idx [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11503:35: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11503:21: note: Assignment 'p_all_idx=(int*)malloc(p_all_len*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11509:35: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11512:20: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all_sort [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11502:39: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11502:22: note: Assignment 'p_all_sort=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11512:20: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11514:29: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all_sort [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11502:39: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11502:22: note: Assignment 'p_all_sort=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11514:29: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11520:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p_all [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11501:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11501:17: note: Assignment 'p_all=(double*)malloc(p_all_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11520:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11565:13: warning: If memory allocation fails, then there is a possible null pointer dereference: independent_variable [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11561:49: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11561:32: note: Assignment 'independent_variable=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11565:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11579:13: warning: If memory allocation fails, then there is a possible null pointer dereference: scaled_tracer_obs [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11570:46: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11570:29: note: Assignment 'scaled_tracer_obs=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11579:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11588:13: warning: If memory allocation fails, then there is a possible null pointer dereference: tracer_i_obs_plus_interp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11575:52: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11575:36: note: Assignment 'tracer_i_obs_plus_interp=(double*)malloc(i_obs_plus_interp_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11588:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11588:56: warning: If memory allocation fails, then there is a possible null pointer dereference: q_i [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11574:32: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11574:15: note: Assignment 'q_i=(double*)malloc(i_obs_plus_interp_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11588:56: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11593:17: warning: If memory allocation fails, then there is a possible null pointer dereference: v_tmp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11571:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11571:17: note: Assignment 'v_tmp=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11593:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11593:28: warning: If memory allocation fails, then there is a possible null pointer dereference: scaled_tracer_obs [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11570:46: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11570:29: note: Assignment 'scaled_tracer_obs=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11593:28: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11594:17: warning: If memory allocation fails, then there is a possible null pointer dereference: q_tmp [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11572:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11572:17: note: Assignment 'q_tmp=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11594:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11594:28: warning: If memory allocation fails, then there is a possible null pointer dereference: scaled_tracer_obs [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11570:46: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11570:29: note: Assignment 'scaled_tracer_obs=(double*)malloc(prof_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11594:28: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11636:34: warning: If memory allocation fails, then there is a possible null pointer dereference: tracer_i_tooutput [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11611:45: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11611:29: note: Assignment 'tracer_i_tooutput=(double*)malloc(i_surf_and_obs_plus_interp_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11636:34: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11637:30: warning: If memory allocation fails, then there is a possible null pointer dereference: ct_i_tooutput [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11612:41: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11612:25: note: Assignment 'ct_i_tooutput=(double*)malloc(i_surf_and_obs_plus_interp_len*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11637:30: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11799:16: warning: If memory allocation fails, then there is a possible null pointer dereference: in_rng [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11798:33: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11798:18: note: Assignment 'in_rng=(char*)malloc(nxi*sizeof(char))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11799:16: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11838:13: warning: If memory allocation fails, then there is a possible null pointer dereference: xxi [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11817:32: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11817:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11838:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11840:13: warning: If memory allocation fails, then there is a possible null pointer dereference: xxi [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11817:32: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11817:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11840:13: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11840:25: warning: If memory allocation fails, then there is a possible null pointer dereference: xi [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11814:31: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11814:14: note: Assignment 'xi=(double*)malloc(n*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11840:25: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11840:28: warning: If memory allocation fails, then there is a possible null pointer dereference: k [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11815:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11815:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11840:28: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11891:16: warning: If memory allocation fails, then there is a possible null pointer dereference: in_rng [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11890:33: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11890:18: note: Assignment 'in_rng=(char*)malloc(nxi*sizeof(char))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11891:16: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11940:17: warning: If memory allocation fails, then there is a possible null pointer dereference: xxi [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11910:32: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11910:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11940:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11941:25: warning: If memory allocation fails, then there is a possible null pointer dereference: xi [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11907:31: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11907:14: note: Assignment 'xi=(double*)malloc(n*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11941:25: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11945:18: warning: If memory allocation fails, then there is a possible null pointer dereference: j [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11911:27: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11911:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11945:18: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11947:15: warning: If memory allocation fails, then there is a possible null pointer dereference: k [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11908:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11908:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11947:15: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12013:9: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12088:25: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12088:9: note: Assignment 'd=(double*)calloc(n,sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12089:33: note: Calling function 'pchip_derivs', 4th argument 'd' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12013:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12013:16: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12088:25: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12088:9: note: Assignment 'd=(double*)calloc(n,sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12089:33: note: Calling function 'pchip_derivs', 4th argument 'd' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12013:16: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12181:17: warning: If memory allocation fails, then there is a possible null pointer dereference: di [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12179:29: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12179:18: note: Assignment 'di=(struct DI*)malloc(nx*sizeof(struct DI))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12181:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12181:27: warning: If memory allocation fails, then there is a possible null pointer dereference: rarray [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11907:31: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11907:14: note: Assignment 'xi=(double*)malloc(n*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11939:28: note: Calling function 'gsw_util_sort_real', 1st argument 'xi' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12181:27: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12182:17: warning: If memory allocation fails, then there is a possible null pointer dereference: di [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12179:29: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12179:18: note: Assignment 'di=(struct DI*)malloc(nx*sizeof(struct DI))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12182:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12184:15: warning: If memory allocation fails, then there is a possible null pointer dereference: di [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12179:29: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12179:18: note: Assignment 'di=(struct DI*)malloc(nx*sizeof(struct DI))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12184:15: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12186:17: warning: If memory allocation fails, then there is a possible null pointer dereference: iarray [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12275:33: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12275:19: note: Assignment 'sort_ix=(int*)malloc(nx*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12280:35: note: Calling function 'gsw_util_sort_real', 3rd argument 'sort_ix' value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12186:17: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12284:15: warning: If memory allocation fails, then there is a possible null pointer dereference: sort_ix [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12275:33: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12275:19: note: Assignment 'sort_ix=(int*)malloc(nx*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12284:15: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12286:29: warning: If memory allocation fails, then there is a possible null pointer dereference: sort_ix [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12275:33: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12275:19: note: Assignment 'sort_ix=(int*)malloc(nx*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12286:29: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12294:9: warning: If memory allocation fails, then there is a possible null pointer dereference: unique_ix [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12277:35: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12277:21: note: Assignment 'unique_ix=(int*)malloc(nx*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12294:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12298:15: warning: If memory allocation fails, then there is a possible null pointer dereference: sort_iy [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12276:33: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12276:19: note: Assignment 'sort_iy=(int*)malloc(ny*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12298:15: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12300:29: warning: If memory allocation fails, then there is a possible null pointer dereference: sort_iy [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12276:33: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12276:19: note: Assignment 'sort_iy=(int*)malloc(ny*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12300:29: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12308:9: warning: If memory allocation fails, then there is a possible null pointer dereference: unique_iy [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12278:35: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12278:21: note: Assignment 'unique_iy=(int*)malloc(ny*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12308:9: note: Null pointer dereference gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3783:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3782:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3782:17: note: Assignment 'b=(double*)malloc(3*nz*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3783:21: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3817:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3816:41: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3816:24: note: Assignment 'sa_i=(double*)malloc(2*(nz+1)*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3817:28: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3922:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3921:41: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3921:24: note: Assignment 'sa_i=(double*)malloc(2*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3922:28: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3929:43: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3921:41: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3921:24: note: Assignment 'sa_i=(double*)malloc(2*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3929:43: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3933:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3932:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3932:17: note: Assignment 'b=(double*)malloc(4*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:3933:21: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4401:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4400:36: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4400:19: note: Assignment 'delta_h=(double*)malloc(3*np*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4401:25: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5709:54: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5709:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5709:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5709:54: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5712:55: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5712:27: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5712:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5712:55: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8275:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8274:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8274:19: note: Assignment 'shallow=(char*)malloc(3*mp_i*sizeof(char))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8275:26: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8299:63: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8299:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8299:14: note: Assignment 'ip=(int*)malloc((mp+mp_i)*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8299:63: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8306:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8305:37: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8305:23: note: Assignment 'ip_ishallow=(int*)malloc((nshallow+ncentral+ndeep)*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8306:34: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8308:32: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8307:39: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8307:22: note: Assignment 'ip_shallow=(double*)malloc(2*(nshallow+ncentral+ndeep)*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8308:32: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8385:65: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8385:30: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8385:16: note: Assignment 'ip_1=(int*)malloc(4*nsect*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8385:65: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8389:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8389:25: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8390:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8390:25: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8391:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8391:25: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8392:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8392:25: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8393:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8393:25: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8394:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8394:25: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8395:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8395:25: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8396:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8396:25: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8397:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8397:25: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8398:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:34: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8388:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8398:25: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11815:54: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11815:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11815:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11815:54: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11818:55: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11818:27: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11818:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11818:55: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11908:54: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11908:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11908:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11908:54: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11911:55: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11911:27: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11911:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11911:55: note: Null pointer addition gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4159:9: style:inconclusive: Function 'gsw_geo_strf_dyn_height_1' argument 5 names different: declaration 'n_levels' definition 'nz'. [funcArgNamesDifferent] gsw-3.6.21/src/c_gsw/gswteos-10.h:133:51: note: Function 'gsw_geo_strf_dyn_height_1' argument 5 names different: declaration 'n_levels' definition 'nz'. gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4159:9: note: Function 'gsw_geo_strf_dyn_height_1' argument 5 names different: declaration 'n_levels' definition 'nz'. gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4339:9: style:inconclusive: Function 'gsw_geo_strf_dyn_height' argument 5 names different: declaration 'n_levels' definition 'nz'. [funcArgNamesDifferent] gsw-3.6.21/src/c_gsw/gswteos-10.h:131:35: note: Function 'gsw_geo_strf_dyn_height' argument 5 names different: declaration 'n_levels' definition 'nz'. gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4339:9: note: Function 'gsw_geo_strf_dyn_height' argument 5 names different: declaration 'n_levels' definition 'nz'. gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11355:54: style:inconclusive: Function 'gsw_tracer_ct_interp' argument 8 names different: declaration 'sa_i' definition 'tracer_i'. [funcArgNamesDifferent] gsw-3.6.21/src/c_gsw/gswteos-10.h:304:69: note: Function 'gsw_tracer_ct_interp' argument 8 names different: declaration 'sa_i' definition 'tracer_i'. gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11355:54: note: Function 'gsw_tracer_ct_interp' argument 8 names different: declaration 'sa_i' definition 'tracer_i'. gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:82:25: style: Parameter 'input_data' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:153:22: style: Parameter 'data_in' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4060:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4127:47: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4127:59: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4127:71: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4128:13: style: Parameter 'p_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4388:36: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4388:48: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5412:36: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5412:48: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5412:60: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5673:33: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5673:45: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5673:57: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:5674:17: style: Parameter 'p_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:6434:22: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:6434:34: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:6434:46: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:6434:57: style: Parameter 'lat' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8369:28: style: Parameter 'ip_sect' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8369:42: style: Parameter 'ip_isect' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8369:60: style: Parameter 'p_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8623:26: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8623:38: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8623:50: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8624:17: style: Parameter 'p_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8629:17: style: Variable 'sin_kpi_on_16' can be declared as const array [constVariable] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8638:17: style: Variable 'cos_kpi_on_16' can be declared as const array [constVariable] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:9012:72: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:9013:17: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11354:30: style: Parameter 'tracer' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11354:46: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11354:58: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11355:17: style: Parameter 'p_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11359:17: style: Variable 'sin_kpi_on_16' can be declared as const array [constVariable] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11368:17: style: Variable 'cos_kpi_on_16' can be declared as const array [constVariable] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11701:28: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11701:40: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11701:52: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11743:23: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11777:39: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11777:47: style: Parameter 'iy' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11777:68: style: Parameter 'x_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11868:59: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11869:17: style: Parameter 'x_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12002:33: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12002:44: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12077:35: style: Parameter 'xi' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12159:18: style: Variable 'A' can be declared as pointer to const [constVariablePointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12160:18: style: Variable 'B' can be declared as pointer to const [constVariablePointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12176:28: style: Parameter 'rarray' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12204:38: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8195:27: error: Uninitialized variable: v_sa_sa [uninitvar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8195:48: error: Uninitialized variable: v_sa [uninitvar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8198:26: error: Uninitialized variable: v_sa_h [uninitvar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8198:51: error: Uninitialized variable: v_h [uninitvar] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:8201:25: error: Uninitialized variable: v_h_h [uninitvar] gsw-3.6.21/src/c_gsw/gsw_saar.c:20:17: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gsw-3.6.21/src/c_gsw/gsw_saar.c:48:5: style: Variable 'delj' can be declared as const array [constVariable] gsw-3.6.21/src/c_gsw/gsw_saar.c:172:5: style: Variable 'delj' can be declared as const array [constVariable] gsw-3.6.21/src/method_def_entries.c:11:35: error: syntax error [syntaxError] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4070:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p_i [ctunullpointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4252:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4252:11: note: Assignment 'p_i=(double*)malloc(ni_max*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4255:29: note: Calling function refine_grid_for_dh, 5th argument is null gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4070:5: note: Dereferencing argument p_i that is null gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4071:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p_indices [ctunullpointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4253:31: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4253:17: note: Assignment 'p_indices=(int*)malloc(nz*sizeof(int))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4255:29: note: Calling function refine_grid_for_dh, 7th argument is null gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4071:5: note: Dereferencing argument p_indices that is null gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4134:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sa_i [ctunullpointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4266:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4266:12: note: Assignment 'sa_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4269:41: note: Calling function linear_interp_SA_CT_for_dh, 7th argument is null gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4134:5: note: Dereferencing argument sa_i that is null gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4136:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ct_i [ctunullpointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4265:28: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4265:12: note: Assignment 'ct_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4269:41: note: Calling function linear_interp_SA_CT_for_dh, 8th argument is null gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:4136:5: note: Dereferencing argument ct_i that is null diff: 2.20.0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11941:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11910:32: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11910:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:11941:20: note: Null pointer addition 2.20.0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12186:29: warning: If memory allocation fails, then there is a possible null pointer dereference: di [nullPointerOutOfMemory] gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12179:29: note: Assuming allocation function fails gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12179:18: note: Assignment 'di=(struct DI*)malloc(nx*sizeof(struct DI))', assigned value is 0 gsw-3.6.21/src/c_gsw/gsw_oceanographic_toolbox.c:12186:29: note: Null pointer dereference DONE