2025-07-01 22:12 ftp://ftp.de.debian.org/debian/pool/main/b/bcg729/bcg729_1.1.1.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-63-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: f4eb733 (2025-07-01 13:53:18 +0200) count: 228 228 elapsed-time: 7.6 7.9 head-timing-info: old-timing-info: head results: bcg729-1.1.1/src/LPSynthesisFilter.c:34:35: style: Parameter 'excitationVector' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/LPSynthesisFilter.c:34:63: style: Parameter 'LPCoefficients' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/g729FixedPointMath.h:116:9: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] bcg729-1.1.1/src/g729FixedPointMath.h:197:12: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] bcg729-1.1.1/src/g729FixedPointMath.h:262:7: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] bcg729-1.1.1/src/adaptativeCodebookSearch.c:168:12: style: Variable 'delayedExcitationVector' can be declared as pointer to const [constVariablePointer] bcg729-1.1.1/src/adaptativeCodebookSearch.c:169:12: style: Variable 'b30Increased' can be declared as pointer to const [constVariablePointer] bcg729-1.1.1/src/adaptativeCodebookSearch.c:170:12: style: Variable 'b30Decreased' can be declared as pointer to const [constVariablePointer] bcg729-1.1.1/src/cng.c:42:9: warning: If memory allocation fails, then there is a possible null pointer dereference: CNGChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/cng.c:41:59: note: Assuming allocation function fails bcg729-1.1.1/src/cng.c:41:59: note: Assignment 'CNGChannelContext=malloc(sizeof(struct bcg729CNGChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/cng.c:42:9: note: Null pointer dereference bcg729-1.1.1/src/cng.c:44:9: warning: If memory allocation fails, then there is a possible null pointer dereference: CNGChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/cng.c:41:59: note: Assuming allocation function fails bcg729-1.1.1/src/cng.c:41:59: note: Assignment 'CNGChannelContext=malloc(sizeof(struct bcg729CNGChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/cng.c:44:9: note: Null pointer dereference bcg729-1.1.1/src/cng.c:105:22: style: Variable 'randomNumberBuffer' is assigned a value that is never used. [unreadVariable] bcg729-1.1.1/src/computeLP.c:68:15: style: Variable 'sum' is assigned a value that is never used. [unreadVariable] bcg729-1.1.1/src/decodeAdaptativeCodeVector.c:66:13: style: Variable 'excitationVectorNMinusK' can be declared as pointer to const [constVariablePointer] bcg729-1.1.1/src/decodeAdaptativeCodeVector.c:67:13: style: Variable 'excitationVectorNMinusKPlusOne' can be declared as pointer to const [constVariablePointer] bcg729-1.1.1/src/decodeAdaptativeCodeVector.c:69:13: style: Variable 'b301' can be declared as pointer to const [constVariablePointer] bcg729-1.1.1/src/decodeAdaptativeCodeVector.c:70:13: style: Variable 'b302' can be declared as pointer to const [constVariablePointer] bcg729-1.1.1/src/decodeLSP.c:123:83: style: Parameter 'L' can be declared as const array [constParameter] bcg729-1.1.1/src/decoder.c:51:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcg729DecoderChannelContextStruct [valueFlowBailoutIncompleteVar] bcg729-1.1.1/src/decoder.c:52:9: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:52:9: note: Null pointer dereference bcg729-1.1.1/src/decoder.c:55:9: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:55:9: note: Null pointer dereference bcg729-1.1.1/src/decoder.c:56:9: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:56:9: note: Null pointer dereference bcg729-1.1.1/src/decoder.c:57:2: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:57:2: note: Null pointer dereference bcg729-1.1.1/src/decoder.c:58:2: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:58:2: note: Null pointer dereference bcg729-1.1.1/src/decoder.c:59:2: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:59:2: note: Null pointer dereference bcg729-1.1.1/src/decoder.c:60:2: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:60:2: note: Null pointer dereference bcg729-1.1.1/src/decoder.c:61:2: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:61:2: note: Null pointer dereference bcg729-1.1.1/src/decoder.c:62:9: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:62:9: note: Null pointer dereference bcg729-1.1.1/src/decoder.c:63:2: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:63:2: note: Null pointer dereference bcg729-1.1.1/src/decoder.c:64:2: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:64:2: note: Null pointer dereference bcg729-1.1.1/src/dtx.c:206:9: warning: If memory allocation fails, then there is a possible null pointer dereference: DTXChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/dtx.c:205:59: note: Assuming allocation function fails bcg729-1.1.1/src/dtx.c:205:59: note: Assignment 'DTXChannelContext=malloc(sizeof(struct bcg729DTXChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/dtx.c:206:9: note: Null pointer dereference bcg729-1.1.1/src/dtx.c:209:3: warning: If memory allocation fails, then there is a possible null pointer dereference: DTXChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/dtx.c:205:59: note: Assuming allocation function fails bcg729-1.1.1/src/dtx.c:205:59: note: Assignment 'DTXChannelContext=malloc(sizeof(struct bcg729DTXChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/dtx.c:209:3: note: Null pointer dereference bcg729-1.1.1/src/dtx.c:210:3: warning: If memory allocation fails, then there is a possible null pointer dereference: DTXChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/dtx.c:205:59: note: Assuming allocation function fails bcg729-1.1.1/src/dtx.c:205:59: note: Assignment 'DTXChannelContext=malloc(sizeof(struct bcg729DTXChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/dtx.c:210:3: note: Null pointer dereference bcg729-1.1.1/src/dtx.c:213:2: warning: If memory allocation fails, then there is a possible null pointer dereference: DTXChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/dtx.c:205:59: note: Assuming allocation function fails bcg729-1.1.1/src/dtx.c:205:59: note: Assignment 'DTXChannelContext=malloc(sizeof(struct bcg729DTXChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/dtx.c:213:2: note: Null pointer dereference bcg729-1.1.1/src/dtx.c:214:2: warning: If memory allocation fails, then there is a possible null pointer dereference: DTXChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/dtx.c:205:59: note: Assuming allocation function fails bcg729-1.1.1/src/dtx.c:205:59: note: Assignment 'DTXChannelContext=malloc(sizeof(struct bcg729DTXChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/dtx.c:214:2: note: Null pointer dereference bcg729-1.1.1/src/dtx.c:40:108: style: Parameter 'autocorrelationCoefficientsScale' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/dtx.c:152:59: style: Parameter 'LPCoefficients' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/dtx.c:181:44: style: Parameter 'LPCoefficientsAutocorrelation' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/dtx.c:181:85: style: Parameter 'autocorrelationCoefficients' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/dtx.c:227:83: style: Parameter 'autocorrelationCoefficients' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/encoder.c:58:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bcg729EncoderChannelContextStruct [valueFlowBailoutIncompleteVar] bcg729-1.1.1/src/encoder.c:59:9: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:59:9: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:62:9: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:62:9: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:63:2: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:63:2: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:64:2: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:64:2: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:65:9: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:65:9: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:66:9: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:66:9: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:67:9: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:67:9: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:68:9: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:68:9: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:69:9: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:69:9: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:70:2: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:70:2: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:72:3: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:72:3: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:73:3: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:73:3: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:75:3: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:75:3: note: Null pointer dereference bcg729-1.1.1/src/encoder.c:76:3: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:76:3: note: Null pointer dereference bcg729-1.1.1/src/findOpenLoopPitchDelay.c:171:17: error: Array 'inputSignal[0]' accessed at index -20, which is out of bounds. [negativeIndex] bcg729-1.1.1/src/findOpenLoopPitchDelay.c:81:84: note: Calling function 'getCorrelationMax', 3rd argument '20' value is 20 bcg729-1.1.1/src/findOpenLoopPitchDelay.c:198:9: note: Assignment 'i=rangeOpen', assigned value is 20 bcg729-1.1.1/src/findOpenLoopPitchDelay.c:199:55: note: Calling function 'getCorrelation', 2nd argument 'i' value is 20 bcg729-1.1.1/src/findOpenLoopPitchDelay.c:166:10: note: Assignment 'j=-index', assigned value is -20 bcg729-1.1.1/src/findOpenLoopPitchDelay.c:171:17: note: Negative array index bcg729-1.1.1/src/fixedCodebookSearch.c:352:8: style: Variable 'signOfCorrelationSignalJ' can be declared as pointer to const [constVariablePointer] bcg729-1.1.1/src/gainQuantization.c:54:233: style:inconclusive: Function 'gainQuantization' argument 6 names different: declaration 'Xy64' definition 'xy64'. [funcArgNamesDifferent] bcg729-1.1.1/src/gainQuantization.h:39:233: note: Function 'gainQuantization' argument 6 names different: declaration 'Xy64' definition 'xy64'. bcg729-1.1.1/src/gainQuantization.c:54:233: note: Function 'gainQuantization' argument 6 names different: declaration 'Xy64' definition 'xy64'. bcg729-1.1.1/src/gainQuantization.c:54:248: style:inconclusive: Function 'gainQuantization' argument 7 names different: declaration 'Yy64' definition 'yy64'. [funcArgNamesDifferent] bcg729-1.1.1/src/gainQuantization.h:39:248: note: Function 'gainQuantization' argument 7 names different: declaration 'Yy64' definition 'yy64'. bcg729-1.1.1/src/gainQuantization.c:54:248: note: Function 'gainQuantization' argument 7 names different: declaration 'Yy64' definition 'yy64'. bcg729-1.1.1/src/postFilter.c:55:85: style: Parameter 'LPCoefficients' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/postFilter.c:55:111: style: Parameter 'reconstructedSpeech' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/postFilter.c:64:12: style: Variable 'delayedResidualSignal' can be declared as pointer to const [constVariablePointer] bcg729-1.1.1/src/postFilter.c:68:23: style: Variable 'leadingZeros' is assigned a value that is never used. [unreadVariable] bcg729-1.1.1/src/qLSP2LP.c:39:12: style: Variable 'fp1' can be declared as pointer to const [constVariablePointer] bcg729-1.1.1/src/qLSP2LP.c:40:12: style: Variable 'fp2' can be declared as pointer to const [constVariablePointer] bcg729-1.1.1/src/utils.c:178:41: style: Parameter 'previousGainPredictionError' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/utils.c:178:80: style: Parameter 'fixedCodebookVector' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/utils.c:280:41: style: Parameter 'parameters' can be declared as const array [constParameter] bcg729-1.1.1/src/utils.c:330:44: style: Parameter 'parameters' can be declared as const array [constParameter] bcg729-1.1.1/src/vad.c:38:9: warning: If memory allocation fails, then there is a possible null pointer dereference: VADChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/vad.c:37:59: note: Assuming allocation function fails bcg729-1.1.1/src/vad.c:37:59: note: Assignment 'VADChannelContext=malloc(sizeof(struct bcg729VADChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/vad.c:38:9: note: Null pointer dereference bcg729-1.1.1/src/vad.c:39:2: warning: If memory allocation fails, then there is a possible null pointer dereference: VADChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/vad.c:37:59: note: Assuming allocation function fails bcg729-1.1.1/src/vad.c:37:59: note: Assignment 'VADChannelContext=malloc(sizeof(struct bcg729VADChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/vad.c:39:2: note: Null pointer dereference bcg729-1.1.1/src/vad.c:40:2: warning: If memory allocation fails, then there is a possible null pointer dereference: VADChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/vad.c:37:59: note: Assuming allocation function fails bcg729-1.1.1/src/vad.c:37:59: note: Assignment 'VADChannelContext=malloc(sizeof(struct bcg729VADChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/vad.c:40:2: note: Null pointer dereference bcg729-1.1.1/src/vad.c:42:3: warning: If memory allocation fails, then there is a possible null pointer dereference: VADChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/vad.c:37:59: note: Assuming allocation function fails bcg729-1.1.1/src/vad.c:37:59: note: Assignment 'VADChannelContext=malloc(sizeof(struct bcg729VADChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/vad.c:42:3: note: Null pointer dereference bcg729-1.1.1/src/vad.c:44:2: warning: If memory allocation fails, then there is a possible null pointer dereference: VADChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/vad.c:37:59: note: Assuming allocation function fails bcg729-1.1.1/src/vad.c:37:59: note: Assignment 'VADChannelContext=malloc(sizeof(struct bcg729VADChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/vad.c:44:2: note: Null pointer dereference bcg729-1.1.1/src/vad.c:45:2: warning: If memory allocation fails, then there is a possible null pointer dereference: VADChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/vad.c:37:59: note: Assuming allocation function fails bcg729-1.1.1/src/vad.c:37:59: note: Assignment 'VADChannelContext=malloc(sizeof(struct bcg729VADChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/vad.c:45:2: note: Null pointer dereference bcg729-1.1.1/src/vad.c:46:2: warning: If memory allocation fails, then there is a possible null pointer dereference: VADChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/vad.c:37:59: note: Assuming allocation function fails bcg729-1.1.1/src/vad.c:37:59: note: Assignment 'VADChannelContext=malloc(sizeof(struct bcg729VADChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/vad.c:46:2: note: Null pointer dereference bcg729-1.1.1/src/vad.c:47:2: warning: If memory allocation fails, then there is a possible null pointer dereference: VADChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/vad.c:37:59: note: Assuming allocation function fails bcg729-1.1.1/src/vad.c:37:59: note: Assignment 'VADChannelContext=malloc(sizeof(struct bcg729VADChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/vad.c:47:2: note: Null pointer dereference bcg729-1.1.1/src/vad.c:48:2: warning: If memory allocation fails, then there is a possible null pointer dereference: VADChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/vad.c:37:59: note: Assuming allocation function fails bcg729-1.1.1/src/vad.c:37:59: note: Assignment 'VADChannelContext=malloc(sizeof(struct bcg729VADChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/vad.c:48:2: note: Null pointer dereference bcg729-1.1.1/src/vad.c:49:2: warning: If memory allocation fails, then there is a possible null pointer dereference: VADChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/vad.c:37:59: note: Assuming allocation function fails bcg729-1.1.1/src/vad.c:37:59: note: Assignment 'VADChannelContext=malloc(sizeof(struct bcg729VADChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/vad.c:49:2: note: Null pointer dereference bcg729-1.1.1/src/vad.c:50:2: warning: If memory allocation fails, then there is a possible null pointer dereference: VADChannelContext [nullPointerOutOfMemory] bcg729-1.1.1/src/vad.c:37:59: note: Assuming allocation function fails bcg729-1.1.1/src/vad.c:37:59: note: Assignment 'VADChannelContext=malloc(sizeof(struct bcg729VADChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/vad.c:50:2: note: Null pointer dereference bcg729-1.1.1/src/vad.c:94:15: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] bcg729-1.1.1/src/vad.c:99:18: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] bcg729-1.1.1/src/vad.c:129:18: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] bcg729-1.1.1/src/vad.c:176:112: style: Parameter 'LSFCoefficients' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/vad.c:176:139: style: Parameter 'autoCorrelationCoefficients' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/src/vad.c:221:19: style: Variable 'meanEn' is assigned a value that is never used. [unreadVariable] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:58:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_PARAMETERS [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:125:9: style: Condition 'j==0' is always true [knownConditionTrueFalse] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 1) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 2) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 3) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 4) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 5) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 6) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 7) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 8) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 9) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 10) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 11) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 12) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 13) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 14) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 15) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 16) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:96:9: warning: %hd in format string (no. 17) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:72:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:70:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:70:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:72:25: note: Null pointer dereference bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:77:28: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:70:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:70:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:72:43: note: Assuming condition is false bcg729-1.1.1/test/src/CNGRFC3389decoderTest.c:77:28: note: Null pointer dereference bcg729-1.1.1/test/src/CNGdecoderTest.c:58:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_PARAMETERS [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/CNGdecoderTest.c:123:9: style: Condition 'j==0' is always true [knownConditionTrueFalse] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 1) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 2) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 3) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 4) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 5) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 6) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 7) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 8) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 9) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 10) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 11) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 12) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 13) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 14) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 15) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 16) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:96:9: warning: %hd in format string (no. 17) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/CNGdecoderTest.c:72:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/CNGdecoderTest.c:70:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/CNGdecoderTest.c:70:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/CNGdecoderTest.c:72:25: note: Null pointer dereference bcg729-1.1.1/test/src/CNGdecoderTest.c:77:28: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/CNGdecoderTest.c:70:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/CNGdecoderTest.c:70:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/CNGdecoderTest.c:72:43: note: Assuming condition is false bcg729-1.1.1/test/src/CNGdecoderTest.c:77:28: note: Null pointer dereference bcg729-1.1.1/test/src/LP2LSPConversionTest.c:52:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_LSP_COEFF [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/LP2LSPConversionTest.c:70:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/LP2LSPConversionTest.c:68:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/LP2LSPConversionTest.c:68:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/LP2LSPConversionTest.c:70:25: note: Null pointer dereference bcg729-1.1.1/test/src/LPSynthesisFilterTest.c:52:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_LSP_COEFF [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/LPSynthesisFilterTest.c:68:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/LPSynthesisFilterTest.c:66:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/LPSynthesisFilterTest.c:66:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/LPSynthesisFilterTest.c:68:25: note: Null pointer dereference bcg729-1.1.1/test/src/LSPQuantizationTest.c:53:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_LSP_COEFF [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/LSPQuantizationTest.c:70:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/LSPQuantizationTest.c:68:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/LSPQuantizationTest.c:68:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/LSPQuantizationTest.c:70:25: note: Null pointer dereference bcg729-1.1.1/test/src/VADTest.c:56:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_LSP_COEFF [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/VADTest.c:71:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/VADTest.c:69:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/VADTest.c:69:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/VADTest.c:71:25: note: Null pointer dereference bcg729-1.1.1/test/src/adaptativeCodebookSearchTest.c:62:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_PAST_EXCITATION [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/adaptativeCodebookSearchTest.c:85:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/adaptativeCodebookSearchTest.c:83:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/adaptativeCodebookSearchTest.c:83:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/adaptativeCodebookSearchTest.c:85:25: note: Null pointer dereference bcg729-1.1.1/test/src/computeAdaptativeCodebookGainTest.c:52:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_SUBFRAME [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/computeAdaptativeCodebookGainTest.c:70:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/computeAdaptativeCodebookGainTest.c:68:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/computeAdaptativeCodebookGainTest.c:68:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/computeAdaptativeCodebookGainTest.c:70:25: note: Null pointer dereference bcg729-1.1.1/test/src/computeLPTest.c:51:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_LP_ANALYSIS_WINDOW [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/computeLPTest.c:64:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/computeLPTest.c:62:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/computeLPTest.c:62:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/computeLPTest.c:64:25: note: Null pointer dereference bcg729-1.1.1/test/src/computeNoiseExcitationTest.c:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_PAST_EXCITATION [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/computeNoiseExcitationTest.c:84:7: warning: %hd in format string (no. 1) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/computeNoiseExcitationTest.c:68:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/computeNoiseExcitationTest.c:66:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/computeNoiseExcitationTest.c:66:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/computeNoiseExcitationTest.c:68:25: note: Null pointer dereference bcg729-1.1.1/test/src/computeWeightedSpeechTest.c:51:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_LSP_COEFF [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/computeWeightedSpeechTest.c:67:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/computeWeightedSpeechTest.c:65:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/computeWeightedSpeechTest.c:65:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/computeWeightedSpeechTest.c:67:25: note: Null pointer dereference bcg729-1.1.1/test/src/decodeAdaptativeCodeVectorTest.c:62:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_PAST_EXCITATION [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/decodeAdaptativeCodeVectorTest.c:103:7: warning: %hd in format string (no. 1) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decodeAdaptativeCodeVectorTest.c:77:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/decodeAdaptativeCodeVectorTest.c:75:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/decodeAdaptativeCodeVectorTest.c:75:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/decodeAdaptativeCodeVectorTest.c:77:25: note: Null pointer dereference bcg729-1.1.1/test/src/decodeFixedCodeVectorTest.c:61:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_SUBFRAME [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/decodeFixedCodeVectorTest.c:73:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/decodeFixedCodeVectorTest.c:71:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/decodeFixedCodeVectorTest.c:71:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/decodeFixedCodeVectorTest.c:73:25: note: Null pointer dereference bcg729-1.1.1/test/src/decodeGainsTest.c:61:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_SUBFRAME [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/decodeGainsTest.c:74:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/decodeGainsTest.c:72:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/decodeGainsTest.c:72:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/decodeGainsTest.c:74:25: note: Null pointer dereference bcg729-1.1.1/test/src/decodeLSPTest.c:54:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_LSP_COEFF [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/decodeLSPTest.c:80:8: warning: %hd in format string (no. 2) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decodeLSPTest.c:80:8: warning: %hd in format string (no. 3) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decodeLSPTest.c:80:8: warning: %hd in format string (no. 4) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decodeLSPTest.c:80:8: warning: %hd in format string (no. 5) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decodeLSPTest.c:66:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/decodeLSPTest.c:64:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/decodeLSPTest.c:64:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/decodeLSPTest.c:66:25: note: Null pointer dereference bcg729-1.1.1/test/src/decoderMultiChannelTest.c:62:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_PARAMETERS [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 1) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 2) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 3) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 4) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 5) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 6) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 7) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 8) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 9) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 10) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 11) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 12) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 13) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 14) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 15) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:113:10: warning: %hd in format string (no. 16) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:78:29: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:76:28: note: Assuming allocation function fails bcg729-1.1.1/test/src/decoderMultiChannelTest.c:76:28: note: Assignment 'outputFile=malloc((strlen(filePrefix[i])+15)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/decoderMultiChannelTest.c:78:29: note: Null pointer dereference bcg729-1.1.1/test/src/decoderMultiChannelTest.c:83:32: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:76:28: note: Assuming allocation function fails bcg729-1.1.1/test/src/decoderMultiChannelTest.c:76:28: note: Assignment 'outputFile=malloc((strlen(filePrefix[i])+15)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/decoderMultiChannelTest.c:78:47: note: Assuming condition is false bcg729-1.1.1/test/src/decoderMultiChannelTest.c:83:32: note: Null pointer dereference bcg729-1.1.1/test/src/decoderMultiChannelTest.c:115:11: style: Local variable 'i' shadows outer variable [shadowVariable] bcg729-1.1.1/test/src/decoderMultiChannelTest.c:51:6: note: Shadowed declaration bcg729-1.1.1/test/src/decoderMultiChannelTest.c:115:11: note: Shadow variable bcg729-1.1.1/test/src/decoderTest.c:58:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_PARAMETERS [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/decoderTest.c:110:9: style: Condition 'j==0' is always true [knownConditionTrueFalse] bcg729-1.1.1/test/src/decoderTest.c:93:13: note: Assuming that condition 'j<1' is not redundant bcg729-1.1.1/test/src/decoderTest.c:110:9: note: Condition 'j==0' is always true bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 1) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 2) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 3) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 4) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 5) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 6) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 7) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 8) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 9) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 10) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 11) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 12) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 13) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 14) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 15) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:96:9: warning: %hd in format string (no. 16) requires 'short *' but the argument type is 'unsigned short *'. [invalidScanfArgType_int] bcg729-1.1.1/test/src/decoderTest.c:72:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/decoderTest.c:70:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/decoderTest.c:70:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/decoderTest.c:72:25: note: Null pointer dereference bcg729-1.1.1/test/src/decoderTest.c:77:28: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/decoderTest.c:70:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/decoderTest.c:70:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/decoderTest.c:72:43: note: Assuming condition is false bcg729-1.1.1/test/src/decoderTest.c:77:28: note: Null pointer dereference bcg729-1.1.1/test/src/encoderMultiChannelTest.c:60:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_FRAME [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/encoderMultiChannelTest.c:88:29: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/encoderMultiChannelTest.c:86:28: note: Assuming allocation function fails bcg729-1.1.1/test/src/encoderMultiChannelTest.c:86:28: note: Assignment 'outputFile=malloc((strlen(filePrefix[i])+15)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/encoderMultiChannelTest.c:88:29: note: Null pointer dereference bcg729-1.1.1/test/src/encoderMultiChannelTest.c:122:11: style: Local variable 'i' shadows outer variable [shadowVariable] bcg729-1.1.1/test/src/encoderMultiChannelTest.c:49:6: note: Shadowed declaration bcg729-1.1.1/test/src/encoderMultiChannelTest.c:122:11: note: Shadow variable bcg729-1.1.1/test/src/encoderTest.c:55:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_FRAME [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/encoderTest.c:127:10: style: Condition 'j==0' is always true [knownConditionTrueFalse] bcg729-1.1.1/test/src/encoderTest.c:94:13: note: Assuming that condition 'j<1' is not redundant bcg729-1.1.1/test/src/encoderTest.c:127:10: note: Condition 'j==0' is always true bcg729-1.1.1/test/src/encoderTest.c:78:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/encoderTest.c:76:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/encoderTest.c:76:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/encoderTest.c:78:25: note: Null pointer dereference bcg729-1.1.1/test/src/encoderVADTest.c:55:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_FRAME [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/encoderVADTest.c:127:10: style: Condition 'j==0' is always true [knownConditionTrueFalse] bcg729-1.1.1/test/src/encoderVADTest.c:94:13: note: Assuming that condition 'j<1' is not redundant bcg729-1.1.1/test/src/encoderVADTest.c:127:10: note: Condition 'j==0' is always true bcg729-1.1.1/test/src/encoderVADTest.c:78:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/encoderVADTest.c:76:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/encoderVADTest.c:76:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/encoderVADTest.c:78:25: note: Null pointer dereference bcg729-1.1.1/test/src/findOpenLoopPitchDelayTest.c:50:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXIMUM_INT_PITCH_DELAY [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/findOpenLoopPitchDelayTest.c:62:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/findOpenLoopPitchDelayTest.c:60:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/findOpenLoopPitchDelayTest.c:60:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/findOpenLoopPitchDelayTest.c:62:25: note: Null pointer dereference bcg729-1.1.1/test/src/fixedCodebookSearchTest.c:64:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_SUBFRAME [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/fixedCodebookSearchTest.c:84:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/fixedCodebookSearchTest.c:82:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/fixedCodebookSearchTest.c:82:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/fixedCodebookSearchTest.c:84:25: note: Null pointer dereference bcg729-1.1.1/test/src/gainQuantizationTest.c:62:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_SUBFRAME [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/gainQuantizationTest.c:81:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/gainQuantizationTest.c:79:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/gainQuantizationTest.c:79:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/gainQuantizationTest.c:81:25: note: Null pointer dereference bcg729-1.1.1/test/src/interpolateqLSPAndConvert2LPTest.c:57:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_LSP_COEFF [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/interpolateqLSPAndConvert2LPTest.c:72:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/interpolateqLSPAndConvert2LPTest.c:70:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/interpolateqLSPAndConvert2LPTest.c:70:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/interpolateqLSPAndConvert2LPTest.c:72:25: note: Null pointer dereference bcg729-1.1.1/test/src/postFilterTest.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NB_LSP_COEFF [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/postFilterTest.c:76:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/postFilterTest.c:74:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/postFilterTest.c:74:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/postFilterTest.c:76:25: note: Null pointer dereference bcg729-1.1.1/test/src/postProcessingTest.c:49:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_SUBFRAME [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/postProcessingTest.c:61:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/postProcessingTest.c:59:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/postProcessingTest.c:59:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/postProcessingTest.c:61:25: note: Null pointer dereference bcg729-1.1.1/test/src/preProcessingTest.c:50:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_FRAME [valueFlowBailoutIncompleteVar] bcg729-1.1.1/test/src/preProcessingTest.c:63:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: outputFile [nullPointerOutOfMemory] bcg729-1.1.1/test/src/preProcessingTest.c:61:27: note: Assuming allocation function fails bcg729-1.1.1/test/src/preProcessingTest.c:61:27: note: Assignment 'outputFile=malloc((strlen(filePrefix)+5)*sizeof(char))', assigned value is 0 bcg729-1.1.1/test/src/preProcessingTest.c:63:25: note: Null pointer dereference bcg729-1.1.1/test/src/testUtils.c:26:23: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] bcg729-1.1.1/test/src/testUtils.c:76:46: style: Parameter 'argv' can be declared as const array [constParameter] bcg729-1.1.1/src/decodeAdaptativeCodeVector.c:30:2: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [ctunullpointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:69:32: note: Calling function initDecodeAdaptativeCodeVector, 1st argument is null bcg729-1.1.1/src/decodeAdaptativeCodeVector.c:30:2: note: Dereferencing argument decoderChannelContext that is null bcg729-1.1.1/src/decodeGains.c:32:2: warning: If memory allocation fails, then there is a possible null pointer dereference: decoderChannelContext [ctunullpointerOutOfMemory] bcg729-1.1.1/src/decoder.c:51:67: note: Assuming allocation function fails bcg729-1.1.1/src/decoder.c:51:67: note: Assignment 'decoderChannelContext=malloc(sizeof(bcg729DecoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/decoder.c:70:17: note: Calling function initDecodeGains, 1st argument is null bcg729-1.1.1/src/decodeGains.c:32:2: note: Dereferencing argument decoderChannelContext that is null bcg729-1.1.1/src/gainQuantization.c:31:2: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [ctunullpointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:82:22: note: Calling function initGainQuantization, 1st argument is null bcg729-1.1.1/src/gainQuantization.c:31:2: note: Dereferencing argument encoderChannelContext that is null bcg729-1.1.1/src/preProcessing.c:49:2: warning: If memory allocation fails, then there is a possible null pointer dereference: encoderChannelContext [ctunullpointerOutOfMemory] bcg729-1.1.1/src/encoder.c:58:67: note: Assuming allocation function fails bcg729-1.1.1/src/encoder.c:58:67: note: Assignment 'encoderChannelContext=malloc(sizeof(bcg729EncoderChannelContextStruct))', assigned value is 0 bcg729-1.1.1/src/encoder.c:80:19: note: Calling function initPreProcessing, 1st argument is null bcg729-1.1.1/src/preProcessing.c:49:2: note: Dereferencing argument encoderChannelContext that is null diff: DONE