2025-05-06 09:41 ftp://ftp.de.debian.org/debian/pool/main/m/mp3gain/mp3gain_1.6.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: cb6083f (2025-05-06 10:49:30 +0200) count: 111 111 elapsed-time: 1.3 1.4 head-timing-info: old-timing-info: head results: apetag.c:342:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] gain_analysis.c:431:27: style: Parameter 'Array' can be declared as pointer to const [constParameterPointer] mp3gain.c:592:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mp3gain.c:616:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mp3gain.c:744:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mp3gain.c:1226:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mp3gain.c:1250:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mp3gain.c:1257:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mp3gain.c:1302:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mp3gain.c:1323:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mp3gain.c:1421:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mp3gain.c:1747:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] apetag.c:145:12: style: Array index 'n' is used before limits check. [arrayIndexThenCheck] apetag.c:181:17: warning: If memory allocation fails, then there is a possible null pointer dereference: buff [nullPointerOutOfMemory] apetag.c:180:27: note: Assuming allocation function fails apetag.c:180:12: note: Assignment 'buff=(char*)malloc(TagLen)', assigned value is 0 apetag.c:181:17: note: Null pointer dereference apetag.c:192:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *apeTag [nullPointerOutOfMemory] apetag.c:191:41: note: Assuming allocation function fails apetag.c:191:12: note: Assignment '*apeTag=(struct APETagStruct*)malloc(sizeof(struct APETagStruct))', assigned value is 0 apetag.c:192:3: note: Null pointer dereference apetag.c:214:10: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] apetag.c:213:29: note: Assuming allocation function fails apetag.c:213:16: note: Assignment 'name=(char*)malloc(isize+1)', assigned value is 0 apetag.c:214:10: note: Null pointer dereference apetag.c:215:3: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] apetag.c:213:29: note: Assuming allocation function fails apetag.c:213:16: note: Assignment 'name=(char*)malloc(isize+1)', assigned value is 0 apetag.c:215:3: note: Null pointer dereference apetag.c:217:16: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] apetag.c:216:30: note: Assuming allocation function fails apetag.c:216:17: note: Assignment 'value=(char*)malloc(vsize+1)', assigned value is 0 apetag.c:217:16: note: Null pointer dereference apetag.c:218:9: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] apetag.c:216:30: note: Assuming allocation function fails apetag.c:216:17: note: Assignment 'value=(char*)malloc(vsize+1)', assigned value is 0 apetag.c:218:9: note: Null pointer dereference apetag.c:223:28: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] apetag.c:213:29: note: Assuming allocation function fails apetag.c:213:16: note: Assignment 'name=(char*)malloc(isize+1)', assigned value is 0 apetag.c:223:28: note: Null pointer dereference apetag.c:160:33: style: Variable 'end' can be declared as pointer to const [constVariablePointer] apetag.c:366:30: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] apetag.c:404:64: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] apetag.c:296:39: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] apetag.c:492:37: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] apetag.c:496:72: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] apetag.c:508:36: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] apetag.c:515:36: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] apetag.c:72:18: style: struct member 'Lyrics3TagField::ID' is never used. [unusedStructMember] apetag.c:73:18: style: struct member 'Lyrics3TagField::Length' is never used. [unusedStructMember] apetag.c:203:14: style: Variable 'curFieldNum' is assigned a value that is never used. [unreadVariable] apetag.c:207:15: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] apetag.c:620:18: style: Variable 'mp3gainTagData' is assigned a value that is never used. [unreadVariable] replaygaindll.c:80:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] replaygaindll.c:174:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMSYSERR_NOERROR [valueFlowBailoutIncompleteVar] replaygaindll.c:206:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMSYSERR_NOERROR [valueFlowBailoutIncompleteVar] replaygaindll.c:220:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMSYSERR_NOERROR [valueFlowBailoutIncompleteVar] replaygaindll.c:251:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMSYSERR_NOERROR [valueFlowBailoutIncompleteVar] replaygaindll.c:81:2: style: Statements following 'return' will never be executed. [unreachableCode] replaygaindll.c:165:2: style: Statements following 'return' will never be executed. [unreachableCode] replaygaindll.c:94:20: style: Variable 'samp' can be declared as pointer to const [constVariablePointer] replaygaindll.c:93:18: style: Variable 'nSamples' is assigned a value that is never used. [unreadVariable] rg_error.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] rg_error.c:39:22: style: Parameter 'localerrstr' can be declared as pointer to const [constParameterPointer] id3tag.c:276:2: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] id3tag.c:275:16: note: Assuming allocation function fails id3tag.c:275:16: note: Assignment 'frame=malloc(sizeof(struct ID3v2FrameStruct))', assigned value is 0 id3tag.c:276:2: note: Null pointer dereference id3tag.c:277:10: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] id3tag.c:275:16: note: Assuming allocation function fails id3tag.c:275:16: note: Assignment 'frame=malloc(sizeof(struct ID3v2FrameStruct))', assigned value is 0 id3tag.c:277:10: note: Null pointer dereference id3tag.c:278:2: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] id3tag.c:275:16: note: Assuming allocation function fails id3tag.c:275:16: note: Assignment 'frame=malloc(sizeof(struct ID3v2FrameStruct))', assigned value is 0 id3tag.c:278:2: note: Null pointer dereference id3tag.c:279:2: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] id3tag.c:275:16: note: Assuming allocation function fails id3tag.c:275:16: note: Assignment 'frame=malloc(sizeof(struct ID3v2FrameStruct))', assigned value is 0 id3tag.c:279:2: note: Null pointer dereference id3tag.c:280:2: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] id3tag.c:275:16: note: Assuming allocation function fails id3tag.c:275:16: note: Assignment 'frame=malloc(sizeof(struct ID3v2FrameStruct))', assigned value is 0 id3tag.c:280:2: note: Null pointer dereference id3tag.c:281:2: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] id3tag.c:275:16: note: Assuming allocation function fails id3tag.c:275:16: note: Assignment 'frame=malloc(sizeof(struct ID3v2FrameStruct))', assigned value is 0 id3tag.c:281:2: note: Null pointer dereference id3tag.c:613:12: warning: If memory allocation fails, then there is a possible null pointer dereference: tagdata [nullPointerOutOfMemory] id3tag.c:612:18: note: Assuming allocation function fails id3tag.c:612:18: note: Assignment 'tagdata=malloc(dlen)', assigned value is 0 id3tag.c:613:12: note: Null pointer dereference id3tag.c:748:3: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] id3tag.c:747:17: note: Assuming allocation function fails id3tag.c:747:17: note: Assignment 'frame=malloc(sizeof(struct ID3v2FrameStruct))', assigned value is 0 id3tag.c:748:3: note: Null pointer dereference id3tag.c:749:10: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] id3tag.c:747:17: note: Assuming allocation function fails id3tag.c:747:17: note: Assignment 'frame=malloc(sizeof(struct ID3v2FrameStruct))', assigned value is 0 id3tag.c:749:10: note: Null pointer dereference id3tag.c:750:3: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] id3tag.c:747:17: note: Assuming allocation function fails id3tag.c:747:17: note: Assignment 'frame=malloc(sizeof(struct ID3v2FrameStruct))', assigned value is 0 id3tag.c:750:3: note: Null pointer dereference id3tag.c:751:3: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] id3tag.c:747:17: note: Assuming allocation function fails id3tag.c:747:17: note: Assignment 'frame=malloc(sizeof(struct ID3v2FrameStruct))', assigned value is 0 id3tag.c:751:3: note: Null pointer dereference id3tag.c:852:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tagdata [nullPointerOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:852:2: note: Null pointer dereference id3tag.c:853:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tagdata [nullPointerOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:853:2: note: Null pointer dereference id3tag.c:854:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tagdata [nullPointerOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:854:2: note: Null pointer dereference id3tag.c:855:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tagdata [nullPointerOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:855:2: note: Null pointer dereference id3tag.c:856:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tagdata [nullPointerOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:856:2: note: Null pointer dereference id3tag.c:857:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tagdata [nullPointerOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:857:2: note: Null pointer dereference id3tag.c:868:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tagdata [nullPointerOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:868:3: note: Null pointer dereference id3tag.c:869:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tagdata [nullPointerOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:869:3: note: Null pointer dereference id3tag.c:875:13: warning: If memory allocation fails, then there is a possible null pointer dereference: tagdata [nullPointerOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:875:13: note: Null pointer dereference id3tag.c:1110:13: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] id3tag.c:1103:14: note: Assuming allocation function fails id3tag.c:1103:14: note: Assignment 'buf=malloc(bufsize)', assigned value is 0 id3tag.c:1110:13: note: Null pointer dereference id3tag.c:1116:14: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] id3tag.c:1103:14: note: Assuming allocation function fails id3tag.c:1103:14: note: Assignment 'buf=malloc(bufsize)', assigned value is 0 id3tag.c:1111:9: note: Assuming condition is false id3tag.c:1116:14: note: Null pointer dereference id3tag.c:1321:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpfilename [nullPointerOutOfMemory] id3tag.c:1320:22: note: Assuming allocation function fails id3tag.c:1320:22: note: Assignment 'tmpfilename=malloc(strlen(filename)+5)', assigned value is 0 id3tag.c:1321:9: note: Null pointer dereference id3tag.c:1322:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpfilename [nullPointerOutOfMemory] id3tag.c:1320:22: note: Assuming allocation function fails id3tag.c:1320:22: note: Assignment 'tmpfilename=malloc(strlen(filename)+5)', assigned value is 0 id3tag.c:1322:9: note: Null pointer dereference id3tag.c:1323:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpfilename [nullPointerOutOfMemory] id3tag.c:1320:22: note: Assuming allocation function fails id3tag.c:1320:22: note: Assignment 'tmpfilename=malloc(strlen(filename)+5)', assigned value is 0 id3tag.c:1323:15: note: Null pointer dereference id3tag.c:858:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:858:31: note: Null pointer addition id3tag.c:864:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:864:18: note: Null pointer addition id3tag.c:865:35: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:865:35: note: Null pointer addition id3tag.c:866:32: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:866:32: note: Null pointer addition id3tag.c:973:10: style: Variable 'pframe' is assigned a value that is never used. [unreadVariable] mp3gain.c:581:4: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] mp3gain.c:2452:33: style: Redundant condition: curTag->haveTrackGain. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] mp3gain.c:2461:35: style: Redundant condition: curTag->haveMinMaxGain. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] mp3gain.c:2470:34: style: Redundant condition: curTag->haveTrackPeak. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] mp3gain.c:2611:32: style: Redundant condition: curTag->haveAlbumGain. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] mp3gain.c:2621:39: style: Redundant condition: curTag->haveAlbumMinMaxGain. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] mp3gain.c:2630:33: style: Redundant condition: curTag->haveAlbumPeak. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] mp3gain.c:967:29: style: Condition '!ok' is always false [knownConditionTrueFalse] mp3gain.c:589:14: note: Assignment 'ok=1', assigned value is 1 mp3gain.c:966:50: note: Calling function 'reportPercentWritten' returns 1 mp3gain.c:966:50: note: Assignment 'ok=reportPercentWritten((unsigned long)(((double)(filepos-(inbuffer-(curframe+bytesinframe-buffer)))*100.0)/gFilesize),gFilesize)', assigned value is 1 mp3gain.c:967:29: note: Condition '!ok' is always false mp3gain.c:351:5: warning: If memory allocation fails, then there is a possible null pointer dereference: errstr [nullPointerOutOfMemory] mp3gain.c:350:28: note: Assuming allocation function fails mp3gain.c:350:14: note: Assignment 'errstr=(char*)malloc(totalStrLen+3)', assigned value is 0 mp3gain.c:351:5: note: Null pointer dereference mp3gain.c:355:16: warning: If memory allocation fails, then there is a possible null pointer dereference: errstr [nullPointerOutOfMemory] mp3gain.c:350:28: note: Assuming allocation function fails mp3gain.c:350:14: note: Assignment 'errstr=(char*)malloc(totalStrLen+3)', assigned value is 0 mp3gain.c:355:16: note: Null pointer dereference mp3gain.c:748:11: warning: If memory allocation fails, then there is a possible null pointer dereference: outfilename [nullPointerOutOfMemory] mp3gain.c:747:33: note: Assuming allocation function fails mp3gain.c:747:19: note: Assignment 'outfilename=(char*)malloc(outlength+5)', assigned value is 0 mp3gain.c:748:11: note: Null pointer dereference mp3gain.c:2385:27: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] mp3gain.c:2386:39: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] mp3gain.c:804:6: style: Variable 'ok' is reassigned a value before the old one has been used. [redundantAssignment] mp3gain.c:802:6: note: ok is assigned mp3gain.c:804:6: note: ok is overwritten mp3gain.c:2217:9: style: Variable 'ok' is reassigned a value before the old one has been used. [redundantAssignment] mp3gain.c:2215:9: note: ok is assigned mp3gain.c:2217:9: note: ok is overwritten mp3gain.c:201:53: style: Parameter 'vals' can be declared as pointer to const [constParameterPointer] mp3gain.c:498:26: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mp3gain.c:514:22: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mp3gain.c:519:20: style: Parameter 'currentfilename' can be declared as pointer to const [constParameterPointer] mp3gain.c:519:43: style: Parameter 'newfilename' can be declared as pointer to const [constParameterPointer] mp3gain.c:531:21: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mp3gain.c:695:18: style: Variable 'Xingcheck' can be declared as pointer to const [constVariablePointer] mp3gain.c:1222:33: style: Parameter 'argv_mainloop' can be declared as pointer to const [constParameterPointer] mp3gain.c:1246:24: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] mp3gain.c:1420:41: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] mp3gain.c:1429:28: style: Parameter 'decout' can be declared as pointer to const [constParameterPointer] mp3gain.c:1443:29: style: Parameter 'decout' can be declared as pointer to const [constParameterPointer] mp3gain.c:1466:17: style: Variable 'Xingcheck' can be declared as pointer to const [constVariablePointer] mp3gain.c:837:14: style: Variable 'mpegver' is assigned a value that is never used. [unreadVariable] mp3gain.c:838:14: style: Variable 'freqidx' is assigned a value that is never used. [unreadVariable] mp3gain.c:872:13: style: Variable 'freqidx' is assigned a value that is never used. [unreadVariable] mp3gain.c:2247:12: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] mp3gain.c:2268:17: style: Variable 'mpegver' is assigned a value that is never used. [unreadVariable] mp3gain.c:2269:17: style: Variable 'freqidx' is assigned a value that is never used. [unreadVariable] mp3gain.c:2312:17: style: Variable 'mpegver' is assigned a value that is never used. [unreadVariable] mp3gain.c:2313:17: style: Variable 'crcflag' is assigned a value that is never used. [unreadVariable] mp3gain.c:2314:17: style: Variable 'freqidx' is assigned a value that is never used. [unreadVariable] diff: 2.17.0 id3tag.c:858:31: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:858:31: note: Null pointer addition head id3tag.c:858:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:858:31: note: Null pointer addition 2.17.0 id3tag.c:864:18: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:864:18: note: Null pointer addition head id3tag.c:864:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:864:18: note: Null pointer addition 2.17.0 id3tag.c:865:35: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:865:35: note: Null pointer addition head id3tag.c:865:35: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:865:35: note: Null pointer addition 2.17.0 id3tag.c:866:32: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:866:32: note: Null pointer addition head id3tag.c:866:32: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] id3tag.c:849:18: note: Assuming allocation function fails id3tag.c:849:18: note: Assignment 'tagdata=calloc(dlen,sizeof(unsigned char))', assigned value is 0 id3tag.c:866:32: note: Null pointer addition DONE