2022-06-22 11:20 ftp://ftp.de.debian.org/debian/pool/main/h/hashrat/hashrat_1.13.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 650f409 (2022-06-22 08:46:48 +0200) count: 520 522 elapsed-time: 268.9 328.3 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: Hashrat-1.13/check-hash.c:95:12: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/check-hash.c:100:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/cgi.c:154:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] Hashrat-1.13/cgi.c:63:5: style: Local variable 'Flags' shadows outer variable [shadowVariable] Hashrat-1.13/common.h:132:12: note: Shadowed declaration Hashrat-1.13/cgi.c:63:5: note: Shadow variable Hashrat-1.13/cgi.c:85:5: style: Local variable 'Flags' shadows outer variable [shadowVariable] Hashrat-1.13/common.h:132:12: note: Shadowed declaration Hashrat-1.13/cgi.c:85:5: note: Shadow variable Hashrat-1.13/cgi.c:218:5: style: Local variable 'Flags' shadows outer variable [shadowVariable] Hashrat-1.13/common.h:132:12: note: Shadowed declaration Hashrat-1.13/cgi.c:218:5: note: Shadow variable Hashrat-1.13/cgi.c:255:42: warning: Conversion of string literal "\r\n" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/cgi.c:256:40: warning: Conversion of string literal "\n" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/cgi.c:257:40: warning: Conversion of string literal "\r" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/cgi.c:215:13: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/common.c:69:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/common.c:74:7: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/common.c:132:7: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/common.c:160:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/common.c:161:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/common.c:184:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/common.c:56:48: style:inconclusive: Function 'HashratOutputInfo' argument 2 names different: declaration 'S' definition 'Out'. [funcArgNamesDifferent] Hashrat-1.13/common.h:145:48: note: Function 'HashratOutputInfo' argument 2 names different: declaration 'S' definition 'Out'. Hashrat-1.13/common.c:56:48: note: Function 'HashratOutputInfo' argument 2 names different: declaration 'S' definition 'Out'. Hashrat-1.13/common.c:56:102: style:inconclusive: Function 'HashratOutputInfo' argument 5 names different: declaration 'Hash' definition 'iHash'. [funcArgNamesDifferent] Hashrat-1.13/common.h:145:100: note: Function 'HashratOutputInfo' argument 5 names different: declaration 'Hash' definition 'iHash'. Hashrat-1.13/common.c:56:102: note: Function 'HashratOutputInfo' argument 5 names different: declaration 'Hash' definition 'iHash'. Hashrat-1.13/files.c:484:3: warning: Either the condition 'FP' is redundant or there is possible null pointer dereference: FP. [nullPointerRedundantCheck] Hashrat-1.13/files.c:486:7: note: Assuming that condition 'FP' is not redundant Hashrat-1.13/files.c:484:3: note: Null pointer dereference Hashrat-1.13/files.c:639:10: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] Hashrat-1.13/files.c:638:10: note: result is assigned Hashrat-1.13/files.c:639:10: note: result is overwritten Hashrat-1.13/files.c:163:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Hashrat-1.13/files.c:164:4: note: Found duplicate branches for 'if' and 'else'. Hashrat-1.13/files.c:163:4: note: Found duplicate branches for 'if' and 'else'. Hashrat-1.13/files.c:482:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/files.c:483:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/files.c:620:19: style: Local variable 'Flags' shadows outer variable [shadowVariable] Hashrat-1.13/common.h:132:12: note: Shadowed declaration Hashrat-1.13/files.c:620:19: note: Shadow variable Hashrat-1.13/files.c:95:9: warning: Conversion of string literal "/*" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/files.c:213:5: style: Unused variable: val [unusedVariable] Hashrat-1.13/files.c:214:13: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/files.c:233:13: style: Unused variable: XattrStat [unusedVariable] Hashrat-1.13/files.c:620:19: style: Unused variable: Flags [unusedVariable] Hashrat-1.13/filesigning.c:19:9: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/filesigning.c:29:9: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/filesigning.c:49:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/find.c:107:36: style: Variable 'Prev' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/find.c:231:46: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/fingerprint.c:13:11: style: Variable 'result' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/fingerprint.c:147:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/http.c:69:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/include-exclude.c:134:20: style: Unused variable: dptr [unusedVariable] Hashrat-1.13/libUseful-4/Array.c:12:34: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] Hashrat-1.13/libUseful-4/ConnectionChain.c:417:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Hashrat-1.13/libUseful-4/ConnectionChain.c:429:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Hashrat-1.13/libUseful-4/ConnectionChain.c:436:13: style: The if condition is the same as the previous if condition [duplicateCondition] Hashrat-1.13/libUseful-4/ConnectionChain.c:427:13: note: First condition Hashrat-1.13/libUseful-4/ConnectionChain.c:436:13: note: Second condition Hashrat-1.13/libUseful-4/ConnectionChain.c:468:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/ConnectionChain.c:452:53: style:inconclusive: Function 'STREAMProcessConnectHops' argument 2 names different: declaration 'Value' definition 'HopList'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/ConnectionChain.h:111:53: note: Function 'STREAMProcessConnectHops' argument 2 names different: declaration 'Value' definition 'HopList'. Hashrat-1.13/libUseful-4/ConnectionChain.c:452:53: note: Function 'STREAMProcessConnectHops' argument 2 names different: declaration 'Value' definition 'HopList'. Hashrat-1.13/libUseful-4/ConnectionChain.c:73:12: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/ConnectionChain.c:42:11: style: Variable 'Proto' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/ConnectionChain.c:143:27: style: Variable 'p_Password' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/ConnectionChain.c:389:23: style: Unused variable: val [unusedVariable] Hashrat-1.13/libUseful-4/DataParser.c:480:20: style: Condition '!BreakOut' is always true [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/DataParser.c:476:18: note: Assignment 'BreakOut=0', assigned value is 0 Hashrat-1.13/libUseful-4/DataParser.c:480:20: note: Condition '!BreakOut' is always true Hashrat-1.13/libUseful-4/DataParser.c:291:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/DataParser.c:356:18: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/DataParser.c:584:34: style:inconclusive: Function 'ParserParseItems' argument 1 names different: declaration 'ParserType' definition 'Type'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/DataParser.c:5:34: note: Function 'ParserParseItems' argument 1 names different: declaration 'ParserType' definition 'Type'. Hashrat-1.13/libUseful-4/DataParser.c:584:34: note: Function 'ParserParseItems' argument 1 names different: declaration 'ParserType' definition 'Type'. Hashrat-1.13/libUseful-4/DataParser.c:612:43: style:inconclusive: Function 'ParserParseDocument' argument 1 names different: declaration 'DocType' definition 'TypeStr'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/DataParser.h:121:43: note: Function 'ParserParseDocument' argument 1 names different: declaration 'DocType' definition 'TypeStr'. Hashrat-1.13/libUseful-4/DataParser.c:612:43: note: Function 'ParserParseDocument' argument 1 names different: declaration 'DocType' definition 'TypeStr'. Hashrat-1.13/libUseful-4/DataParser.c:679:9: error: Uninitialized variable: Node [legacyUninitvar] Hashrat-1.13/libUseful-4/DataParser.c:65:15: style: Unused variable: Node [unusedVariable] Hashrat-1.13/libUseful-4/DataParser.c:139:15: style: Unused variable: Node [unusedVariable] Hashrat-1.13/libUseful-4/DataParser.c:236:15: style: Unused variable: Node [unusedVariable] Hashrat-1.13/libUseful-4/DataParser.c:335:15: style: Unused variable: Node [unusedVariable] Hashrat-1.13/libUseful-4/DataParser.c:371:15: style: Unused variable: Node [unusedVariable] Hashrat-1.13/libUseful-4/DataParser.c:614:15: style: Unused variable: Node [unusedVariable] Hashrat-1.13/libUseful-4/DataParser.c:663:22: style: Unused variable: Curr [unusedVariable] Hashrat-1.13/libUseful-4/DataProcessing.c:249:20: warning: Possible null pointer dereference: Salt [nullPointer] Hashrat-1.13/libUseful-4/DataProcessing.c:185:41: note: Assignment 'Salt=NULL', assigned value is 0 Hashrat-1.13/libUseful-4/DataProcessing.c:190:12: note: Assuming condition is false Hashrat-1.13/libUseful-4/DataProcessing.c:249:20: note: Null pointer dereference Hashrat-1.13/libUseful-4/DataProcessing.c:250:25: warning: Possible null pointer dereference: TmpKey [nullPointer] Hashrat-1.13/libUseful-4/DataProcessing.c:183:18: note: Assignment 'TmpKey=NULL', assigned value is 0 Hashrat-1.13/libUseful-4/DataProcessing.c:190:12: note: Assuming condition is false Hashrat-1.13/libUseful-4/DataProcessing.c:250:25: note: Null pointer dereference Hashrat-1.13/libUseful-4/DataProcessing.c:671:18: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/DataProcessing.c:679:18: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/DataProcessing.c:715:18: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/DataProcessing.c:723:18: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/DataProcessing.c:755:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/DataProcessing.c:799:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/DataProcessing.c:37:33: style:inconclusive: Function 'DataProcessorDestroy' argument 1 names different: declaration 'ProcMod' definition 'In'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/DataProcessing.h:79:33: note: Function 'DataProcessorDestroy' argument 1 names different: declaration 'ProcMod' definition 'In'. Hashrat-1.13/libUseful-4/DataProcessing.c:37:33: note: Function 'DataProcessorDestroy' argument 1 names different: declaration 'ProcMod' definition 'In'. Hashrat-1.13/libUseful-4/DataProcessing.c:616:97: style:inconclusive: Function 'StandardDataProcessorCreate' argument 3 names different: declaration 'Arg' definition 'iArgs'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/DataProcessing.h:77:97: note: Function 'StandardDataProcessorCreate' argument 3 names different: declaration 'Arg' definition 'iArgs'. Hashrat-1.13/libUseful-4/DataProcessing.c:616:97: note: Function 'StandardDataProcessorCreate' argument 3 names different: declaration 'Arg' definition 'iArgs'. Hashrat-1.13/libUseful-4/DataProcessing.c:750:9: style: Unused variable: len [unusedVariable] Hashrat-1.13/libUseful-4/Encodings.c:185:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Hashrat-1.13/libUseful-4/Encodings.c:190:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Hashrat-1.13/libUseful-4/Encodings.c:195:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Hashrat-1.13/libUseful-4/Encodings.c:200:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Hashrat-1.13/libUseful-4/Encodings.c:205:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Hashrat-1.13/libUseful-4/Encodings.c:210:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Hashrat-1.13/libUseful-4/Encodings.c:32:13: style: Variable 'olen' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Expect.c:85:16: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Hashrat-1.13/libUseful-4/Expect.c:10:32: style:inconclusive: Function 'ExpectDialogAdd' argument 1 names different: declaration 'Dialogs' definition 'ExpectDialogs'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Expect.h:71:32: note: Function 'ExpectDialogAdd' argument 1 names different: declaration 'Dialogs' definition 'ExpectDialogs'. Hashrat-1.13/libUseful-4/Expect.c:10:32: note: Function 'ExpectDialogAdd' argument 1 names different: declaration 'Dialogs' definition 'ExpectDialogs'. Hashrat-1.13/libUseful-4/Expect.c:22:32: style:inconclusive: Function 'ExpectDialogDestroy' argument 1 names different: declaration 'Item' definition 'p_Item'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Expect.h:74:32: note: Function 'ExpectDialogDestroy' argument 1 names different: declaration 'Item' definition 'p_Item'. Hashrat-1.13/libUseful-4/Expect.c:22:32: note: Function 'ExpectDialogDestroy' argument 1 names different: declaration 'Item' definition 'p_Item'. Hashrat-1.13/libUseful-4/Expect.c:49:45: style:inconclusive: Function 'STREAMExpectDialog' argument 2 names different: declaration 'Dialogs' definition 'ExpectDialogs'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Expect.h:72:45: note: Function 'STREAMExpectDialog' argument 2 names different: declaration 'Dialogs' definition 'ExpectDialogs'. Hashrat-1.13/libUseful-4/Expect.c:49:45: note: Function 'STREAMExpectDialog' argument 2 names different: declaration 'Dialogs' definition 'ExpectDialogs'. Hashrat-1.13/libUseful-4/Expect.c:130:12: style: Variable 'len' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/FileSystem.c:267:5: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] Hashrat-1.13/libUseful-4/FileSystem.c:122:18: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/FileSystem.c:138:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/FileSystem.c:167:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/FileSystem.c:201:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/FileSystem.c:413:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/FileSystem.c:476:9: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/FileSystem.c:563:9: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/FileSystem.c:565:9: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/FileSystem.c:572:7: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/FileSystem.c:229:29: style:inconclusive: Function 'FileChOwner' argument 1 names different: declaration 'Path' definition 'FileName'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/FileSystem.h:77:29: note: Function 'FileChOwner' argument 1 names different: declaration 'Path' definition 'FileName'. Hashrat-1.13/libUseful-4/FileSystem.c:229:29: note: Function 'FileChOwner' argument 1 names different: declaration 'Path' definition 'FileName'. Hashrat-1.13/libUseful-4/FileSystem.c:245:29: style:inconclusive: Function 'FileChGroup' argument 1 names different: declaration 'Path' definition 'FileName'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/FileSystem.h:78:29: note: Function 'FileChGroup' argument 1 names different: declaration 'Path' definition 'FileName'. Hashrat-1.13/libUseful-4/FileSystem.c:245:29: note: Function 'FileChGroup' argument 1 names different: declaration 'Path' definition 'FileName'. Hashrat-1.13/libUseful-4/FileSystem.c:135:11: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/GeneralFunctions.c:90:2: warning: Return value of function dup() is not used. [ignoredReturnValue] Hashrat-1.13/libUseful-4/GeneralFunctions.c:214:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] Hashrat-1.13/libUseful-4/GeneralFunctions.c:226:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] Hashrat-1.13/libUseful-4/GeneralFunctions.c:237:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] Hashrat-1.13/libUseful-4/GeneralFunctions.c:248:11: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] Hashrat-1.13/libUseful-4/GeneralFunctions.c:67:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/GeneralFunctions.c:124:41: style:inconclusive: Function 'FromSIUnit' argument 2 names different: declaration 'BAse' definition 'Base'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/GeneralFunctions.h:74:41: note: Function 'FromSIUnit' argument 2 names different: declaration 'BAse' definition 'Base'. Hashrat-1.13/libUseful-4/GeneralFunctions.c:124:41: note: Function 'FromSIUnit' argument 2 names different: declaration 'BAse' definition 'Base'. Hashrat-1.13/libUseful-4/GeneralFunctions.c:73:26: style: Parameter 'array' can be declared as const array [constParameter] Hashrat-1.13/libUseful-4/GeneralFunctions.c:171:16: style: Variable 'suffix' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/GeneralFunctions.c:192:13: style: Variable 'next' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/GeneralFunctions.c:211:11: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/GeneralFunctions.c:223:11: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/GeneralFunctions.c:235:11: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/GeneralFunctions.c:246:11: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/Hash.c:580:16: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Hash.c:705:40: error: Uninitialized variable: hlen [uninitvar] Hashrat-1.13/libUseful-4/Hash.c:696:17: note: Assuming condition is false Hashrat-1.13/libUseful-4/Hash.c:705:40: note: Uninitialized variable: hlen Hashrat-1.13/libUseful-4/Http.c:620:21: warning: Either the condition 'ptr' is redundant or there is possible null pointer dereference: ptr. [nullPointerRedundantCheck] Hashrat-1.13/libUseful-4/Http.c:626:28: note: Assuming that condition 'ptr' is not redundant Hashrat-1.13/libUseful-4/Http.c:620:21: note: Null pointer dereference Hashrat-1.13/libUseful-4/Http.c:733:9: style: Variable 'len2' is reassigned a value before the old one has been used. [redundantAssignment] Hashrat-1.13/libUseful-4/Http.c:730:9: note: len2 is assigned Hashrat-1.13/libUseful-4/Http.c:733:9: note: len2 is overwritten Hashrat-1.13/libUseful-4/Http.c:173:26: style: Checking if unsigned expression 'Chunk->ChunkSize' is less than zero. [unsignedLessThanZero] Hashrat-1.13/libUseful-4/Http.c:388:19: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:436:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:567:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:568:18: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:601:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:602:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:622:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:732:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:734:12: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:768:71: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:784:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:788:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:797:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:830:18: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:854:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:881:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:903:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:917:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:922:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:1235:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:1319:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Http.c:393:75: style:inconclusive: Function 'HTTPInfoSetURL' argument 3 names different: declaration 'URL' definition 'iURL'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Http.h:178:75: note: Function 'HTTPInfoSetURL' argument 3 names different: declaration 'URL' definition 'iURL'. Hashrat-1.13/libUseful-4/Http.c:393:75: note: Function 'HTTPInfoSetURL' argument 3 names different: declaration 'URL' definition 'iURL'. Hashrat-1.13/libUseful-4/Http.c:88:117: style: Parameter 'OutLen' can be declared as pointer to const [constParameter] Hashrat-1.13/libUseful-4/Http.c:513:17: warning: Conversion of string literal "Cookie: " to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:518:31: warning: Conversion of string literal "; " to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:520:17: warning: Conversion of string literal "\r\n" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:770:13: warning: Conversion of string literal "" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:823:13: warning: Conversion of string literal " " to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:829:44: warning: Conversion of string literal " HTTP/1.0\r\n" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:860:45: warning: Conversion of string literal "Pragma: no-cache\r\nCache-control: no-cache\r\n" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:895:68: warning: Conversion of string literal "gzip" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:898:48: warning: Conversion of string literal ", deflate" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:899:30: warning: Conversion of string literal "deflate" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:909:17: warning: Conversion of string literal "Connection: Keep-Alive\r\n" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:914:17: warning: Conversion of string literal "Connection: close\r\n" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:931:13: warning: Conversion of string literal "\r\n" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Http.c:558:13: style: Variable 'ptr2' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Http.c:727:9: style: Variable 'len1' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Http.c:733:9: style: Variable 'len2' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Http.c:773:8: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Http.c:818:17: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/Http.c:1089:22: style: Variable 'Flags' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Http.c:1088:17: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/Http.c:1169:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Http.c:1296:9: style: Variable 'Flags' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/LibSettings.c:23:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/List.c:79:5: warning: Possible null pointer dereference: Head [nullPointer] Hashrat-1.13/libUseful-4/List.c:76:10: note: Assignment 'Head=(List)?((List->Flags&128)?List:List->Head):NULL', assigned value is 0 Hashrat-1.13/libUseful-4/List.c:79:5: note: Null pointer dereference Hashrat-1.13/libUseful-4/List.c:82:42: style:inconclusive: Function 'ListNodeSetHits' argument 2 names different: declaration 'Hits' definition 'val'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/List.h:125:42: note: Function 'ListNodeSetHits' argument 2 names different: declaration 'Hits' definition 'val'. Hashrat-1.13/libUseful-4/List.c:82:42: note: Function 'ListNodeSetHits' argument 2 names different: declaration 'Hits' definition 'val'. Hashrat-1.13/libUseful-4/List.c:89:41: style:inconclusive: Function 'ListNodeAddHits' argument 2 names different: declaration 'Hits' definition 'val'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/List.h:128:41: note: Function 'ListNodeAddHits' argument 2 names different: declaration 'Hits' definition 'val'. Hashrat-1.13/libUseful-4/List.c:89:41: note: Function 'ListNodeAddHits' argument 2 names different: declaration 'Hits' definition 'val'. Hashrat-1.13/libUseful-4/List.c:319:31: style:inconclusive: Function 'ListClone' argument 1 names different: declaration 'List' definition 'ListStart'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/List.h:194:31: note: Function 'ListClone' argument 1 names different: declaration 'List' definition 'ListStart'. Hashrat-1.13/libUseful-4/List.c:319:31: note: Function 'ListClone' argument 1 names different: declaration 'List' definition 'ListStart'. Hashrat-1.13/libUseful-4/List.c:331:41: style:inconclusive: Function 'ListInsertTypedItem' argument 1 names different: declaration 'InsertPoint' definition 'InsertNode'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/List.h:158:41: note: Function 'ListInsertTypedItem' argument 1 names different: declaration 'InsertPoint' definition 'InsertNode'. Hashrat-1.13/libUseful-4/List.c:331:41: note: Function 'ListInsertTypedItem' argument 1 names different: declaration 'InsertPoint' definition 'InsertNode'. Hashrat-1.13/libUseful-4/List.c:351:38: style:inconclusive: Function 'ListAddTypedItem' argument 1 names different: declaration 'List' definition 'ListStart'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/List.h:155:38: note: Function 'ListAddTypedItem' argument 1 names different: declaration 'List' definition 'ListStart'. Hashrat-1.13/libUseful-4/List.c:351:38: note: Function 'ListAddTypedItem' argument 1 names different: declaration 'List' definition 'ListStart'. Hashrat-1.13/libUseful-4/List.c:368:45: style:inconclusive: Function 'ListFindNamedItemInsert' argument 1 names different: declaration 'Head' definition 'Root'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/List.h:179:45: note: Function 'ListFindNamedItemInsert' argument 1 names different: declaration 'Head' definition 'Root'. Hashrat-1.13/libUseful-4/List.c:368:45: note: Function 'ListFindNamedItemInsert' argument 1 names different: declaration 'Head' definition 'Root'. Hashrat-1.13/libUseful-4/List.c:458:39: style:inconclusive: Function 'ListFindTypedItem' argument 1 names different: declaration 'Head' definition 'Root'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/List.h:182:39: note: Function 'ListFindTypedItem' argument 1 names different: declaration 'Head' definition 'Root'. Hashrat-1.13/libUseful-4/List.c:458:39: note: Function 'ListFindTypedItem' argument 1 names different: declaration 'Head' definition 'Root'. Hashrat-1.13/libUseful-4/List.c:725:46: style: Parameter 'Item' can be declared as pointer to const [constParameter] Hashrat-1.13/libUseful-4/List.c:371:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/List.c:372:22: style: Variable 'jumps' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/List.c:372:30: style: Variable 'miss' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/List.c:516:15: style: Unused variable: SubNode [unusedVariable] Hashrat-1.13/libUseful-4/List.c:516:25: style: Unused variable: Head [unusedVariable] Hashrat-1.13/libUseful-4/Log.c:296:9: style: Condition 'S' is always true [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/Log.c:294:12: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Log.c:380:26: style:inconclusive: Function 'LogFileFlushAll' argument 1 names different: declaration 'Force' definition 'Flags'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Log.h:87:26: note: Function 'LogFileFlushAll' argument 1 names different: declaration 'Force' definition 'Flags'. Hashrat-1.13/libUseful-4/Log.c:380:26: note: Function 'LogFileFlushAll' argument 1 names different: declaration 'Force' definition 'Flags'. Hashrat-1.13/libUseful-4/Log.c:280:21: warning: Conversion of string literal " " to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Log.c:96:13: style: Variable 'S' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Log.c:260:16: style: Unused variable: TimeStruct [unusedVariable] Hashrat-1.13/libUseful-4/Log.c:417:23: style: Unused variable: val [unusedVariable] Hashrat-1.13/libUseful-4/Markup.c:197:45: style:inconclusive: Function 'HTMLUnQuote' argument 2 names different: declaration 'Str' definition 'Data'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Markup.h:26:45: note: Function 'HTMLUnQuote' argument 2 names different: declaration 'Str' definition 'Data'. Hashrat-1.13/libUseful-4/Markup.c:197:45: note: Function 'HTMLUnQuote' argument 2 names different: declaration 'Str' definition 'Data'. Hashrat-1.13/libUseful-4/Markup.c:174:20: warning: Conversion of string literal "&" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Markup.c:177:20: warning: Conversion of string literal "<" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Markup.c:180:20: warning: Conversion of string literal ">" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/OAuth.c:51:19: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:56:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:171:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:237:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:280:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:287:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:293:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:296:10: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:327:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:435:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:523:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:527:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/OAuth.c:74:25: style:inconclusive: Function 'OAuthDestroy' argument 1 names different: declaration 'p_OAUTH' definition 'p_OAuth'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/OAuth.h:129:25: note: Function 'OAuthDestroy' argument 1 names different: declaration 'p_OAUTH' definition 'p_OAuth'. Hashrat-1.13/libUseful-4/OAuth.c:74:25: note: Function 'OAuthDestroy' argument 1 names different: declaration 'p_OAUTH' definition 'p_OAuth'. Hashrat-1.13/libUseful-4/OAuth.c:449:39: style:inconclusive: Function 'OAuthLoad' argument 2 names different: declaration 'Name' definition 'ReqName'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/OAuth.h:135:39: note: Function 'OAuthLoad' argument 2 names different: declaration 'Name' definition 'ReqName'. Hashrat-1.13/libUseful-4/OAuth.c:449:39: note: Function 'OAuthLoad' argument 2 names different: declaration 'Name' definition 'ReqName'. Hashrat-1.13/libUseful-4/OAuth.c:449:60: style:inconclusive: Function 'OAuthLoad' argument 3 names different: declaration 'Path' definition 'iPath'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/OAuth.h:135:57: note: Function 'OAuthLoad' argument 3 names different: declaration 'Path' definition 'iPath'. Hashrat-1.13/libUseful-4/OAuth.c:449:60: note: Function 'OAuthLoad' argument 3 names different: declaration 'Path' definition 'iPath'. Hashrat-1.13/libUseful-4/OAuth.c:530:17: warning: Conversion of string literal "\n" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/OAuth.c:199:12: error: Uninitialized variable: netfd [uninitvar] Hashrat-1.13/libUseful-4/OAuth.c:193:14: note: Assuming condition is false Hashrat-1.13/libUseful-4/OAuth.c:199:12: note: Uninitialized variable: netfd Hashrat-1.13/libUseful-4/OAuth.c:365:12: error: Uninitialized variable: result [uninitvar] Hashrat-1.13/libUseful-4/OAuth.c:353:9: note: Assuming condition is false Hashrat-1.13/libUseful-4/OAuth.c:365:12: note: Uninitialized variable: result Hashrat-1.13/libUseful-4/OAuth.c:464:37: error: Uninitialized variable: Path [uninitvar] Hashrat-1.13/libUseful-4/OAuth.c:465:21: error: Uninitialized variable: Path [legacyUninitvar] Hashrat-1.13/libUseful-4/OAuth.c:38:8: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/OAuth.c:55:12: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/OAuth.c:235:9: style: Unused variable: len [unusedVariable] Hashrat-1.13/libUseful-4/OAuth.c:478:16: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/OpenSSL.c:461:30: style: Variable 'Options' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/OpenSSL.c:583:30: style: Variable 'Options' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/OpenSSL.c:683:7: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/PatternMatch.c:471:104: style:inconclusive: Function 'pmatch_search' argument 4 names different: declaration 'Start' definition 'MatchStart'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/PatternMatch.c:8:104: note: Function 'pmatch_search' argument 4 names different: declaration 'Start' definition 'MatchStart'. Hashrat-1.13/libUseful-4/PatternMatch.c:471:104: note: Function 'pmatch_search' argument 4 names different: declaration 'Start' definition 'MatchStart'. Hashrat-1.13/libUseful-4/PatternMatch.c:471:129: style:inconclusive: Function 'pmatch_search' argument 5 names different: declaration 'End' definition 'MatchEnd'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/PatternMatch.c:8:124: note: Function 'pmatch_search' argument 5 names different: declaration 'End' definition 'MatchEnd'. Hashrat-1.13/libUseful-4/PatternMatch.c:471:129: note: Function 'pmatch_search' argument 5 names different: declaration 'End' definition 'MatchEnd'. Hashrat-1.13/libUseful-4/PatternMatch.c:191:17: style: Variable 'OldFlags' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/PatternMatch.c:192:15: style: Variable 'OldPos' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/PatternMatch.c:162:26: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/PatternMatch.c:473:17: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/PatternMatch.c:473:33: style: Unused variable: P_tmp [unusedVariable] Hashrat-1.13/libUseful-4/PatternMatch.c:473:41: style: Unused variable: S_tmp [unusedVariable] Hashrat-1.13/libUseful-4/PatternMatch.c:653:9: style: Unused variable: result [unusedVariable] Hashrat-1.13/libUseful-4/PatternMatch.c:687:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/PatternMatch.c:687:29: style: Unused variable: i [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:263:6: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] Hashrat-1.13/libUseful-4/Process.c:312:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] Hashrat-1.13/libUseful-4/Process.c:456:41: style: Expression is always false because 'else if' condition matches previous condition at line 455. [multiCondition] Hashrat-1.13/libUseful-4/Process.c:370:12: style: Condition 'Connections' is always false [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/Process.c:341:27: note: Assignment 'Connections=NULL', assigned value is 0 Hashrat-1.13/libUseful-4/Process.c:370:12: note: Condition 'Connections' is always false Hashrat-1.13/libUseful-4/Process.c:455:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Process.c:456:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Process.c:458:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Process.c:460:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Process.c:462:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Process.c:649:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Process.c:274:28: style:inconclusive: Function 'SwitchUser' argument 1 names different: declaration 'User' definition 'NewUser'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Process.h:53:28: note: Function 'SwitchUser' argument 1 names different: declaration 'User' definition 'NewUser'. Hashrat-1.13/libUseful-4/Process.c:274:28: note: Function 'SwitchUser' argument 1 names different: declaration 'User' definition 'NewUser'. Hashrat-1.13/libUseful-4/Process.c:297:29: style:inconclusive: Function 'SwitchGroup' argument 1 names different: declaration 'Group' definition 'NewGroup'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Process.h:54:29: note: Function 'SwitchGroup' argument 1 names different: declaration 'Group' definition 'NewGroup'. Hashrat-1.13/libUseful-4/Process.c:297:29: note: Function 'SwitchGroup' argument 1 names different: declaration 'Group' definition 'NewGroup'. Hashrat-1.13/libUseful-4/Process.c:118:22: style: Unused variable: tmp [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:250:17: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:286:17: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:340:9: style: Unused variable: i [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:343:11: style: Variable 'Token' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Process.c:344:17: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:398:17: style: Unused variable: Stat [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:399:12: style: Unused variable: Glob [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:400:9: style: Unused variable: i [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:400:12: style: Unused variable: fd [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:541:5: style: Unused variable: val [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:611:9: style: Unused variable: i [unusedVariable] Hashrat-1.13/libUseful-4/Process.c:611:12: style: Unused variable: val [unusedVariable] Hashrat-1.13/libUseful-4/Pty.c:399:48: style:inconclusive: Function 'PseudoTTYGrab' argument 3 names different: declaration 'Flags' definition 'TermFlags'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Pty.h:73:48: note: Function 'PseudoTTYGrab' argument 3 names different: declaration 'Flags' definition 'TermFlags'. Hashrat-1.13/libUseful-4/Pty.c:399:48: note: Function 'PseudoTTYGrab' argument 3 names different: declaration 'Flags' definition 'TermFlags'. Hashrat-1.13/libUseful-4/RawData.c:132:12: style: Condition 'pos==-1' is always false [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/RawData.c:142:12: style: Condition 'pos==-1' is always false [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/RawData.c:153:12: style: Condition 'pos==-1' is always false [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/RawData.c:163:12: style: Condition 'pos==-1' is always false [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/RawData.c:174:12: style: Condition 'pos==-1' is always false [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/RawData.c:184:12: style: Condition 'pos==-1' is always false [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/RawData.c:198:15: style: Condition 'offset==-1' is always false [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/RawData.c:230:13: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] Hashrat-1.13/libUseful-4/RawData.c:227:8: note: ptr is assigned Hashrat-1.13/libUseful-4/RawData.c:230:13: note: ptr is overwritten Hashrat-1.13/libUseful-4/RawData.c:31:68: style:inconclusive: Function 'RAWDATACreate' argument 3 names different: declaration 'MaxSize' definition 'MaxBuffLen'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/RawData.h:29:68: note: Function 'RAWDATACreate' argument 3 names different: declaration 'MaxSize' definition 'MaxBuffLen'. Hashrat-1.13/libUseful-4/RawData.c:31:68: note: Function 'RAWDATACreate' argument 3 names different: declaration 'MaxSize' definition 'MaxBuffLen'. Hashrat-1.13/libUseful-4/RawData.c:221:56: style:inconclusive: Function 'RAWDATACopyStrLen' argument 3 names different: declaration 'len' definition 'max'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/RawData.h:44:56: note: Function 'RAWDATACopyStrLen' argument 3 names different: declaration 'len' definition 'max'. Hashrat-1.13/libUseful-4/RawData.c:221:56: note: Function 'RAWDATACopyStrLen' argument 3 names different: declaration 'len' definition 'max'. Hashrat-1.13/libUseful-4/RawData.c:34:9: style: Unused variable: encode [unusedVariable] Hashrat-1.13/libUseful-4/SecureMem.c:106:6: warning: Either the condition 'OldMem' is redundant or there is possible null pointer dereference: OldMem. [nullPointerRedundantCheck] Hashrat-1.13/libUseful-4/SecureMem.c:90:13: note: Assuming that condition 'OldMem' is not redundant Hashrat-1.13/libUseful-4/SecureMem.c:106:6: note: Null pointer dereference Hashrat-1.13/libUseful-4/SecureMem.c:141:38: style:inconclusive: Function 'SecureStoreDestroy' argument 1 names different: declaration 'SS' definition 'Store'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/SecureMem.h:43:38: note: Function 'SecureStoreDestroy' argument 1 names different: declaration 'SS' definition 'Store'. Hashrat-1.13/libUseful-4/SecureMem.c:141:38: note: Function 'SecureStoreDestroy' argument 1 names different: declaration 'SS' definition 'Store'. Hashrat-1.13/libUseful-4/SecureMem.c:255:12: error: Uninitialized variable: len [uninitvar] Hashrat-1.13/libUseful-4/SecureMem.c:248:17: note: Assuming condition is false Hashrat-1.13/libUseful-4/SecureMem.c:255:12: note: Uninitialized variable: len Hashrat-1.13/libUseful-4/SecureMem.c:81:12: style: Variable 'val' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/SecureMem.c:153:18: style: Variable 'Flags' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/SecureMem.c:208:24: style: Unused variable: eptr [unusedVariable] Hashrat-1.13/libUseful-4/SecureMem.c:223:11: style: Unused variable: line_start [unusedVariable] Hashrat-1.13/libUseful-4/Smtp.c:87:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:105:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:131:21: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:135:25: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:160:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:180:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:206:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:211:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:232:25: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:278:21: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:279:21: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:280:21: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:281:21: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Smtp.c:196:27: style: Variable 'Caps' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Smtp.c:196:48: style: Variable 'RecipientAccepted' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Smtp.c:193:11: style: Variable 'MailFrom' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Smtp.c:195:32: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/Socket.c:92:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] Hashrat-1.13/libUseful-4/Socket.c:110:13: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] Hashrat-1.13/libUseful-4/Socket.c:992:14: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] Hashrat-1.13/libUseful-4/Socket.c:323:11: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] Hashrat-1.13/libUseful-4/Socket.c:312:11: note: result is assigned Hashrat-1.13/libUseful-4/Socket.c:323:11: note: result is overwritten Hashrat-1.13/libUseful-4/Socket.c:443:11: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] Hashrat-1.13/libUseful-4/Socket.c:440:11: note: result is assigned Hashrat-1.13/libUseful-4/Socket.c:443:11: note: result is overwritten Hashrat-1.13/libUseful-4/Socket.c:446:11: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] Hashrat-1.13/libUseful-4/Socket.c:443:11: note: result is assigned Hashrat-1.13/libUseful-4/Socket.c:446:11: note: result is overwritten Hashrat-1.13/libUseful-4/Socket.c:449:11: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] Hashrat-1.13/libUseful-4/Socket.c:446:11: note: result is assigned Hashrat-1.13/libUseful-4/Socket.c:449:11: note: result is overwritten Hashrat-1.13/libUseful-4/Socket.c:223:19: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Socket.c:438:27: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Socket.c:441:10: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Socket.c:444:10: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Socket.c:447:10: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Socket.c:451:10: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Socket.c:1223:15: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Socket.c:542:45: style:inconclusive: Function 'UDPOpen' argument 3 names different: declaration 'NonBlock' definition 'Flags'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Socket.h:70:44: note: Function 'UDPOpen' argument 3 names different: declaration 'NonBlock' definition 'Flags'. Hashrat-1.13/libUseful-4/Socket.c:542:45: note: Function 'UDPOpen' argument 3 names different: declaration 'NonBlock' definition 'Flags'. Hashrat-1.13/libUseful-4/Socket.c:553:54: style:inconclusive: Function 'UDPRecv' argument 4 names different: declaration 'Host' definition 'Addr'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Socket.h:76:54: note: Function 'UDPRecv' argument 4 names different: declaration 'Host' definition 'Addr'. Hashrat-1.13/libUseful-4/Socket.c:553:54: note: Function 'UDPRecv' argument 4 names different: declaration 'Host' definition 'Addr'. Hashrat-1.13/libUseful-4/Socket.c:603:22: style:inconclusive: Function 'IPServerInit' argument 1 names different: declaration 'Type' definition 'iType'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Socket.h:84:22: note: Function 'IPServerInit' argument 1 names different: declaration 'Type' definition 'iType'. Hashrat-1.13/libUseful-4/Socket.c:603:22: note: Function 'IPServerInit' argument 1 names different: declaration 'Type' definition 'iType'. Hashrat-1.13/libUseful-4/Socket.c:861:24: style:inconclusive: Function 'GetSockDetails' argument 1 names different: declaration 'fd' definition 'sock'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Socket.h:96:24: note: Function 'GetSockDetails' argument 1 names different: declaration 'fd' definition 'sock'. Hashrat-1.13/libUseful-4/Socket.c:861:24: note: Function 'GetSockDetails' argument 1 names different: declaration 'fd' definition 'sock'. Hashrat-1.13/libUseful-4/Socket.c:1210:13: warning: Unnecessary comparison of static strings. [staticStringCompare] Hashrat-1.13/libUseful-4/Socket.c:1211:13: warning: Unnecessary comparison of static strings. [staticStringCompare] Hashrat-1.13/libUseful-4/Socket.c:1212:13: warning: Unnecessary comparison of static strings. [staticStringCompare] Hashrat-1.13/libUseful-4/Socket.c:323:17: error: Uninitialized variable: fd [legacyUninitvar] Hashrat-1.13/libUseful-4/Socket.c:276:15: style: Unused variable: salen [unusedVariable] Hashrat-1.13/libUseful-4/Socket.c:335:36: style: Variable 'result' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Socket.c:378:20: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Socket.c:397:9: style: Unused variable: salen [unusedVariable] Hashrat-1.13/libUseful-4/Socket.c:398:29: style: Unused variable: sa [unusedVariable] Hashrat-1.13/libUseful-4/Socket.c:449:11: style: Variable 'result' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Socket.c:559:9: style: Unused variable: fd [unusedVariable] Hashrat-1.13/libUseful-4/Socket.c:605:15: style: Unused variable: val [unusedVariable] Hashrat-1.13/libUseful-4/Socket.c:606:31: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/Socket.c:765:36: style: Unused variable: result [unusedVariable] Hashrat-1.13/libUseful-4/Socket.c:1093:24: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/Socket.c:1202:14: style: Variable 'Flags' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Socket.c:1205:53: style: Variable 'Flags' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Socket.c:1210:42: style: Variable 'Flags' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Socket.c:1211:42: style: Variable 'Flags' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Socket.c:1214:72: style: Variable 'Flags' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/SpawnPrograms.c:181:4: warning: Return value of function pipe() is not used. [ignoredReturnValue] Hashrat-1.13/libUseful-4/SpawnPrograms.c:188:4: warning: Return value of function pipe() is not used. [ignoredReturnValue] Hashrat-1.13/libUseful-4/SpawnPrograms.c:195:4: warning: Return value of function pipe() is not used. [ignoredReturnValue] Hashrat-1.13/libUseful-4/SpawnPrograms.c:207:25: style: Condition 'DevNull==-1' is always true [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/SpawnPrograms.c:174:57: note: Assignment 'DevNull=-1', assigned value is -1 Hashrat-1.13/libUseful-4/SpawnPrograms.c:207:25: note: Condition 'DevNull==-1' is always true Hashrat-1.13/libUseful-4/SpawnPrograms.c:292:9: error: Resource handle 'tty' freed twice. [doubleFree] Hashrat-1.13/libUseful-4/SpawnPrograms.c:279:13: note: Resource handle 'tty' freed twice. Hashrat-1.13/libUseful-4/SpawnPrograms.c:292:9: note: Resource handle 'tty' freed twice. Hashrat-1.13/libUseful-4/SpawnPrograms.c:52:12: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] Hashrat-1.13/libUseful-4/SpawnPrograms.c:51:12: note: ptr is assigned Hashrat-1.13/libUseful-4/SpawnPrograms.c:52:12: note: ptr is overwritten Hashrat-1.13/libUseful-4/SpawnPrograms.c:79:12: error: Uninitialized variable: result [uninitvar] Hashrat-1.13/libUseful-4/SpawnPrograms.c:48:15: note: Assuming condition is true Hashrat-1.13/libUseful-4/SpawnPrograms.c:79:12: note: Uninitialized variable: result Hashrat-1.13/libUseful-4/SpawnPrograms.c:102:9: style: Unused variable: fd [unusedVariable] Hashrat-1.13/libUseful-4/SpawnPrograms.c:213:38: style: Variable 'DevNull' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/SpawnPrograms.c:262:19: style: Unused variable: i [unusedVariable] Hashrat-1.13/libUseful-4/Ssh.c:18:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:19:18: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:30:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:33:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:34:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:40:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:41:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:42:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:43:24: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:48:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:68:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:75:21: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:77:21: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:121:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:126:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:132:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Ssh.c:102:93: style:inconclusive: Function 'SSHOpen' argument 5 names different: declaration 'Path' definition 'iPath'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Ssh.h:32:93: note: Function 'SSHOpen' argument 5 names different: declaration 'Path' definition 'iPath'. Hashrat-1.13/libUseful-4/Ssh.c:102:93: note: Function 'SSHOpen' argument 5 names different: declaration 'Path' definition 'iPath'. Hashrat-1.13/libUseful-4/Ssh.c:39:46: warning: Conversion of string literal "-N " to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Ssh.c:49:13: warning: Conversion of string literal " 2> /dev/null" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Ssh.c:62:41: warning: Conversion of string literal ",canon" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Ssh.c:12:9: style: Unused variable: val [unusedVariable] Hashrat-1.13/libUseful-4/Ssh.c:12:14: style: Unused variable: i [unusedVariable] Hashrat-1.13/libUseful-4/Stream.c:2221:13: style: Condition '!UseSendFile' is always true [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/Stream.c:2166:21: note: Assignment 'UseSendFile=0', assigned value is 0 Hashrat-1.13/libUseful-4/Stream.c:2221:13: note: Condition '!UseSendFile' is always true Hashrat-1.13/libUseful-4/Stream.c:1903:14: warning: Either the condition 'Tempptr' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] Hashrat-1.13/libUseful-4/Stream.c:1909:10: note: Assuming that condition 'Tempptr' is not redundant Hashrat-1.13/libUseful-4/Stream.c:1903:14: note: Null pointer addition Hashrat-1.13/libUseful-4/Stream.c:776:12: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Stream.c:268:38: style:inconclusive: Function 'STREAMSetTimeout' argument 2 names different: declaration 'Centisecs' definition 'val'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:261:37: note: Function 'STREAMSetTimeout' argument 2 names different: declaration 'Centisecs' definition 'val'. Hashrat-1.13/libUseful-4/Stream.c:268:38: note: Function 'STREAMSetTimeout' argument 2 names different: declaration 'Centisecs' definition 'val'. Hashrat-1.13/libUseful-4/Stream.c:275:33: style:inconclusive: Function 'STREAMSetFlushType' argument 1 names different: declaration 'Stream' definition 'S'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:276:33: note: Function 'STREAMSetFlushType' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:275:33: note: Function 'STREAMSetFlushType' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:379:57: style:inconclusive: Function 'STREAMSelect' argument 2 names different: declaration 'timeout' definition 'tv'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:382:57: note: Function 'STREAMSelect' argument 2 names different: declaration 'timeout' definition 'tv'. Hashrat-1.13/libUseful-4/Stream.c:379:57: note: Function 'STREAMSelect' argument 2 names different: declaration 'timeout' definition 'tv'. Hashrat-1.13/libUseful-4/Stream.c:558:25: style:inconclusive: Function 'STREAMFlush' argument 1 names different: declaration 'Stream' definition 'S'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:292:25: note: Function 'STREAMFlush' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:558:25: note: Function 'STREAMFlush' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:570:26: style:inconclusive: Function 'STREAMClear' argument 1 names different: declaration 'Stream' definition 'S'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:295:26: note: Function 'STREAMClear' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:570:26: note: Function 'STREAMClear' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:668:31: style:inconclusive: Function 'STREAMLock' argument 2 names different: declaration 'flags' definition 'val'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:395:31: note: Function 'STREAMLock' argument 2 names different: declaration 'flags' definition 'val'. Hashrat-1.13/libUseful-4/Stream.c:668:31: note: Function 'STREAMLock' argument 2 names different: declaration 'flags' definition 'val'. Hashrat-1.13/libUseful-4/Stream.c:959:32: style:inconclusive: Function 'STREAMOpen' argument 1 names different: declaration 'Path' definition 'URL'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:247:32: note: Function 'STREAMOpen' argument 1 names different: declaration 'Path' definition 'URL'. Hashrat-1.13/libUseful-4/Stream.c:959:32: note: Function 'STREAMOpen' argument 1 names different: declaration 'Path' definition 'URL'. Hashrat-1.13/libUseful-4/Stream.c:1076:26: style:inconclusive: Function 'STREAMDestroy' argument 1 names different: declaration 'S' definition 'p_S'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:286:26: note: Function 'STREAMDestroy' argument 1 names different: declaration 'S' definition 'p_S'. Hashrat-1.13/libUseful-4/Stream.c:1076:26: note: Function 'STREAMDestroy' argument 1 names different: declaration 'S' definition 'p_S'. Hashrat-1.13/libUseful-4/Stream.c:1146:26: style:inconclusive: Function 'STREAMClose' argument 1 names different: declaration 'Stream' definition 'S'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:289:26: note: Function 'STREAMClose' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:1146:26: note: Function 'STREAMClose' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:1397:50: style:inconclusive: Function 'STREAMReadBytes' argument 3 names different: declaration 'ByteCount' definition 'Buffsize'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:320:49: note: Function 'STREAMReadBytes' argument 3 names different: declaration 'ByteCount' definition 'Buffsize'. Hashrat-1.13/libUseful-4/Stream.c:1397:50: note: Function 'STREAMReadBytes' argument 3 names different: declaration 'ByteCount' definition 'Buffsize'. Hashrat-1.13/libUseful-4/Stream.c:1451:29: style:inconclusive: Function 'STREAMTell' argument 1 names different: declaration 'Stream' definition 'S'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:298:29: note: Function 'STREAMTell' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:1451:29: note: Function 'STREAMTell' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:1469:29: style:inconclusive: Function 'STREAMSeek' argument 1 names different: declaration 'Stream' definition 'S'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:301:29: note: Function 'STREAMSeek' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:1469:29: note: Function 'STREAMSeek' argument 1 names different: declaration 'Stream' definition 'S'. Hashrat-1.13/libUseful-4/Stream.c:1613:45: style:inconclusive: Function 'STREAMWriteBytes' argument 2 names different: declaration 'Buffer' definition 'Data'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:331:44: note: Function 'STREAMWriteBytes' argument 2 names different: declaration 'Buffer' definition 'Data'. Hashrat-1.13/libUseful-4/Stream.c:1613:45: note: Function 'STREAMWriteBytes' argument 2 names different: declaration 'Buffer' definition 'Data'. Hashrat-1.13/libUseful-4/Stream.c:1613:55: style:inconclusive: Function 'STREAMWriteBytes' argument 3 names different: declaration 'ByteCount' definition 'DataLen'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:331:56: note: Function 'STREAMWriteBytes' argument 3 names different: declaration 'ByteCount' definition 'DataLen'. Hashrat-1.13/libUseful-4/Stream.c:1613:55: note: Function 'STREAMWriteBytes' argument 3 names different: declaration 'ByteCount' definition 'DataLen'. Hashrat-1.13/libUseful-4/Stream.c:1720:50: style:inconclusive: Function 'STREAMPeekBytes' argument 3 names different: declaration 'ByteCount' definition 'Buffsize'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:326:50: note: Function 'STREAMPeekBytes' argument 3 names different: declaration 'ByteCount' definition 'Buffsize'. Hashrat-1.13/libUseful-4/Stream.c:1720:50: note: Function 'STREAMPeekBytes' argument 3 names different: declaration 'ByteCount' definition 'Buffsize'. Hashrat-1.13/libUseful-4/Stream.c:1771:45: style:inconclusive: Function 'STREAMWriteChar' argument 2 names different: declaration 'c' definition 'inchar'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:315:44: note: Function 'STREAMWriteChar' argument 2 names different: declaration 'c' definition 'inchar'. Hashrat-1.13/libUseful-4/Stream.c:1771:45: note: Function 'STREAMWriteChar' argument 2 names different: declaration 'c' definition 'inchar'. Hashrat-1.13/libUseful-4/Stream.c:1781:56: style:inconclusive: Function 'STREAMReadBytesToTerm' argument 3 names different: declaration 'ByteCount' definition 'BuffSize'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:336:56: note: Function 'STREAMReadBytesToTerm' argument 3 names different: declaration 'ByteCount' definition 'BuffSize'. Hashrat-1.13/libUseful-4/Stream.c:1781:56: note: Function 'STREAMReadBytesToTerm' argument 3 names different: declaration 'ByteCount' definition 'BuffSize'. Hashrat-1.13/libUseful-4/Stream.c:2036:55: style:inconclusive: Function 'STREAMSetItem' argument 3 names different: declaration 'Item' definition 'Value'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Stream.h:408:55: note: Function 'STREAMSetItem' argument 3 names different: declaration 'Item' definition 'Value'. Hashrat-1.13/libUseful-4/Stream.c:2036:55: note: Function 'STREAMSetItem' argument 3 names different: declaration 'Item' definition 'Value'. Hashrat-1.13/libUseful-4/Stream.c:2099:13: error: Uninitialized variable: result [uninitvar] Hashrat-1.13/libUseful-4/Stream.c:2082:18: note: Assuming condition is false Hashrat-1.13/libUseful-4/Stream.c:2099:13: note: Uninitialized variable: result Hashrat-1.13/libUseful-4/Stream.c:462:28: style: Unused variable: len [unusedVariable] Hashrat-1.13/libUseful-4/Stream.c:464:11: style: Unused variable: vptr [unusedVariable] Hashrat-1.13/libUseful-4/Stream.c:591:23: style: Variable 'olen' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Stream.c:1333:28: style: Variable 'saved_errno' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Stream.c:1341:28: style: Variable 'saved_errno' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Stream.c:1399:14: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Stream.c:1399:24: style: Variable 'result' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Stream.c:1563:36: style: Variable 'val' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Stream.c:1722:22: style: Variable 'result' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Stream.c:1805:20: style: Variable 'len' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Stream.c:1805:29: style: Variable 'avail' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/String.c:373:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] Hashrat-1.13/libUseful-4/String.c:662:27: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Hashrat-1.13/libUseful-4/String.c:660:61: note: outer condition: ptr[len-1]==StartQuote Hashrat-1.13/libUseful-4/String.c:662:27: note: identical inner condition: ptr[len-1]==StartQuote Hashrat-1.13/libUseful-4/String.c:46:20: style:inconclusive: Function 'strlwr' argument 1 names different: declaration 'Str' definition 'str'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:138:20: note: Function 'strlwr' argument 1 names different: declaration 'Str' definition 'str'. Hashrat-1.13/libUseful-4/String.c:46:20: note: Function 'strlwr' argument 1 names different: declaration 'Str' definition 'str'. Hashrat-1.13/libUseful-4/String.c:56:20: style:inconclusive: Function 'strupr' argument 1 names different: declaration 'Str' definition 'str'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:135:20: note: Function 'strupr' argument 1 names different: declaration 'Str' definition 'str'. Hashrat-1.13/libUseful-4/String.c:56:20: note: Function 'strupr' argument 1 names different: declaration 'Str' definition 'str'. Hashrat-1.13/libUseful-4/String.c:65:20: style:inconclusive: Function 'strrep' argument 1 names different: declaration 'Str' definition 'str'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:141:20: note: Function 'strrep' argument 1 names different: declaration 'Str' definition 'str'. Hashrat-1.13/libUseful-4/String.c:65:20: note: Function 'strrep' argument 1 names different: declaration 'Str' definition 'str'. Hashrat-1.13/libUseful-4/String.c:65:30: style:inconclusive: Function 'strrep' argument 2 names different: declaration 'c1' definition 'oldchar'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:141:30: note: Function 'strrep' argument 2 names different: declaration 'c1' definition 'oldchar'. Hashrat-1.13/libUseful-4/String.c:65:30: note: Function 'strrep' argument 2 names different: declaration 'c1' definition 'oldchar'. Hashrat-1.13/libUseful-4/String.c:65:44: style:inconclusive: Function 'strrep' argument 3 names different: declaration 'c2' definition 'newchar'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:141:39: note: Function 'strrep' argument 3 names different: declaration 'c2' definition 'newchar'. Hashrat-1.13/libUseful-4/String.c:65:44: note: Function 'strrep' argument 3 names different: declaration 'c2' definition 'newchar'. Hashrat-1.13/libUseful-4/String.c:202:35: style:inconclusive: Function 'SetStrLen' argument 2 names different: declaration 'Len' definition 'len'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:92:35: note: Function 'SetStrLen' argument 2 names different: declaration 'Len' definition 'len'. Hashrat-1.13/libUseful-4/String.c:202:35: note: Function 'SetStrLen' argument 2 names different: declaration 'Len' definition 'len'. Hashrat-1.13/libUseful-4/String.c:216:54: style:inconclusive: Function 'CopyStrLen' argument 3 names different: declaration 'Len' definition 'len'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:98:54: note: Function 'CopyStrLen' argument 3 names different: declaration 'Len' definition 'len'. Hashrat-1.13/libUseful-4/String.c:216:54: note: Function 'CopyStrLen' argument 3 names different: declaration 'Len' definition 'len'. Hashrat-1.13/libUseful-4/String.c:240:53: style:inconclusive: Function 'CatStrLen' argument 3 names different: declaration 'Len' definition 'len'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:104:53: note: Function 'CatStrLen' argument 3 names different: declaration 'Len' definition 'len'. Hashrat-1.13/libUseful-4/String.c:240:53: note: Function 'CatStrLen' argument 3 names different: declaration 'Len' definition 'len'. Hashrat-1.13/libUseful-4/String.c:446:24: style:inconclusive: Function 'VFormatStr' argument 1 names different: declaration 'RetStr' definition 'InBuff'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:121:24: note: Function 'VFormatStr' argument 1 names different: declaration 'RetStr' definition 'InBuff'. Hashrat-1.13/libUseful-4/String.c:446:24: note: Function 'VFormatStr' argument 1 names different: declaration 'RetStr' definition 'InBuff'. Hashrat-1.13/libUseful-4/String.c:446:44: style:inconclusive: Function 'VFormatStr' argument 2 names different: declaration 'Format' definition 'InputFmtStr'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:121:44: note: Function 'VFormatStr' argument 2 names different: declaration 'Format' definition 'InputFmtStr'. Hashrat-1.13/libUseful-4/String.c:446:44: note: Function 'VFormatStr' argument 2 names different: declaration 'Format' definition 'InputFmtStr'. Hashrat-1.13/libUseful-4/String.c:509:23: style:inconclusive: Function 'FormatStr' argument 1 names different: declaration 'RetStr' definition 'InBuff'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:122:23: note: Function 'FormatStr' argument 1 names different: declaration 'RetStr' definition 'InBuff'. Hashrat-1.13/libUseful-4/String.c:509:23: note: Function 'FormatStr' argument 1 names different: declaration 'RetStr' definition 'InBuff'. Hashrat-1.13/libUseful-4/String.c:509:43: style:inconclusive: Function 'FormatStr' argument 2 names different: declaration 'Format' definition 'FmtStr'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:122:43: note: Function 'FormatStr' argument 2 names different: declaration 'Format' definition 'FmtStr'. Hashrat-1.13/libUseful-4/String.c:509:43: note: Function 'FormatStr' argument 2 names different: declaration 'Format' definition 'FmtStr'. Hashrat-1.13/libUseful-4/String.c:542:26: style:inconclusive: Function 'AddCharToStr' argument 1 names different: declaration 'Buffer' definition 'Dest'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:126:26: note: Function 'AddCharToStr' argument 1 names different: declaration 'Buffer' definition 'Dest'. Hashrat-1.13/libUseful-4/String.c:542:26: note: Function 'AddCharToStr' argument 1 names different: declaration 'Buffer' definition 'Dest'. Hashrat-1.13/libUseful-4/String.c:542:36: style:inconclusive: Function 'AddCharToStr' argument 2 names different: declaration 'Char' definition 'Src'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:126:39: note: Function 'AddCharToStr' argument 2 names different: declaration 'Char' definition 'Src'. Hashrat-1.13/libUseful-4/String.c:542:36: note: Function 'AddCharToStr' argument 2 names different: declaration 'Char' definition 'Src'. Hashrat-1.13/libUseful-4/String.c:552:36: style:inconclusive: Function 'AddCharToBuffer' argument 1 names different: declaration 'Buffer' definition 'Dest'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:129:29: note: Function 'AddCharToBuffer' argument 1 names different: declaration 'Buffer' definition 'Dest'. Hashrat-1.13/libUseful-4/String.c:552:36: note: Function 'AddCharToBuffer' argument 1 names different: declaration 'Buffer' definition 'Dest'. Hashrat-1.13/libUseful-4/String.c:552:49: style:inconclusive: Function 'AddCharToBuffer' argument 2 names different: declaration 'Len' definition 'DestLen'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:129:44: note: Function 'AddCharToBuffer' argument 2 names different: declaration 'Len' definition 'DestLen'. Hashrat-1.13/libUseful-4/String.c:552:49: note: Function 'AddCharToBuffer' argument 2 names different: declaration 'Len' definition 'DestLen'. Hashrat-1.13/libUseful-4/String.c:567:79: style:inconclusive: Function 'AddBytesToBuffer' argument 4 names different: declaration 'Len' definition 'NoOfBytes'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/String.h:132:72: note: Function 'AddBytesToBuffer' argument 4 names different: declaration 'Len' definition 'NoOfBytes'. Hashrat-1.13/libUseful-4/String.c:567:79: note: Function 'AddBytesToBuffer' argument 4 names different: declaration 'Len' definition 'NoOfBytes'. Hashrat-1.13/libUseful-4/String.c:279:11: style: Unused variable: eptr [unusedVariable] Hashrat-1.13/libUseful-4/String.c:373:5: style: Variable 'Str' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/String.c:383:12: style: Unused variable: len [unusedVariable] Hashrat-1.13/libUseful-4/String.c:411:11: style: Variable 'NewStr' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/String.c:651:26: style: Variable 'StartQuote' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/String.c:675:24: style: Unused variable: cptr [unusedVariable] Hashrat-1.13/libUseful-4/String.c:479:9: error: va_list 'argscopy' used before va_start() was called. [va_list_usedBeforeStarted] Hashrat-1.13/libUseful-4/String.c:480:48: error: va_list 'argscopy' used before va_start() was called. [va_list_usedBeforeStarted] Hashrat-1.13/libUseful-4/String.c:481:9: error: va_list 'argscopy' used before va_start() was called. [va_list_usedBeforeStarted] Hashrat-1.13/libUseful-4/String.c:491:13: error: va_list 'argscopy' used before va_start() was called. [va_list_usedBeforeStarted] Hashrat-1.13/libUseful-4/String.c:492:55: error: va_list 'argscopy' used before va_start() was called. [va_list_usedBeforeStarted] Hashrat-1.13/libUseful-4/String.c:493:13: error: va_list 'argscopy' used before va_start() was called. [va_list_usedBeforeStarted] Hashrat-1.13/libUseful-4/SysInfo.c:74:12: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] Hashrat-1.13/libUseful-4/SysInfo.c:26:9: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Terminal.c:2038:9: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Terminal.c:2108:28: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Terminal.c:2131:21: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Terminal.c:2133:22: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Terminal.c:2285:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Terminal.c:95:50: warning: Conversion of string literal ";" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:96:37: warning: Conversion of string literal "01" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:97:38: warning: Conversion of string literal "02" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:98:38: warning: Conversion of string literal "04" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:99:38: warning: Conversion of string literal "05" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:100:40: warning: Conversion of string literal "07" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:102:10: warning: Conversion of string literal "m" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:879:16: warning: Conversion of string literal "\033[2J" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:883:16: warning: Conversion of string literal "\033[K" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:887:16: warning: Conversion of string literal "\033[1K" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:891:16: warning: Conversion of string literal "\033[K" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:895:16: warning: Conversion of string literal "\033[H" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:904:16: warning: Conversion of string literal "\033[s" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:908:16: warning: Conversion of string literal "\033[u" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:912:16: warning: Conversion of string literal "\033[?25l" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:916:16: warning: Conversion of string literal "\033[?25h" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:939:16: warning: Conversion of string literal "\033[0m" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:1825:14: warning: Conversion of string literal "" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:2295:15: warning: Conversion of string literal " " to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Terminal.c:570:5: error: Uninitialized variable: *mod [uninitvar] Hashrat-1.13/libUseful-4/Terminal.c:750:41: note: Calling function 'TerminalTranslateKeyStrWithMod', 2nd argument '&mod' value is Hashrat-1.13/libUseful-4/Terminal.c:570:5: note: Uninitialized variable: *mod Hashrat-1.13/libUseful-4/Terminal.c:873:9: style: Unused variable: i [unusedVariable] Hashrat-1.13/libUseful-4/Terminal.c:954:23: style: Unused variable: end [unusedVariable] Hashrat-1.13/libUseful-4/Terminal.c:1992:17: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/Terminal.c:2026:22: style: Variable 'x' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Terminal.c:2242:32: style: Variable 'p_Color' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/Terminal.c:2416:5: style: Unused variable: key [unusedVariable] Hashrat-1.13/libUseful-4/Time.c:63:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Hashrat-1.13/libUseful-4/Tokenizer.c:285:14: style: Condition 'SepStart' is always true [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/Tokenizer.c:268:7: note: Assuming condition '!SepStart' is false Hashrat-1.13/libUseful-4/Tokenizer.c:285:14: note: Condition 'SepStart' is always true Hashrat-1.13/libUseful-4/Tokenizer.c:333:57: style:inconclusive: Function 'GetToken' argument 2 names different: declaration 'Delim' definition 'Separator'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Tokenizer.h:128:57: note: Function 'GetToken' argument 2 names different: declaration 'Delim' definition 'Separator'. Hashrat-1.13/libUseful-4/Tokenizer.c:333:57: note: Function 'GetToken' argument 2 names different: declaration 'Delim' definition 'Separator'. Hashrat-1.13/libUseful-4/Tokenizer.c:155:49: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/libUseful-4/Tokenizer.c:337:9: style: Unused variable: len [unusedVariable] Hashrat-1.13/libUseful-4/URL.c:113:19: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/URL.c:161:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/URL.c:169:19: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/URL.c:190:31: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/URL.c:191:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/URL.c:153:50: style:inconclusive: Function 'ParseConnectDetails' argument 2 names different: declaration 'Proto' definition 'Type'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/URL.h:28:50: note: Function 'ParseConnectDetails' argument 2 names different: declaration 'Proto' definition 'Type'. Hashrat-1.13/libUseful-4/URL.c:153:50: note: Function 'ParseConnectDetails' argument 2 names different: declaration 'Proto' definition 'Type'. Hashrat-1.13/libUseful-4/URL.c:153:115: style:inconclusive: Function 'ParseConnectDetails' argument 7 names different: declaration 'InitDir' definition 'Path'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/URL.h:28:116: note: Function 'ParseConnectDetails' argument 7 names different: declaration 'InitDir' definition 'Path'. Hashrat-1.13/libUseful-4/URL.c:153:115: note: Function 'ParseConnectDetails' argument 7 names different: declaration 'InitDir' definition 'Path'. Hashrat-1.13/libUseful-4/URL.c:29:24: style: Unused variable: wptr [unusedVariable] Hashrat-1.13/libUseful-4/Unicode.c:19:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Hashrat-1.13/libUseful-4/Unicode.c:58:16: warning: Conversion of string literal "." to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Unicode.c:62:16: warning: Conversion of string literal ".." to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Unicode.c:67:16: warning: Conversion of string literal "..." to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Unicode.c:71:16: warning: Conversion of string literal "<" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/Unicode.c:75:16: warning: Conversion of string literal ">" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/UnixSocket.c:43:42: style:inconclusive: Function 'OpenUnixSocket' argument 2 names different: declaration 'SockType' definition 'Type'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/UnixSocket.h:34:42: note: Function 'OpenUnixSocket' argument 2 names different: declaration 'SockType' definition 'Type'. Hashrat-1.13/libUseful-4/UnixSocket.c:43:42: note: Function 'OpenUnixSocket' argument 2 names different: declaration 'SockType' definition 'Type'. Hashrat-1.13/libUseful-4/UnixSocket.c:64:62: style:inconclusive: Function 'STREAMConnectUnixSocket' argument 3 names different: declaration 'SockType' definition 'ConType'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/UnixSocket.h:35:62: note: Function 'STREAMConnectUnixSocket' argument 3 names different: declaration 'SockType' definition 'ConType'. Hashrat-1.13/libUseful-4/UnixSocket.c:64:62: note: Function 'STREAMConnectUnixSocket' argument 3 names different: declaration 'SockType' definition 'ConType'. Hashrat-1.13/libUseful-4/UnixSocket.c:89:13: error: Uninitialized variable: result [uninitvar] Hashrat-1.13/libUseful-4/UnixSocket.c:13:11: style: Unused variable: pos [unusedVariable] Hashrat-1.13/libUseful-4/Vars.c:317:16: style: Condition '*FmtPtr==')'' is always true [knownConditionTrueFalse] Hashrat-1.13/libUseful-4/Vars.c:311:20: note: Assuming that condition '*FmtPtr!=')'' is not redundant Hashrat-1.13/libUseful-4/Vars.c:317:16: note: Condition '*FmtPtr==')'' is always true Hashrat-1.13/libUseful-4/Vars.c:347:11: style: Variable 'RetStr' is reassigned a value before the old one has been used. [redundantAssignment] Hashrat-1.13/libUseful-4/Vars.c:342:11: note: RetStr is assigned Hashrat-1.13/libUseful-4/Vars.c:347:11: note: RetStr is overwritten Hashrat-1.13/libUseful-4/Vars.c:185:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/Vars.c:21:79: style:inconclusive: Function 'SetTypedVar' argument 4 names different: declaration 'Type' definition 'ItemType'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/Vars.h:29:79: note: Function 'SetTypedVar' argument 4 names different: declaration 'Type' definition 'ItemType'. Hashrat-1.13/libUseful-4/Vars.c:21:79: note: Function 'SetTypedVar' argument 4 names different: declaration 'Type' definition 'ItemType'. Hashrat-1.13/libUseful-4/Vars.c:329:14: style: Variable 'Node' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/crc32.c:92:56: style: Parameter 'pData' can be declared as pointer to const [constParameter] Hashrat-1.13/libUseful-4/examples/FileCopy.c:11:13: error: Uninitialized variable: Out [uninitvar] Hashrat-1.13/libUseful-4/examples/Maps.c:69:1: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] Hashrat-1.13/libUseful-4/examples/Maps.c:47:4: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/examples/ParseRSS.c:40:20: error: Uninitialized variables: P.Next, P.Prev, P.Tag, P.ItemType, P.Flags, P.Head, P.Item, P.Side, P.Stats [uninitvar] Hashrat-1.13/libUseful-4/examples/ParseRSS.c:14:5: note: Assuming condition is false Hashrat-1.13/libUseful-4/examples/ParseRSS.c:40:20: note: Uninitialized variables: P.Next, P.Prev, P.Tag, P.ItemType, P.Flags, P.Head, P.Item, P.Side, P.Stats Hashrat-1.13/libUseful-4/examples/SSLClient.c:18:32: style: Variable 'Tempstr' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/examples/Smtp.c:15:6: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/examples/Smtp.c:18:5: style: Variable 'Line' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/examples/SpawnContainer.c:7:9: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/examples/TTYTest.c:42:23: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/examples/TTYTest.c:22:5: style: Unused variable: fd [unusedVariable] Hashrat-1.13/libUseful-4/examples/TermBar.c:59:9: warning: Conversion of string literal "\r\n" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/examples/TermBar.c:37:5: style: Unused variable: i [unusedVariable] Hashrat-1.13/libUseful-4/examples/Terminal.c:14:9: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/examples/Terminal.c:28:10: style: Unused variable: TB [unusedVariable] Hashrat-1.13/libUseful-4/examples/pattest.c:13:1: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] Hashrat-1.13/libUseful-4/examples/pattest.c:12:29: warning: Conversion of string literal "made glorious summer by this son of york" to bool always evaluates to true. [incorrectStringBooleanError] Hashrat-1.13/libUseful-4/inet.c:75:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/inet.c:123:13: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/libUseful-4/inet.c:139:12: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] Hashrat-1.13/libUseful-4/md5c.c:46:33: style:inconclusive: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/md5.h:17:33: note: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. Hashrat-1.13/libUseful-4/md5c.c:46:33: note: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. Hashrat-1.13/libUseful-4/md5c.c:61:35: style:inconclusive: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/md5.h:18:35: note: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. Hashrat-1.13/libUseful-4/md5c.c:61:35: note: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. Hashrat-1.13/libUseful-4/md5c.c:112:60: style:inconclusive: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] Hashrat-1.13/libUseful-4/md5.h:20:60: note: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. Hashrat-1.13/libUseful-4/md5c.c:112:60: note: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. Hashrat-1.13/libUseful-4/sha2.c:88:0: error: #error Define BYTE_ORDER to be equal to either LITTLE_ENDIAN or BIG_ENDIAN [preprocessorErrorDirective] Hashrat-1.13/libUseful-4/whirlpool.c:1569:50: warning: Shifting 32-bit value by 4294966792 bits is undefined behaviour. See condition at line 1571. [shiftTooManyBits] Hashrat-1.13/libUseful-4/whirlpool.c:1571:24: note: Assuming that condition 'bufferBits==(8*64)' is not redundant Hashrat-1.13/libUseful-4/whirlpool.c:1570:25: note: Assignment to 'bufferBits+=8-bufferRem' Hashrat-1.13/libUseful-4/whirlpool.c:1569:50: note: Shift Hashrat-1.13/libUseful-4/whirlpool.c:1569:53: warning: Expression 'bufferRem' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] Hashrat-1.13/libUseful-4/whirlpool.c:1571:24: note: Assuming that condition 'bufferBits==(8*64)' is not redundant Hashrat-1.13/libUseful-4/whirlpool.c:1570:25: note: Assignment to 'bufferBits+=8-bufferRem' Hashrat-1.13/libUseful-4/whirlpool.c:1569:53: note: Negative value is converted to an unsigned value Hashrat-1.13/main.c:77:10: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/main.c:173:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/ssh.c:82:10: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/ssh.c:193:10: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/ssh.c:206:12: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/ssh.c:70:13: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/ssh.c:182:50: style: Unused variable: wptr [unusedVariable] Hashrat-1.13/ssh.c:184:13: style: Unused variable: ptr [unusedVariable] Hashrat-1.13/xattr.c:81:2: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] Hashrat-1.13/xattr.c:116:5: error: Uninitialized variable: len [uninitvar] Hashrat-1.13/xattr.c:58:5: style: Unused variable: result [unusedVariable] Hashrat-1.13/command-line-args.c:336:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] Hashrat-1.13/command-line-args.c:352:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] diff: 2.8 Hashrat-1.13/libUseful-4/GeneralFunctions.c:326:19: warning: Either the condition 'fd>-1' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] Hashrat-1.13/libUseful-4/GeneralFunctions.c:320:16: note: Assuming that condition 'fd>-1' is not redundant Hashrat-1.13/libUseful-4/GeneralFunctions.c:326:19: note: Invalid argument head Hashrat-1.13/libUseful-4/GeneralFunctions.c:73:26: style: Parameter 'array' can be declared as const array [constParameter] 2.8 Hashrat-1.13/libUseful-4/GeneralFunctions.c:73:26: style: Parameter 'array' can be declared with const [constParameter] head Hashrat-1.13/libUseful-4/Http.c:88:117: style: Parameter 'OutLen' can be declared as pointer to const [constParameter] 2.8 Hashrat-1.13/libUseful-4/Http.c:88:117: style: Parameter 'OutLen' can be declared with const [constParameter] head Hashrat-1.13/libUseful-4/List.c:725:46: style: Parameter 'Item' can be declared as pointer to const [constParameter] 2.8 Hashrat-1.13/libUseful-4/List.c:725:46: style: Parameter 'Item' can be declared with const [constParameter] 2.8 Hashrat-1.13/libUseful-4/String.c:304:5: warning: Either the condition 'ptr' is redundant or there is possible null pointer dereference: ptr. [nullPointerRedundantCheck] Hashrat-1.13/libUseful-4/String.c:297:17: note: Assuming that condition 'ptr' is not redundant Hashrat-1.13/libUseful-4/String.c:304:5: note: Null pointer dereference head Hashrat-1.13/libUseful-4/crc32.c:92:56: style: Parameter 'pData' can be declared as pointer to const [constParameter] 2.8 Hashrat-1.13/libUseful-4/crc32.c:92:56: style: Parameter 'pData' can be declared with const [constParameter] DONE