2025-05-06 22:45 ftp://ftp.de.debian.org/debian/pool/main/o/opus-tools/opus-tools_0.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 8e656e5 (2025-05-06 23:42:00 +0200) count: 177 170 elapsed-time: 10.6 11.1 head-timing-info: old-timing-info: head results: opus-tools-0.2/share/getopt.c:673:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/share/getopt.c:768:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] opus-tools-0.2/src/audio-in.c:217:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/audio-in.c:294:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/audio-in.c:346:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/audio-in.c:503:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/audio-in.c:793:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/audio-in.c:937:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/audio-in.c:721:24: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] opus-tools-0.2/src/audio-in.c:812:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] opus-tools-0.2/src/audio-in.c:134:13: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] opus-tools-0.2/src/audio-in.c:458:9: error: Memory leak: aiff.channel_permute [memleak] opus-tools-0.2/src/audio-in.c:705:9: error: Memory leak: wav.channel_permute [memleak] opus-tools-0.2/src/audio-in.c:854:5: error: Memory leak: wav.channel_permute [memleak] opus-tools-0.2/src/audio-in.c:432:9: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:432:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:433:9: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:433:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:434:9: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:434:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:435:9: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:435:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:436:9: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:436:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:437:9: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:437:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:438:9: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:438:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:440:13: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:440:13: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:447:9: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:447:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:447:40: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:447:40: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:448:13: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:448:13: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:651:9: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:650:21: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:650:21: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:651:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:652:9: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:650:21: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:650:21: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:652:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:653:9: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:650:21: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:650:21: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:653:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:654:9: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:650:21: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:650:21: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:654:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:655:9: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:650:21: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:650:21: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:655:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:657:9: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:650:21: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:650:21: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:657:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:658:9: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:650:21: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:650:21: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:658:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:695:9: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:650:21: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:650:21: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:695:9: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:695:39: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:650:21: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:650:21: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:695:39: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:696:13: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:650:21: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:650:21: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:696:13: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:840:5: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:840:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:841:5: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:841:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:842:5: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:842:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:843:5: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:843:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:844:5: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:844:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:845:5: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:845:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:846:5: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:846:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:847:5: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:847:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:847:35: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:847:35: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:848:19: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:848:19: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:849:7: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:849:7: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:881:5: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:879:23: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:879:23: note: Assignment 'd=calloc(1,sizeof(struct scaler))', assigned value is 0 opus-tools-0.2/src/audio-in.c:881:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:882:5: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:879:23: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:879:23: note: Assignment 'd=calloc(1,sizeof(struct scaler))', assigned value is 0 opus-tools-0.2/src/audio-in.c:882:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:886:5: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:879:23: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:879:23: note: Assignment 'd=calloc(1,sizeof(struct scaler))', assigned value is 0 opus-tools-0.2/src/audio-in.c:886:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:887:5: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:879:23: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:879:23: note: Assignment 'd=calloc(1,sizeof(struct scaler))', assigned value is 0 opus-tools-0.2/src/audio-in.c:887:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:947:5: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:947:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:948:5: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:948:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:949:5: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:949:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:950:5: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:950:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:951:5: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:951:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:952:5: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:952:5: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:954:26: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:954:26: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:966:16: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:966:16: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:966:31: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:966:31: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:966:56: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:966:56: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:968:16: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:968:16: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:968:31: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:968:31: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:968:51: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:968:51: note: Null pointer dereference opus-tools-0.2/src/audio-in.c:483:56: style:inconclusive: Function 'wav_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. [funcArgNamesDifferent] opus-tools-0.2/src/encoder.h:88:56: note: Function 'wav_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. opus-tools-0.2/src/audio-in.c:483:56: note: Function 'wav_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. opus-tools-0.2/src/audio-in.c:202:43: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/audio-in.c:231:44: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/audio-in.c:287:42: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/audio-in.c:301:28: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'aiff_id' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opus-tools-0.2/src/audio-in.c:116:6: note: You might need to cast the function pointer here opus-tools-0.2/src/audio-in.c:301:28: note: Parameter 'buf' can be declared as pointer to const opus-tools-0.2/src/audio-in.c:327:57: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'aiff_open' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opus-tools-0.2/src/audio-in.c:116:19: note: You might need to cast the function pointer here opus-tools-0.2/src/audio-in.c:327:57: note: Parameter 'buf' can be declared as pointer to const opus-tools-0.2/src/audio-in.c:468:27: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'wav_id' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opus-tools-0.2/src/audio-in.c:115:6: note: You might need to cast the function pointer here opus-tools-0.2/src/audio-in.c:468:27: note: Parameter 'buf' can be declared as pointer to const opus-tools-0.2/src/audio-in.c:723:10: style: Variable 'ch_permute' can be declared as pointer to const [constVariablePointer] opus-tools-0.2/src/audio-in.c:732:28: style: Variable 'bufu' can be declared as pointer to const [constVariablePointer] opus-tools-0.2/src/wav_io.h:58:41: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/diag_range.c:78:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPUS_BAD_ARG [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/diag_range.c:233:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPUS_BANDWIDTH_NARROWBAND [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/diag_range.c:211:109: style: Parameter 'rngs' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/info_opus.c:217:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/info_opus.c:273:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/info_opus.c:144:24: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] opus-tools-0.2/src/info_opus.c:143:27: note: Assuming allocation function fails opus-tools-0.2/src/info_opus.c:143:27: note: Assignment 'tmp=calloc(len+1,1)', assigned value is 0 opus-tools-0.2/src/info_opus.c:144:24: note: Null pointer dereference opus-tools-0.2/src/info_opus.c:172:28: warning: If memory allocation fails, then there is a possible null pointer dereference: comment [nullPointerOutOfMemory] opus-tools-0.2/src/info_opus.c:171:35: note: Assuming allocation function fails opus-tools-0.2/src/info_opus.c:171:35: note: Assignment 'comment=malloc((len+1)*sizeof(char))', assigned value is 0 opus-tools-0.2/src/info_opus.c:172:28: note: Null pointer dereference opus-tools-0.2/src/info_opus.c:173:21: warning: If memory allocation fails, then there is a possible null pointer dereference: comment [nullPointerOutOfMemory] opus-tools-0.2/src/info_opus.c:171:35: note: Assuming allocation function fails opus-tools-0.2/src/info_opus.c:171:35: note: Assignment 'comment=malloc((len+1)*sizeof(char))', assigned value is 0 opus-tools-0.2/src/info_opus.c:173:21: note: Null pointer dereference opus-tools-0.2/src/info_opus.c:333:5: warning: If memory allocation fails, then there is a possible null pointer dereference: oinfo [nullPointerOutOfMemory] opus-tools-0.2/src/info_opus.c:330:26: note: Assuming allocation function fails opus-tools-0.2/src/info_opus.c:330:26: note: Assignment 'stream->data=calloc(1,sizeof(struct misc_opus_info))', assigned value is 0 opus-tools-0.2/src/info_opus.c:332:11: note: oinfo is assigned 'stream->data' here. opus-tools-0.2/src/info_opus.c:333:5: note: Null pointer dereference opus-tools-0.2/src/info_opus.c:334:5: warning: If memory allocation fails, then there is a possible null pointer dereference: oinfo [nullPointerOutOfMemory] opus-tools-0.2/src/info_opus.c:330:26: note: Assuming allocation function fails opus-tools-0.2/src/info_opus.c:330:26: note: Assignment 'stream->data=calloc(1,sizeof(struct misc_opus_info))', assigned value is 0 opus-tools-0.2/src/info_opus.c:332:11: note: oinfo is assigned 'stream->data' here. opus-tools-0.2/src/info_opus.c:334:5: note: Null pointer dereference opus-tools-0.2/src/info_opus.c:335:5: warning: If memory allocation fails, then there is a possible null pointer dereference: oinfo [nullPointerOutOfMemory] opus-tools-0.2/src/info_opus.c:330:26: note: Assuming allocation function fails opus-tools-0.2/src/info_opus.c:330:26: note: Assignment 'stream->data=calloc(1,sizeof(struct misc_opus_info))', assigned value is 0 opus-tools-0.2/src/info_opus.c:332:11: note: oinfo is assigned 'stream->data' here. opus-tools-0.2/src/info_opus.c:335:5: note: Null pointer dereference opus-tools-0.2/src/info_opus.c:336:5: warning: If memory allocation fails, then there is a possible null pointer dereference: oinfo [nullPointerOutOfMemory] opus-tools-0.2/src/info_opus.c:330:26: note: Assuming allocation function fails opus-tools-0.2/src/info_opus.c:330:26: note: Assignment 'stream->data=calloc(1,sizeof(struct misc_opus_info))', assigned value is 0 opus-tools-0.2/src/info_opus.c:332:11: note: oinfo is assigned 'stream->data' here. opus-tools-0.2/src/info_opus.c:336:5: note: Null pointer dereference opus-tools-0.2/src/opus_header.c:98:44: style:inconclusive: Function 'opus_header_parse' argument 1 names different: declaration 'header' definition 'packet'. [funcArgNamesDifferent] opus-tools-0.2/src/opus_header.h:49:44: note: Function 'opus_header_parse' argument 1 names different: declaration 'header' definition 'packet'. opus-tools-0.2/src/opus_header.c:98:44: note: Function 'opus_header_parse' argument 1 names different: declaration 'header' definition 'packet'. opus-tools-0.2/src/opusdec.c:228:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusdec.c:400:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusdec.c:582:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusdec.c:666:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPUS_CHANNEL_COUNT_MAX [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusdec.c:498:8: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] opus-tools-0.2/src/opusdec.c:499:8: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] opus-tools-0.2/src/opusdec.c:559:24: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] opus-tools-0.2/src/opusdec.c:168:76: style: Parameter '_i' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/opusdec.c:265:27: style: Parameter 'outFile' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/opusdec.c:266:37: style: Parameter 'channels' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/opusdec.c:824:12: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] opus-tools-0.2/src/opusenc.c:102:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusenc.c:242:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusenc.c:424:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPUS_FRAMESIZE_20_MS [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusenc.c:638:16: error: Common realloc mistake: 'opt_ctls_ctlval' nulled but not freed upon failure [memleakOnRealloc] opus-tools-0.2/src/opusenc.c:620:17: style: Variable 'spos' can be declared as pointer to const [constVariablePointer] opus-tools-0.2/src/opusenc.c:620:23: style: Variable 'tpos' can be declared as pointer to const [constVariablePointer] opus-tools-0.2/src/opusenc.c:688:21: style: Variable 'media_type' is assigned a value that is never used. [unreadVariable] opus-tools-0.2/src/opusenc.c:688:36: style: Variable 'media_type_end' is assigned a value that is never used. [unreadVariable] opus-tools-0.2/src/opusinfo.c:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusinfo.c:87:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusinfo.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusinfo.c:840:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusinfo.c:967:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusinfo.c:59:5: warning: If memory allocation fails, then there is a possible null pointer dereference: set [nullPointerOutOfMemory] opus-tools-0.2/src/opusinfo.c:57:29: note: Assuming allocation function fails opus-tools-0.2/src/opusinfo.c:57:29: note: Assignment 'set=calloc(1,sizeof(struct stream_set))', assigned value is 0 opus-tools-0.2/src/opusinfo.c:59:5: note: Null pointer dereference opus-tools-0.2/src/opusinfo.c:60:5: warning: If memory allocation fails, then there is a possible null pointer dereference: set [nullPointerOutOfMemory] opus-tools-0.2/src/opusinfo.c:57:29: note: Assuming allocation function fails opus-tools-0.2/src/opusinfo.c:57:29: note: Assignment 'set=calloc(1,sizeof(struct stream_set))', assigned value is 0 opus-tools-0.2/src/opusinfo.c:60:5: note: Null pointer dereference opus-tools-0.2/src/opusinfo.c:61:5: warning: If memory allocation fails, then there is a possible null pointer dereference: set [nullPointerOutOfMemory] opus-tools-0.2/src/opusinfo.c:57:29: note: Assuming allocation function fails opus-tools-0.2/src/opusinfo.c:57:29: note: Assignment 'set=calloc(1,sizeof(struct stream_set))', assigned value is 0 opus-tools-0.2/src/opusinfo.c:61:5: note: Null pointer dereference opus-tools-0.2/src/opusinfo.c:235:16: warning: If memory allocation fails, then there is a possible null pointer dereference: seq [nullPointerOutOfMemory] opus-tools-0.2/src/opusinfo.c:230:32: note: Assuming allocation function fails opus-tools-0.2/src/opusinfo.c:230:32: note: Assignment 'seq=malloc(comment_length*3+1)', assigned value is 0 opus-tools-0.2/src/opusinfo.c:235:16: note: Null pointer dereference opus-tools-0.2/src/opusinfo.c:236:16: warning: If memory allocation fails, then there is a possible null pointer dereference: seq [nullPointerOutOfMemory] opus-tools-0.2/src/opusinfo.c:230:32: note: Assuming allocation function fails opus-tools-0.2/src/opusinfo.c:230:32: note: Assignment 'seq=malloc(comment_length*3+1)', assigned value is 0 opus-tools-0.2/src/opusinfo.c:236:16: note: Null pointer dereference opus-tools-0.2/src/opusinfo.c:237:16: warning: If memory allocation fails, then there is a possible null pointer dereference: seq [nullPointerOutOfMemory] opus-tools-0.2/src/opusinfo.c:230:32: note: Assuming allocation function fails opus-tools-0.2/src/opusinfo.c:230:32: note: Assignment 'seq=malloc(comment_length*3+1)', assigned value is 0 opus-tools-0.2/src/opusinfo.c:237:16: note: Null pointer dereference opus-tools-0.2/src/opusinfo.c:244:14: warning: If memory allocation fails, then there is a possible null pointer dereference: seq [nullPointerOutOfMemory] opus-tools-0.2/src/opusinfo.c:230:32: note: Assuming allocation function fails opus-tools-0.2/src/opusinfo.c:230:32: note: Assignment 'seq=malloc(comment_length*3+1)', assigned value is 0 opus-tools-0.2/src/opusinfo.c:244:14: note: Null pointer dereference opus-tools-0.2/src/opusinfo.c:245:14: warning: If memory allocation fails, then there is a possible null pointer dereference: simple [nullPointerOutOfMemory] opus-tools-0.2/src/opusinfo.c:229:35: note: Assuming allocation function fails opus-tools-0.2/src/opusinfo.c:229:35: note: Assignment 'simple=malloc(comment_length+1)', assigned value is 0 opus-tools-0.2/src/opusinfo.c:245:14: note: Null pointer dereference opus-tools-0.2/src/opusinfo.c:342:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] opus-tools-0.2/src/opusinfo.c:296:38: note: Assuming allocation function fails opus-tools-0.2/src/opusinfo.c:296:15: note: Assignment 'data=(unsigned char*)malloc(data_sz*sizeof(*data))', assigned value is 0 opus-tools-0.2/src/opusinfo.c:342:14: note: Null pointer dereference opus-tools-0.2/src/opusinfo.c:231:26: style: Variable 'hex' can be declared as const array [constVariable] opus-tools-0.2/src/opusinfo.c:647:37: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/opusinfo.c:536:21: style: Variable 'broken' is assigned a value that is never used. [unreadVariable] opus-tools-0.2/src/opusinfo.c:543:21: style: Variable 'broken' is assigned a value that is never used. [unreadVariable] opus-tools-0.2/src/opusinfo.c:550:21: style: Variable 'broken' is assigned a value that is never used. [unreadVariable] opus-tools-0.2/src/opusinfo.c:557:21: style: Variable 'broken' is assigned a value that is never used. [unreadVariable] opus-tools-0.2/src/opusinfo.c:564:21: style: Variable 'broken' is assigned a value that is never used. [unreadVariable] opus-tools-0.2/src/opusinfo.c:576:21: style: Variable 'broken' is assigned a value that is never used. [unreadVariable] opus-tools-0.2/src/opusinfo.c:583:21: style: Variable 'broken' is assigned a value that is never used. [unreadVariable] opus-tools-0.2/src/opusrtp.c:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:156:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:185:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:239:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:265:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:348:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:373:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:400:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:479:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:498:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:536:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:863:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:1249:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/opusrtp.c:149:9: style: Variable 'identifier' can be declared as pointer to const [constVariablePointer] opus-tools-0.2/src/opusrtp.c:150:9: style: Variable 'vendor' can be declared as pointer to const [constVariablePointer] opus-tools-0.2/src/opusrtp.c:528:71: style: Parameter 'rtp' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/opusrtp.c:1229:17: style: Variable 'long_options' can be declared as const array [constVariable] opus-tools-0.2/src/opusrtp.c:70:7: style: struct member 'state::seq' is never used. [unusedStructMember] opus-tools-0.2/src/opusrtp.c:72:7: style: struct member 'state::linktype' is never used. [unusedStructMember] opus-tools-0.2/src/opusrtp.c:73:7: style: struct member 'state::dst_port' is never used. [unusedStructMember] opus-tools-0.2/src/opusrtp.c:74:7: style: struct member 'state::payload_type' is never used. [unusedStructMember] opus-tools-0.2/src/resample.c:344:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spx_int32_t [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:402:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spx_int32_t [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:450:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spx_int32_t [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:513:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spx_int32_t [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:576:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spx_int32_t [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:600:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESAMPLER_ERR_OVERFLOW [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:622:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESAMPLER_ERR_SUCCESS [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:807:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESAMPLER_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:891:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spx_int32_t [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:962:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESAMPLER_ERR_SUCCESS [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:1035:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESAMPLER_ERR_SUCCESS [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:1058:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESAMPLER_ERR_SUCCESS [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:1081:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESAMPLER_ERR_SUCCESS [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:1114:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESAMPLER_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:1156:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESAMPLER_ERR_INVALID_ARG [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:1205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESAMPLER_ERR_SUCCESS [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:1219:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESAMPLER_ERR_SUCCESS [valueFlowBailoutIncompleteVar] opus-tools-0.2/src/resample.c:366:11: style: Redundant assignment of 'sum' to itself. [selfAssignment] opus-tools-0.2/src/resample.c:477:11: style: Redundant assignment of 'sum' to itself. [selfAssignment] opus-tools-0.2/src/resample.c:741:18: style: Redundant initialization for 'olen'. The initialized value is overwritten before it is read. [redundantInitialization] opus-tools-0.2/src/resample.c:735:28: note: olen is initialized opus-tools-0.2/src/resample.c:741:18: note: olen is overwritten opus-tools-0.2/src/resample.c:1089:59: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/resample.c:1147:60: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/resample.c:1165:62: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/resample.c:1175:67: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/resample.c:1185:68: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/resample.c:1190:67: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/resample.c:1195:68: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] opus-tools-0.2/src/wav_io.c:52:23: warning: Uninitialized variable: new_stream_map [uninitvar] opus-tools-0.2/src/wav_io.c:48:18: note: Assuming condition is false opus-tools-0.2/src/wav_io.c:52:23: note: Uninitialized variable: new_stream_map diff: head opus-tools-0.2/src/audio-in.c:447:40: warning: If memory allocation fails, then there is a possible null pointer dereference: aiff [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:431:22: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:431:22: note: Assignment 'aiff=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:447:40: note: Null pointer dereference head opus-tools-0.2/src/audio-in.c:695:39: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:650:21: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:650:21: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:695:39: note: Null pointer dereference head opus-tools-0.2/src/audio-in.c:847:35: warning: If memory allocation fails, then there is a possible null pointer dereference: wav [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:835:26: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:835:26: note: Assignment 'wav=malloc(sizeof(struct wavfile))', assigned value is 0 opus-tools-0.2/src/audio-in.c:847:35: note: Null pointer dereference head opus-tools-0.2/src/audio-in.c:966:31: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:966:31: note: Null pointer dereference head opus-tools-0.2/src/audio-in.c:966:56: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:966:56: note: Null pointer dereference head opus-tools-0.2/src/audio-in.c:968:31: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:968:31: note: Null pointer dereference head opus-tools-0.2/src/audio-in.c:968:51: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] opus-tools-0.2/src/audio-in.c:946:15: note: Assuming allocation function fails opus-tools-0.2/src/audio-in.c:946:15: note: Assignment 'd=calloc(1,sizeof(struct downmix))', assigned value is 0 opus-tools-0.2/src/audio-in.c:968:51: note: Null pointer dereference DONE