2026-07-27 13:06 ftp://ftp.de.debian.org/debian/pool/main/g/grimripper/grimripper_3.0.2.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 422e90c (2026-07-27 08:53:51 +0200) count: 131 131 elapsed-time: 8.0 3.3 head-timing-info: old-timing-info: head results: GrimRipper-v3.0.2/src/completion.c:23:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/completion.c:56:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/completion.c:126:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/support.c:49:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/support.c:38:11: style: Variable 'lastSlash' can be declared as pointer to const [constVariablePointer] GrimRipper-v3.0.2/src/completion.c:92:18: warning: Either the condition 'file==NULL' is redundant or there is possible null pointer dereference: file. [nullPointerRedundantCheck] GrimRipper-v3.0.2/src/completion.c:87:14: note: Assuming that condition 'file==NULL' is not redundant GrimRipper-v3.0.2/src/completion.c:92:18: note: Null pointer dereference GrimRipper-v3.0.2/src/completion.c:199:18: warning: Either the condition 'file==NULL' is redundant or there is possible null pointer dereference: file. [nullPointerRedundantCheck] GrimRipper-v3.0.2/src/completion.c:194:14: note: Assuming that condition 'file==NULL' is not redundant GrimRipper-v3.0.2/src/completion.c:199:18: note: Null pointer dereference GrimRipper-v3.0.2/src/completion.c:81:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] GrimRipper-v3.0.2/src/util.c:36:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/util.c:41:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/util.c:61:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/util.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/util.c:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/util.c:201:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/util.c:225:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/util.c:245:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/util.c:283:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/util.c:423:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/util.c:702:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/main.c:102:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/main.c:254:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/main.c:504:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/main.c:591:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/main.c:933:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/main.c:991:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TIME_SPAN_MILLISECOND [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/callbacks.c:423:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/callbacks.c:749:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/callbacks.c:770:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/callbacks.c:798:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/callbacks.c:825:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/callbacks.c:852:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/callbacks.c:879:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/callbacks.c:907:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/callbacks.c:934:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/callbacks.c:961:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/main.c:772:9: style: Condition 'disc' is always false [knownConditionTrueFalse] GrimRipper-v3.0.2/src/main.c:585:26: note: Assignment 'disc=NULL', assigned value is 0 GrimRipper-v3.0.2/src/main.c:592:12: note: Assuming condition is false GrimRipper-v3.0.2/src/main.c:772:9: note: Condition 'disc' is always false GrimRipper-v3.0.2/src/threads.c:184:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/threads.c:1175:108: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/main.c:92:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] GrimRipper-v3.0.2/src/prefs.c:375:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/prefs.c:411:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/prefs.c:432:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/prefs.c:501:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/main.c:856:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] GrimRipper-v3.0.2/src/prefs.c:512:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/prefs.c:756:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/prefs.c:791:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/main.c:817:29: warning: Either the condition 'disc_artist!=NULL' is redundant or there is possible null pointer dereference: disc_artist. [nullPointerRedundantCheck] GrimRipper-v3.0.2/src/main.c:819:21: note: Assuming that condition 'disc_artist!=NULL' is not redundant GrimRipper-v3.0.2/src/main.c:817:29: note: Null pointer dereference GrimRipper-v3.0.2/src/main.c:817:42: warning: Either the condition 'disc_title!=NULL' is redundant or there is possible null pointer dereference: disc_title. [nullPointerRedundantCheck] GrimRipper-v3.0.2/src/main.c:836:20: note: Assuming that condition 'disc_title!=NULL' is not redundant GrimRipper-v3.0.2/src/main.c:817:42: note: Null pointer dereference GrimRipper-v3.0.2/src/main.c:817:54: warning: Either the condition 'disc_genre' is redundant or there is possible null pointer dereference: disc_genre. [nullPointerRedundantCheck] GrimRipper-v3.0.2/src/main.c:843:10: note: Assuming that condition 'disc_genre' is not redundant GrimRipper-v3.0.2/src/main.c:817:54: note: Null pointer dereference GrimRipper-v3.0.2/src/main.c:376:20: style: Local variable 'track' shadows outer function [shadowFunction] GrimRipper-v3.0.2/src/threads.h:19:10: note: Shadowed function GrimRipper-v3.0.2/src/main.c:376:20: note: Shadow local variable GrimRipper-v3.0.2/src/main.c:586:20: style: Local variable 'track' shadows outer function [shadowFunction] GrimRipper-v3.0.2/src/threads.h:19:10: note: Shadowed function GrimRipper-v3.0.2/src/main.c:586:20: note: Shadow local variable GrimRipper-v3.0.2/src/main.c:801:20: style: Local variable 'track' shadows outer function [shadowFunction] GrimRipper-v3.0.2/src/threads.h:19:10: note: Shadowed function GrimRipper-v3.0.2/src/main.c:801:20: note: Shadow local variable GrimRipper-v3.0.2/src/main.c:226:24: style: Parameter 'cdrom' can be declared as pointer to const [constParameterPointer] GrimRipper-v3.0.2/src/main.c:563:32: style: Parameter 'cdrom' can be declared as pointer to const [constParameterPointer] GrimRipper-v3.0.2/src/main.c:586:20: style: Variable 'track' can be declared as pointer to const [constVariablePointer] GrimRipper-v3.0.2/src/main.c:229:14: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] GrimRipper-v3.0.2/src/main.c:236:18: style: Variable 'newBusy' is assigned a value that is never used. [unreadVariable] GrimRipper-v3.0.2/src/main.c:300:17: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] GrimRipper-v3.0.2/src/main.c:303:21: style: Variable 'newBusy' is assigned a value that is never used. [unreadVariable] GrimRipper-v3.0.2/src/main.c:315:21: style: Variable 'newBusy' is assigned a value that is never used. [unreadVariable] GrimRipper-v3.0.2/src/main.c:230:9: style: Unused variable: status [unusedVariable] GrimRipper-v3.0.2/src/main.c:567:9: style: Unused variable: status [unusedVariable] GrimRipper-v3.0.2/src/main.c:568:9: style: Unused variable: i [unusedVariable] GrimRipper-v3.0.2/src/main.c:586:20: style: Variable 'track' is assigned a value that is never used. [unreadVariable] GrimRipper-v3.0.2/src/main.c:588:10: style: Unused variable: trackname [unusedVariable] GrimRipper-v3.0.2/src/util.c:398:32: style:inconclusive: Function 'make_playlist' argument 1 names different: declaration 'pathAndName' definition 'filename'. [funcArgNamesDifferent] GrimRipper-v3.0.2/src/util.h:38:32: note: Function 'make_playlist' argument 1 names different: declaration 'pathAndName' definition 'filename'. GrimRipper-v3.0.2/src/util.c:398:32: note: Function 'make_playlist' argument 1 names different: declaration 'pathAndName' definition 'filename'. GrimRipper-v3.0.2/src/util.c:569:12: style: Variable 'path' can be declared as pointer to const [constVariablePointer] GrimRipper-v3.0.2/src/callbacks.c:116:13: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/callbacks.c:113:26: note: Assuming allocation function fails GrimRipper-v3.0.2/src/callbacks.c:113:26: note: Assignment 'text=malloc(sizeof(char)*(strlen(ctext)+1))', assigned value is 0 GrimRipper-v3.0.2/src/callbacks.c:116:13: note: Null pointer dereference GrimRipper-v3.0.2/src/callbacks.c:141:13: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/callbacks.c:138:26: note: Assuming allocation function fails GrimRipper-v3.0.2/src/callbacks.c:138:26: note: Assignment 'text=malloc(5)', assigned value is 0 GrimRipper-v3.0.2/src/callbacks.c:141:13: note: Null pointer dereference GrimRipper-v3.0.2/src/callbacks.c:167:13: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/callbacks.c:164:26: note: Assuming allocation function fails GrimRipper-v3.0.2/src/callbacks.c:164:26: note: Assignment 'text=malloc(sizeof(char)*(strlen(ctext)+1))', assigned value is 0 GrimRipper-v3.0.2/src/callbacks.c:167:13: note: Null pointer dereference GrimRipper-v3.0.2/src/callbacks.c:196:13: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/callbacks.c:191:26: note: Assuming allocation function fails GrimRipper-v3.0.2/src/callbacks.c:191:26: note: Assignment 'text=malloc(sizeof(char)*(strlen(ctext)+1))', assigned value is 0 GrimRipper-v3.0.2/src/callbacks.c:196:13: note: Null pointer dereference GrimRipper-v3.0.2/src/callbacks.c:548:36: warning: If memory allocation fails, then there is a possible null pointer dereference: trackartist [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/callbacks.c:547:37: note: Assuming allocation function fails GrimRipper-v3.0.2/src/callbacks.c:547:37: note: Assignment 'trackartist=strdup(tracktitle)', assigned value is 0 GrimRipper-v3.0.2/src/callbacks.c:548:36: note: Null pointer dereference GrimRipper-v3.0.2/src/callbacks.c:612:9: warning: If memory allocation fails, then there is a possible null pointer dereference: artist_and_track [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/callbacks.c:602:40: note: Assuming allocation function fails GrimRipper-v3.0.2/src/callbacks.c:602:40: note: Assignment 'artist_and_track=malloc(strlen(artist)+strlen(title)+strlen(separator)+1)', assigned value is 0 GrimRipper-v3.0.2/src/callbacks.c:612:9: note: Null pointer dereference GrimRipper-v3.0.2/src/callbacks.c:613:16: warning: If memory allocation fails, then there is a possible null pointer dereference: artist_and_track [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/callbacks.c:602:40: note: Assuming allocation function fails GrimRipper-v3.0.2/src/callbacks.c:602:40: note: Assignment 'artist_and_track=malloc(strlen(artist)+strlen(title)+strlen(separator)+1)', assigned value is 0 GrimRipper-v3.0.2/src/callbacks.c:613:16: note: Null pointer dereference GrimRipper-v3.0.2/src/callbacks.c:744:20: style: Variable 'store' can be declared as pointer to const [constVariablePointer] GrimRipper-v3.0.2/src/interface.c:82:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_BOTH_HORIZ [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/interface.c:373:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_DIALOG [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/interface.c:1184:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_DIALOG [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/interface.c:1861:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/prefs.c:434:9: error: Memory leak: legacy_path [memleak] GrimRipper-v3.0.2/src/prefs.c:434:9: error: Memory leak: target_path [memleak] GrimRipper-v3.0.2/src/prefs.c:41:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/prefs.c:38:23: note: Assuming allocation function fails GrimRipper-v3.0.2/src/prefs.c:38:23: note: Assignment 'p=malloc(sizeof(struct prefs))', assigned value is 0 GrimRipper-v3.0.2/src/prefs.c:41:12: note: Null pointer dereference GrimRipper-v3.0.2/src/prefs.c:443:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] GrimRipper-v3.0.2/src/interface.c:61:16: style: Local variable 'tracklist' shadows outer variable [shadowVariable] GrimRipper-v3.0.2/src/main.h:46:20: note: Shadowed variable GrimRipper-v3.0.2/src/interface.c:61:16: note: Shadow local variable GrimRipper-v3.0.2/src/threads.c:104:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/threads.c:1248:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/threads.c:1380:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/threads.c:607:35: warning: If memory allocation fails, then there is a possible null pointer dereference: album_artist [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/threads.c:587:30: note: Assuming allocation function fails GrimRipper-v3.0.2/src/threads.c:587:30: note: Assignment 'album_artist=strdup(gtk_entry_get_text((GtkEntry*)(album_artist_widget)))', assigned value is 0 GrimRipper-v3.0.2/src/threads.c:607:35: note: Null pointer dereference GrimRipper-v3.0.2/src/threads.c:609:34: warning: If memory allocation fails, then there is a possible null pointer dereference: album_title [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/threads.c:594:29: note: Assuming allocation function fails GrimRipper-v3.0.2/src/threads.c:594:29: note: Assignment 'album_title=strdup(gtk_entry_get_text((GtkEntry*)(album_title_widget)))', assigned value is 0 GrimRipper-v3.0.2/src/threads.c:609:34: note: Null pointer dereference GrimRipper-v3.0.2/src/threads.c:611:34: warning: If memory allocation fails, then there is a possible null pointer dereference: album_genre [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/threads.c:599:29: note: Assuming allocation function fails GrimRipper-v3.0.2/src/threads.c:599:29: note: Assignment 'album_genre=strdup(gtk_entry_get_text((GtkEntry*)(album_genre_widget)))', assigned value is 0 GrimRipper-v3.0.2/src/threads.c:611:34: note: Null pointer dereference GrimRipper-v3.0.2/src/threads.c:957:17: warning: If memory allocation fails, then there is a possible null pointer dereference: wavpackfilename [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/threads.c:956:48: note: Assuming allocation function fails GrimRipper-v3.0.2/src/threads.c:956:48: note: Assignment 'wavpackfilename=strdup(wavpackfilename2)', assigned value is 0 GrimRipper-v3.0.2/src/threads.c:957:17: note: Null pointer dereference GrimRipper-v3.0.2/src/threads.c:957:40: warning: If memory allocation fails, then there is a possible null pointer dereference: wavpackfilename [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/threads.c:956:48: note: Assuming allocation function fails GrimRipper-v3.0.2/src/threads.c:956:48: note: Assignment 'wavpackfilename=strdup(wavpackfilename2)', assigned value is 0 GrimRipper-v3.0.2/src/threads.c:957:40: note: Null pointer dereference GrimRipper-v3.0.2/src/threads.c:958:83: warning: If memory allocation fails, then there is a possible null pointer dereference: wavpackfilename [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/threads.c:956:48: note: Assuming allocation function fails GrimRipper-v3.0.2/src/threads.c:956:48: note: Assignment 'wavpackfilename=strdup(wavpackfilename2)', assigned value is 0 GrimRipper-v3.0.2/src/threads.c:958:83: note: Null pointer dereference GrimRipper-v3.0.2/src/threads.c:961:27: warning: If memory allocation fails, then there is a possible null pointer dereference: wavpackfilename [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/threads.c:956:48: note: Assuming allocation function fails GrimRipper-v3.0.2/src/threads.c:956:48: note: Assignment 'wavpackfilename=strdup(wavpackfilename2)', assigned value is 0 GrimRipper-v3.0.2/src/threads.c:961:27: note: Null pointer dereference GrimRipper-v3.0.2/src/threads.c:200:14: style: Redundant initialization for 'rowsleft'. The initialized value is overwritten before it is read. [redundantInitialization] GrimRipper-v3.0.2/src/threads.c:154:23: note: rowsleft is initialized GrimRipper-v3.0.2/src/threads.c:200:14: note: rowsleft is overwritten GrimRipper-v3.0.2/src/wrappers.c:72:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:85:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:254:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:352:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:505:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:622:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:739:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:930:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:1104:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:1208:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:1322:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:1438:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] GrimRipper-v3.0.2/src/wrappers.c:104:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/wrappers.c:385:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/wrappers.c:527:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/wrappers.c:648:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/wrappers.c:761:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/wrappers.c:953:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/wrappers.c:1143:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/wrappers.c:1230:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/wrappers.c:1345:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/wrappers.c:1468:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] GrimRipper-v3.0.2/src/wrappers.c:368:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] GrimRipper-v3.0.2/src/wrappers.c:814:18: warning: If memory allocation fails, then there is a possible null pointer dereference: artist_text [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:811:29: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:811:29: note: Assignment 'artist_text=malloc(strlen(artist)+8)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:814:18: note: Null pointer dereference GrimRipper-v3.0.2/src/wrappers.c:823:18: warning: If memory allocation fails, then there is a possible null pointer dereference: albumartist_text [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:820:34: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:820:34: note: Assignment 'albumartist_text=malloc(strlen(albumartist)+13)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:823:18: note: Null pointer dereference GrimRipper-v3.0.2/src/wrappers.c:832:18: warning: If memory allocation fails, then there is a possible null pointer dereference: album_text [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:829:28: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:829:28: note: Assignment 'album_text=malloc(strlen(album)+7)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:832:18: note: Null pointer dereference GrimRipper-v3.0.2/src/wrappers.c:840:18: warning: If memory allocation fails, then there is a possible null pointer dereference: title_text [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:837:28: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:837:28: note: Assignment 'title_text=malloc(strlen(title)+7)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:840:18: note: Null pointer dereference GrimRipper-v3.0.2/src/wrappers.c:848:18: warning: If memory allocation fails, then there is a possible null pointer dereference: genre_text [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:845:28: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:845:28: note: Assignment 'genre_text=malloc(strlen(genre)+7)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:848:18: note: Null pointer dereference GrimRipper-v3.0.2/src/wrappers.c:856:18: warning: If memory allocation fails, then there is a possible null pointer dereference: year_text [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:853:27: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:853:27: note: Assignment 'year_text=malloc(strlen(year)+6)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:856:18: note: Null pointer dereference GrimRipper-v3.0.2/src/wrappers.c:1051:18: warning: If memory allocation fails, then there is a possible null pointer dereference: tracknum_buf [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:1040:32: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:1040:32: note: Assignment 'tracknum_buf=malloc(tracknum_len)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:1049:18: note: Assuming condition is true GrimRipper-v3.0.2/src/wrappers.c:1051:18: note: Null pointer dereference GrimRipper-v3.0.2/src/wrappers.c:1057:18: warning: If memory allocation fails, then there is a possible null pointer dereference: artist_buf [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:1041:32: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:1041:32: note: Assignment 'artist_buf=malloc(artist_len)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:1055:16: note: Assuming condition is true GrimRipper-v3.0.2/src/wrappers.c:1057:18: note: Null pointer dereference GrimRipper-v3.0.2/src/wrappers.c:1063:18: warning: If memory allocation fails, then there is a possible null pointer dereference: album_buf [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:1042:32: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:1042:32: note: Assignment 'album_buf=malloc(album_len)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:1061:15: note: Assuming condition is true GrimRipper-v3.0.2/src/wrappers.c:1063:18: note: Null pointer dereference GrimRipper-v3.0.2/src/wrappers.c:1003:10: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] GrimRipper-v3.0.2/src/wrappers.c:1002:10: note: size is assigned GrimRipper-v3.0.2/src/wrappers.c:1003:10: note: size is overwritten GrimRipper-v3.0.2/src/wrappers.c:1270:12: style: Local variable 'track' shadows outer function [shadowFunction] GrimRipper-v3.0.2/src/threads.h:19:10: note: Shadowed function GrimRipper-v3.0.2/src/wrappers.c:1270:12: note: Shadow local variable GrimRipper-v3.0.2/src/wrappers.c:1377:12: style: Local variable 'track' shadows outer function [shadowFunction] GrimRipper-v3.0.2/src/threads.h:19:10: note: Shadowed function GrimRipper-v3.0.2/src/wrappers.c:1377:12: note: Shadow local variable diff: head GrimRipper-v3.0.2/src/wrappers.c:1051:18: warning: If memory allocation fails, then there is a possible null pointer dereference: tracknum_buf [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:1040:32: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:1040:32: note: Assignment 'tracknum_buf=malloc(tracknum_len)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:1049:18: note: Assuming condition is true GrimRipper-v3.0.2/src/wrappers.c:1051:18: note: Null pointer dereference 2.21.0 GrimRipper-v3.0.2/src/wrappers.c:1051:18: warning: If memory allocation fails, then there is a possible null pointer dereference: tracknum_buf [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:1040:32: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:1040:32: note: Assignment 'tracknum_buf=malloc(tracknum_len)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:1051:18: note: Null pointer dereference head GrimRipper-v3.0.2/src/wrappers.c:1057:18: warning: If memory allocation fails, then there is a possible null pointer dereference: artist_buf [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:1041:32: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:1041:32: note: Assignment 'artist_buf=malloc(artist_len)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:1055:16: note: Assuming condition is true GrimRipper-v3.0.2/src/wrappers.c:1057:18: note: Null pointer dereference 2.21.0 GrimRipper-v3.0.2/src/wrappers.c:1057:18: warning: If memory allocation fails, then there is a possible null pointer dereference: artist_buf [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:1041:32: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:1041:32: note: Assignment 'artist_buf=malloc(artist_len)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:1057:18: note: Null pointer dereference head GrimRipper-v3.0.2/src/wrappers.c:1063:18: warning: If memory allocation fails, then there is a possible null pointer dereference: album_buf [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:1042:32: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:1042:32: note: Assignment 'album_buf=malloc(album_len)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:1061:15: note: Assuming condition is true GrimRipper-v3.0.2/src/wrappers.c:1063:18: note: Null pointer dereference 2.21.0 GrimRipper-v3.0.2/src/wrappers.c:1063:18: warning: If memory allocation fails, then there is a possible null pointer dereference: album_buf [nullPointerOutOfMemory] GrimRipper-v3.0.2/src/wrappers.c:1042:32: note: Assuming allocation function fails GrimRipper-v3.0.2/src/wrappers.c:1042:32: note: Assignment 'album_buf=malloc(album_len)', assigned value is 0 GrimRipper-v3.0.2/src/wrappers.c:1063:18: note: Null pointer dereference DONE