2025-11-21 06:30 ftp://ftp.de.debian.org/debian/pool/main/f/flash/flash_1.2.11.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: 5374cd3 (2025-11-20 15:35:39 +0100) count: 112 118 elapsed-time: 0.7 0.8 head-timing-info: old-timing-info: head results: FLASH-1.2.11/combine_reads.c:396:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] FLASH-1.2.11/iostream.c:57:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] FLASH-1.2.11/read_io.h:24:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_FORMAT_TAB_DELIMITED [valueFlowBailoutIncompleteVar] FLASH-1.2.11/iostream.c:76:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] FLASH-1.2.11/read_io.c:84:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] FLASH-1.2.11/iostream.c:154:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FLASH-1.2.11/read_io.c:137:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] FLASH-1.2.11/iostream.c:167:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FLASH-1.2.11/read_io.c:223:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] FLASH-1.2.11/iostream.c:185:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FLASH-1.2.11/iostream.c:242:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSIZE_MAX [valueFlowBailoutIncompleteVar] FLASH-1.2.11/iostream.c:276:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSIZE_MAX [valueFlowBailoutIncompleteVar] FLASH-1.2.11/iostream.c:336:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] FLASH-1.2.11/iostream.c:554:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] FLASH-1.2.11/read_io.c:256:17: style:inconclusive: Function 'load_read' argument 3 names different: declaration 'read' definition 'r'. [funcArgNamesDifferent] FLASH-1.2.11/read_io.h:40:17: note: Function 'load_read' argument 3 names different: declaration 'read' definition 'r'. FLASH-1.2.11/read_io.c:256:17: note: Function 'load_read' argument 3 names different: declaration 'read' definition 'r'. FLASH-1.2.11/read_io.c:289:22: style:inconclusive: Function 'load_read_pair' argument 3 names different: declaration 'read_1' definition 'r1'. [funcArgNamesDifferent] FLASH-1.2.11/read_io.h:45:22: note: Function 'load_read_pair' argument 3 names different: declaration 'read_1' definition 'r1'. FLASH-1.2.11/read_io.c:289:22: note: Function 'load_read_pair' argument 3 names different: declaration 'read_1' definition 'r1'. FLASH-1.2.11/read_io.c:289:39: style:inconclusive: Function 'load_read_pair' argument 4 names different: declaration 'read_2' definition 'r2'. [funcArgNamesDifferent] FLASH-1.2.11/read_io.h:45:43: note: Function 'load_read_pair' argument 4 names different: declaration 'read_2' definition 'r2'. FLASH-1.2.11/read_io.c:289:39: note: Function 'load_read_pair' argument 4 names different: declaration 'read_2' definition 'r2'. FLASH-1.2.11/read_io.c:388:18: style:inconclusive: Function 'write_read' argument 3 names different: declaration 'read' definition 'r'. [funcArgNamesDifferent] FLASH-1.2.11/read_io.h:30:18: note: Function 'write_read' argument 3 names different: declaration 'read' definition 'r'. FLASH-1.2.11/read_io.c:388:18: note: Function 'write_read' argument 3 names different: declaration 'read' definition 'r'. FLASH-1.2.11/read_io.c:411:16: style:inconclusive: Function 'write_read_pair' argument 3 names different: declaration 'read_1' definition 'r1'. [funcArgNamesDifferent] FLASH-1.2.11/read_io.h:35:16: note: Function 'write_read_pair' argument 3 names different: declaration 'read_1' definition 'r1'. FLASH-1.2.11/read_io.c:411:16: note: Function 'write_read_pair' argument 3 names different: declaration 'read_1' definition 'r1'. FLASH-1.2.11/read_io.c:411:33: style:inconclusive: Function 'write_read_pair' argument 4 names different: declaration 'read_2' definition 'r2'. [funcArgNamesDifferent] FLASH-1.2.11/read_io.h:35:37: note: Function 'write_read_pair' argument 4 names different: declaration 'read_2' definition 'r2'. FLASH-1.2.11/read_io.c:411:33: note: Function 'write_read_pair' argument 4 names different: declaration 'read_2' definition 'r2'. FLASH-1.2.11/flash.c:313:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] FLASH-1.2.11/flash.c:324:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FLASH-1.2.11/flash.c:341:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] FLASH-1.2.11/flash.c:520:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] FLASH-1.2.11/flash.c:545:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FLASH-1.2.11/flash.c:825:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] FLASH-1.2.11/iostream.c:159:2: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] FLASH-1.2.11/read_queue.c:231:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] FLASH-1.2.11/read_queue.c:325:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READS_UNPAIRED [valueFlowBailoutIncompleteVar] FLASH-1.2.11/read_queue.c:374:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READS_UNCOMBINED [valueFlowBailoutIncompleteVar] FLASH-1.2.11/read_queue.c:535:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READS_COMBINED [valueFlowBailoutIncompleteVar] FLASH-1.2.11/read_queue.c:545:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READS_UNCOMBINED [valueFlowBailoutIncompleteVar] FLASH-1.2.11/iostream.c:414:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:409:35: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:409:35: note: Assignment 'in=xmalloc(sizeof(*in))', assigned value is 0 FLASH-1.2.11/iostream.c:414:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:415:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:409:35: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:409:35: note: Assignment 'in=xmalloc(sizeof(*in))', assigned value is 0 FLASH-1.2.11/iostream.c:415:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:415:13: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:409:35: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:409:35: note: Assignment 'in=xmalloc(sizeof(*in))', assigned value is 0 FLASH-1.2.11/iostream.c:415:13: note: Null pointer dereference FLASH-1.2.11/iostream.c:416:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:409:35: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:409:35: note: Assignment 'in=xmalloc(sizeof(*in))', assigned value is 0 FLASH-1.2.11/iostream.c:416:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:419:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:409:35: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:409:35: note: Assignment 'in=xmalloc(sizeof(*in))', assigned value is 0 FLASH-1.2.11/iostream.c:419:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:420:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:409:35: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:409:35: note: Assignment 'in=xmalloc(sizeof(*in))', assigned value is 0 FLASH-1.2.11/iostream.c:420:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:420:22: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:409:35: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:409:35: note: Assignment 'in=xmalloc(sizeof(*in))', assigned value is 0 FLASH-1.2.11/iostream.c:420:22: note: Null pointer dereference FLASH-1.2.11/iostream.c:421:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:409:35: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:409:35: note: Assignment 'in=xmalloc(sizeof(*in))', assigned value is 0 FLASH-1.2.11/iostream.c:421:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:421:22: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:409:35: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:409:35: note: Assignment 'in=xmalloc(sizeof(*in))', assigned value is 0 FLASH-1.2.11/iostream.c:421:22: note: Null pointer dereference FLASH-1.2.11/iostream.c:422:2: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:409:35: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:409:35: note: Assignment 'in=xmalloc(sizeof(*in))', assigned value is 0 FLASH-1.2.11/iostream.c:422:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:422:22: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:409:35: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:409:35: note: Assignment 'in=xmalloc(sizeof(*in))', assigned value is 0 FLASH-1.2.11/iostream.c:422:22: note: Null pointer dereference FLASH-1.2.11/iostream.c:684:2: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:679:37: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:679:37: note: Assignment 'out=xmalloc(sizeof(*out))', assigned value is 0 FLASH-1.2.11/iostream.c:684:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:685:2: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:679:37: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:679:37: note: Assignment 'out=xmalloc(sizeof(*out))', assigned value is 0 FLASH-1.2.11/iostream.c:685:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:685:14: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:679:37: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:679:37: note: Assignment 'out=xmalloc(sizeof(*out))', assigned value is 0 FLASH-1.2.11/iostream.c:685:14: note: Null pointer dereference FLASH-1.2.11/iostream.c:686:2: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:679:37: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:679:37: note: Assignment 'out=xmalloc(sizeof(*out))', assigned value is 0 FLASH-1.2.11/iostream.c:686:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:689:2: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:679:37: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:679:37: note: Assignment 'out=xmalloc(sizeof(*out))', assigned value is 0 FLASH-1.2.11/iostream.c:689:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:690:2: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:679:37: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:679:37: note: Assignment 'out=xmalloc(sizeof(*out))', assigned value is 0 FLASH-1.2.11/iostream.c:690:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:690:17: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:679:37: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:679:37: note: Assignment 'out=xmalloc(sizeof(*out))', assigned value is 0 FLASH-1.2.11/iostream.c:690:17: note: Null pointer dereference FLASH-1.2.11/iostream.c:691:2: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:679:37: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:679:37: note: Assignment 'out=xmalloc(sizeof(*out))', assigned value is 0 FLASH-1.2.11/iostream.c:691:2: note: Null pointer dereference FLASH-1.2.11/iostream.c:691:21: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] FLASH-1.2.11/iostream.c:679:37: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:679:37: note: Assignment 'out=xmalloc(sizeof(*out))', assigned value is 0 FLASH-1.2.11/iostream.c:691:21: note: Null pointer dereference FLASH-1.2.11/iostream.c:420:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] FLASH-1.2.11/iostream.c:419:29: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:419:29: note: Assignment 'in->buf_begin=xmalloc(32768)', assigned value is 0 FLASH-1.2.11/iostream.c:420:36: note: Null pointer addition FLASH-1.2.11/iostream.c:690:32: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] FLASH-1.2.11/iostream.c:689:26: note: Assuming allocation function fails FLASH-1.2.11/iostream.c:689:26: note: Assignment 'out->buf_begin=xmalloc(32768)', assigned value is 0 FLASH-1.2.11/iostream.c:690:32: note: Null pointer addition FLASH-1.2.11/iostream.c:92:20: style:inconclusive: Function 'xfopen' argument 1 names different: declaration 'filename' definition 'path'. [funcArgNamesDifferent] FLASH-1.2.11/iostream.h:60:20: note: Function 'xfopen' argument 1 names different: declaration 'filename' definition 'path'. FLASH-1.2.11/iostream.c:92:20: note: Function 'xfopen' argument 1 names different: declaration 'filename' definition 'path'. FLASH-1.2.11/iostream.c:407:30: style:inconclusive: Function 'new_input_stream' argument 1 names different: declaration 'filename' definition 'path'. [funcArgNamesDifferent] FLASH-1.2.11/iostream.h:13:30: note: Function 'new_input_stream' argument 1 names different: declaration 'filename' definition 'path'. FLASH-1.2.11/iostream.c:407:30: note: Function 'new_input_stream' argument 1 names different: declaration 'filename' definition 'path'. FLASH-1.2.11/iostream.c:713:60: style:inconclusive: Function 'output_stream_write' argument 2 names different: declaration 'buf' definition '_buf'. [funcArgNamesDifferent] FLASH-1.2.11/iostream.h:46:19: note: Function 'output_stream_write' argument 2 names different: declaration 'buf' definition '_buf'. FLASH-1.2.11/iostream.c:713:60: note: Function 'output_stream_write' argument 2 names different: declaration 'buf' definition '_buf'. FLASH-1.2.11/iostream.c:429:44: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] FLASH-1.2.11/iostream.c:470:9: style: Variable 'delim_ptr' can be declared as pointer to const [constVariablePointer] FLASH-1.2.11/iostream.c:698:46: style: Parameter 'out' can be declared as pointer to const [constParameterPointer] FLASH-1.2.11/read_util.c:147:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] FLASH-1.2.11/read_queue.c:63:4: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:60:30: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:60:30: note: Assignment 's=xmalloc(sizeof(*s)+num_reads*sizeof(s->reads[0]))', assigned value is 0 FLASH-1.2.11/read_queue.c:63:4: note: Null pointer dereference FLASH-1.2.11/read_queue.c:66:4: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:60:30: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:60:30: note: Assignment 's=xmalloc(sizeof(*s)+num_reads*sizeof(s->reads[0]))', assigned value is 0 FLASH-1.2.11/read_queue.c:66:4: note: Null pointer dereference FLASH-1.2.11/read_queue.c:68:2: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:60:30: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:60:30: note: Assignment 's=xmalloc(sizeof(*s)+num_reads*sizeof(s->reads[0]))', assigned value is 0 FLASH-1.2.11/read_queue.c:68:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:69:2: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:60:30: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:60:30: note: Assignment 's=xmalloc(sizeof(*s)+num_reads*sizeof(s->reads[0]))', assigned value is 0 FLASH-1.2.11/read_queue.c:69:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:118:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:116:32: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:116:32: note: Assignment 'q=xmalloc(sizeof(*q))', assigned value is 0 FLASH-1.2.11/read_queue.c:118:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:119:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:116:32: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:116:32: note: Assignment 'q=xmalloc(sizeof(*q))', assigned value is 0 FLASH-1.2.11/read_queue.c:119:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:120:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:116:32: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:116:32: note: Assignment 'q=xmalloc(sizeof(*q))', assigned value is 0 FLASH-1.2.11/read_queue.c:120:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:123:4: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:116:32: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:116:32: note: Assignment 'q=xmalloc(sizeof(*q))', assigned value is 0 FLASH-1.2.11/read_queue.c:123:4: note: Null pointer dereference FLASH-1.2.11/read_queue.c:124:3: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:116:32: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:116:32: note: Assignment 'q=xmalloc(sizeof(*q))', assigned value is 0 FLASH-1.2.11/read_queue.c:124:3: note: Null pointer dereference FLASH-1.2.11/read_queue.c:127:4: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:116:32: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:116:32: note: Assignment 'q=xmalloc(sizeof(*q))', assigned value is 0 FLASH-1.2.11/read_queue.c:127:4: note: Null pointer dereference FLASH-1.2.11/read_queue.c:128:3: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:116:32: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:116:32: note: Assignment 'q=xmalloc(sizeof(*q))', assigned value is 0 FLASH-1.2.11/read_queue.c:128:3: note: Null pointer dereference FLASH-1.2.11/read_queue.c:130:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:116:32: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:116:32: note: Assignment 'q=xmalloc(sizeof(*q))', assigned value is 0 FLASH-1.2.11/read_queue.c:130:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:411:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:409:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:409:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:411:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:412:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:409:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:409:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:412:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:413:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:409:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:409:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:413:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:414:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:409:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:409:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:414:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:415:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:409:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:409:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:415:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:416:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:409:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:409:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:416:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:417:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:409:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:409:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:417:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:431:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:429:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:429:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:431:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:432:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:429:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:429:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:432:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:433:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:429:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:429:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:433:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:434:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:429:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:429:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:434:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:435:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:429:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:429:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:435:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:436:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:429:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:429:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:436:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:437:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:429:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:429:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:437:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:451:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:449:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:449:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:451:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:452:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:449:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:449:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:452:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:453:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:449:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:449:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:453:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:454:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:449:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:449:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:454:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:455:2: warning: If memory allocation fails, then there is a possible null pointer dereference: params [nullPointerOutOfMemory] FLASH-1.2.11/read_queue.c:449:40: note: Assuming allocation function fails FLASH-1.2.11/read_queue.c:449:40: note: Assignment 'params=xmalloc(sizeof(*params))', assigned value is 0 FLASH-1.2.11/read_queue.c:455:2: note: Null pointer dereference FLASH-1.2.11/read_queue.c:501:51: style:inconclusive: Function 'get_unprocessed_read_pairs' argument 1 names different: declaration 'handle' definition 'h'. [funcArgNamesDifferent] FLASH-1.2.11/read_queue.h:58:51: note: Function 'get_unprocessed_read_pairs' argument 1 names different: declaration 'handle' definition 'h'. FLASH-1.2.11/read_queue.c:501:51: note: Function 'get_unprocessed_read_pairs' argument 1 names different: declaration 'handle' definition 'h'. FLASH-1.2.11/read_queue.c:501:72: style:inconclusive: Function 'get_unprocessed_read_pairs' argument 2 names different: declaration 's1_ret' definition 's1_p'. [funcArgNamesDifferent] FLASH-1.2.11/read_queue.h:59:25: note: Function 'get_unprocessed_read_pairs' argument 2 names different: declaration 's1_ret' definition 's1_p'. FLASH-1.2.11/read_queue.c:501:72: note: Function 'get_unprocessed_read_pairs' argument 2 names different: declaration 's1_ret' definition 's1_p'. FLASH-1.2.11/read_queue.c:502:25: style:inconclusive: Function 'get_unprocessed_read_pairs' argument 3 names different: declaration 's2_ret' definition 's2_p'. [funcArgNamesDifferent] FLASH-1.2.11/read_queue.h:59:51: note: Function 'get_unprocessed_read_pairs' argument 3 names different: declaration 's2_ret' definition 's2_p'. FLASH-1.2.11/read_queue.c:502:25: note: Function 'get_unprocessed_read_pairs' argument 3 names different: declaration 's2_ret' definition 's2_p'. FLASH-1.2.11/read_queue.c:533:43: style:inconclusive: Function 'put_combined_reads' argument 1 names different: declaration 'handle' definition 'h'. [funcArgNamesDifferent] FLASH-1.2.11/read_queue.h:62:43: note: Function 'put_combined_reads' argument 1 names different: declaration 'handle' definition 'h'. FLASH-1.2.11/read_queue.c:533:43: note: Function 'put_combined_reads' argument 1 names different: declaration 'handle' definition 'h'. FLASH-1.2.11/read_queue.c:542:50: style:inconclusive: Function 'put_uncombined_read_pairs' argument 1 names different: declaration 'handle' definition 'h'. [funcArgNamesDifferent] FLASH-1.2.11/read_queue.h:65:50: note: Function 'put_uncombined_read_pairs' argument 1 names different: declaration 'handle' definition 'h'. FLASH-1.2.11/read_queue.c:542:50: note: Function 'put_uncombined_read_pairs' argument 1 names different: declaration 'handle' definition 'h'. FLASH-1.2.11/read_queue.c:562:43: style:inconclusive: Function 'get_avail_read_set' argument 1 names different: declaration 'handle' definition 'h'. [funcArgNamesDifferent] FLASH-1.2.11/read_queue.h:55:43: note: Function 'get_avail_read_set' argument 1 names different: declaration 'handle' definition 'h'. FLASH-1.2.11/read_queue.c:562:43: note: Function 'get_avail_read_set' argument 1 names different: declaration 'handle' definition 'h'. FLASH-1.2.11/read_queue.c:573:45: style:inconclusive: Function 'put_avail_read_pairs' argument 1 names different: declaration 'handle' definition 'h'. [funcArgNamesDifferent] FLASH-1.2.11/read_queue.h:69:45: note: Function 'put_avail_read_pairs' argument 1 names different: declaration 'handle' definition 'h'. FLASH-1.2.11/read_queue.c:573:45: note: Function 'put_avail_read_pairs' argument 1 names different: declaration 'handle' definition 'h'. FLASH-1.2.11/read_queue.c:606:43: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] FLASH-1.2.11/util.c:72:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FLASH-1.2.11/util.c:92:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FLASH-1.2.11/util.c:114:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] FLASH-1.2.11/util.c:135:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] FLASH-1.2.11/util.c:162:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FLASH-1.2.11/util.c:255:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_ONLN [valueFlowBailoutIncompleteVar] FLASH-1.2.11/util.c:305:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FLASH-1.2.11/util.c:323:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FLASH-1.2.11/util.c:334:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FLASH-1.2.11/flash.c:1281:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] FLASH-1.2.11/flash.c:1280:14: note: Assuming allocation function fails FLASH-1.2.11/flash.c:1280:14: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 FLASH-1.2.11/flash.c:1281:3: note: Null pointer dereference FLASH-1.2.11/flash.c:1282:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] FLASH-1.2.11/flash.c:1280:14: note: Assuming allocation function fails FLASH-1.2.11/flash.c:1280:14: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 FLASH-1.2.11/flash.c:1282:3: note: Null pointer dereference FLASH-1.2.11/flash.c:1349:5: style: Variable 'hist_specs' can be declared as const array [constVariable] diff: 2.18.0 FLASH-1.2.11/combine_reads.c:112:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] 2.18.0 FLASH-1.2.11/combine_reads.c:269:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] 2.18.0 FLASH-1.2.11/combine_reads.c:371:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] head FLASH-1.2.11/combine_reads.c:396:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] 2.18.0 FLASH-1.2.11/iostream.c:204:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] 2.18.0 FLASH-1.2.11/iostream.c:224:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] head FLASH-1.2.11/iostream.c:242:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSIZE_MAX [valueFlowBailoutIncompleteVar] 2.18.0 FLASH-1.2.11/iostream.c:242:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] head FLASH-1.2.11/iostream.c:276:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSIZE_MAX [valueFlowBailoutIncompleteVar] 2.18.0 FLASH-1.2.11/iostream.c:276:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] 2.18.0 FLASH-1.2.11/iostream.c:506:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] 2.18.0 FLASH-1.2.11/iostream.c:725:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] DONE