2022-06-23 10:53 ftp://ftp.de.debian.org/debian/pool/main/liby/libyahoo2/libyahoo2_1.0.1.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 -j1 platform: Linux-5.4.0-120-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 cppcheck: head 2.8 head-info: f1212e6 (2022-06-22 21:22:04 +0200) count: 150 151 elapsed-time: 13.4 20.2 head-timing-info: Tokenizer::simplifyTokens1: 3.80073s (avg. 0.380073s - 10 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 3.1173s (avg. 0.31173s - 10 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.357905s (avg. 0.0357905s - 10 result(s)) UnusedVar::runChecks: 0.194503s (avg. 0.0194503s - 10 result(s)) Tokenizer::createTokens: 0.102626s (avg. 0.0102626s - 10 result(s)) Overall time: 7.96201s old-timing-info: Tokenizer::simplifyTokens1: 6.04552s (avg. 0.604552s - 10 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 5.37968s (avg. 0.537968s - 10 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.334547s (avg. 0.0334547s - 10 result(s)) UnusedVar::runChecks: 0.193351s (avg. 0.0193351s - 10 result(s)) Tokenizer::createTokens: 0.105558s (avg. 0.0105558s - 10 result(s)) Overall time: 12.4248s head results: libyahoo2-1.0.1/src/autoresponder.c:526:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libyahoo2-1.0.1/src/autoresponder.c:221:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/autoresponder.c:226:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/autoresponder.c:251:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/autoresponder.c:252:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/autoresponder.c:255:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/autoresponder.c:257:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/autoresponder.c:270:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] libyahoo2-1.0.1/src/autoresponder.c:1218:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] libyahoo2-1.0.1/src/autoresponder.c:720:13: style: Condition 'do_typing_notify' is always true [knownConditionTrueFalse] libyahoo2-1.0.1/src/autoresponder.c:732:5: style: Condition '!do_mail_notify' is always true [knownConditionTrueFalse] libyahoo2-1.0.1/src/autoresponder.c:330:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libyahoo2-1.0.1/src/autoresponder.c:345:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libyahoo2-1.0.1/src/autoresponder.c:771:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libyahoo2-1.0.1/src/autoresponder.c:771:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libyahoo2-1.0.1/src/autoresponder.c:777:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libyahoo2-1.0.1/src/autoresponder.c:252:4: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] libyahoo2-1.0.1/src/autoresponder.c:251:4: note: c is assigned libyahoo2-1.0.1/src/autoresponder.c:252:4: note: c is overwritten libyahoo2-1.0.1/src/autoresponder.c:881:11: style: Local variable 'n' shadows outer variable [shadowVariable] libyahoo2-1.0.1/src/autoresponder.c:873:11: note: Shadowed declaration libyahoo2-1.0.1/src/autoresponder.c:881:11: note: Shadow variable libyahoo2-1.0.1/src/autoresponder.c:126:6: style: struct member 'yahoo_authorize_data::id' is never used. [unusedStructMember] libyahoo2-1.0.1/src/autoresponder.c:127:8: style: struct member 'yahoo_authorize_data::who' is never used. [unusedStructMember] libyahoo2-1.0.1/src/autoresponder.c:1289:8: style: Variable 'copy' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/autoresponder.c:1367:9: style: Variable 'lfd' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/autoresponder.c:1376:10: style: Variable 'l' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/crypt.c:63:13: style: Condition 'buflenwcd libyahoo2-1.0.1/src/libyahoo2.c:824:3: note: identical inner condition: yid->wcd libyahoo2-1.0.1/src/libyahoo2.c:5306:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] libyahoo2-1.0.1/src/libyahoo2.c:3934:3: error: Memory leak: yad [memleak] libyahoo2-1.0.1/src/libyahoo2.c:521:2: warning: Either the condition 'pkt' is redundant or there is possible null pointer dereference: pkt. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/libyahoo2.c:3981:6: note: Assuming that condition 'pkt' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:3980:20: note: Calling function 'yahoo_packet_hash', 1st argument 'pkt' value is 0 libyahoo2-1.0.1/src/libyahoo2.c:521:2: note: Null pointer dereference libyahoo2-1.0.1/src/libyahoo2.c:2671:26: warning: Either the condition '!yid' is redundant or there is possible null pointer dereference: yid. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/libyahoo2.c:2673:6: note: Assuming that condition '!yid' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:2671:26: note: Null pointer dereference libyahoo2-1.0.1/src/libyahoo2.c:3399:21: warning: Either the condition 'line_end' is redundant or there is possible null pointer dereference: line_end. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/libyahoo2.c:3397:6: note: Assuming that condition 'line_end' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:3399:21: note: Null pointer dereference libyahoo2-1.0.1/src/libyahoo2.c:4939:7: warning: Either the condition 'sfd' is redundant or there is possible null pointer dereference: sfd. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/libyahoo2.c:5263:7: note: Assuming that condition 'sfd' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:5271:33: note: Calling function 'yahoo_remove_active_transfer', 1st argument 'sfd' value is 0 libyahoo2-1.0.1/src/libyahoo2.c:4939:7: note: Null pointer dereference libyahoo2-1.0.1/src/libyahoo2.c:4940:7: warning: Either the condition 'sfd' is redundant or there is possible null pointer dereference: sfd. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/libyahoo2.c:5263:7: note: Assuming that condition 'sfd' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:5271:33: note: Calling function 'yahoo_remove_active_transfer', 1st argument 'sfd' value is 0 libyahoo2-1.0.1/src/libyahoo2.c:4940:7: note: Null pointer dereference libyahoo2-1.0.1/src/libyahoo2.c:4941:7: warning: Either the condition 'sfd' is redundant or there is possible null pointer dereference: sfd. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/libyahoo2.c:5263:7: note: Assuming that condition 'sfd' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:5271:33: note: Calling function 'yahoo_remove_active_transfer', 1st argument 'sfd' value is 0 libyahoo2-1.0.1/src/libyahoo2.c:4941:7: note: Null pointer dereference libyahoo2-1.0.1/src/libyahoo2.c:4942:7: warning: Either the condition 'sfd' is redundant or there is possible null pointer dereference: sfd. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/libyahoo2.c:5263:7: note: Assuming that condition 'sfd' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:5271:33: note: Calling function 'yahoo_remove_active_transfer', 1st argument 'sfd' value is 0 libyahoo2-1.0.1/src/libyahoo2.c:4942:7: note: Null pointer dereference libyahoo2-1.0.1/src/libyahoo2.c:5098:4: warning: Either the condition 'sfd' is redundant or there is possible null pointer dereference: sfd. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/libyahoo2.c:5090:6: note: Assuming that condition 'sfd' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:5098:4: note: Null pointer dereference libyahoo2-1.0.1/src/libyahoo2.c:5154:4: warning: Either the condition 'sfd' is redundant or there is possible null pointer dereference: sfd. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/libyahoo2.c:5145:6: note: Assuming that condition 'sfd' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:5154:4: note: Null pointer dereference libyahoo2-1.0.1/src/libyahoo2.c:5269:5: warning: Either the condition 'sfd' is redundant or there is possible null pointer dereference: sfd. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/libyahoo2.c:5263:7: note: Assuming that condition 'sfd' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:5269:5: note: Null pointer dereference libyahoo2-1.0.1/src/libyahoo2.c:3408:19: warning: Either the condition 'line_end' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] libyahoo2-1.0.1/src/libyahoo2.c:3397:6: note: Assuming that condition 'line_end' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:3408:19: note: Null pointer addition libyahoo2-1.0.1/src/libyahoo2.c:2755:7: style: Variable 'pos' is reassigned a value before the old one has been used. [redundantAssignment] libyahoo2-1.0.1/src/libyahoo2.c:2751:8: note: pos is assigned libyahoo2-1.0.1/src/libyahoo2.c:2755:7: note: pos is overwritten libyahoo2-1.0.1/src/libyahoo2.c:3596:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] libyahoo2-1.0.1/src/libyahoo2.c:3681:75: style:inconclusive: Function 'yahoo_send_im' argument 4 names different: declaration 'msg' definition 'what'. [funcArgNamesDifferent] libyahoo2-1.0.1/src/yahoo2.h:100:15: note: Function 'yahoo_send_im' argument 4 names different: declaration 'msg' definition 'what'. libyahoo2-1.0.1/src/libyahoo2.c:3681:75: note: Function 'yahoo_send_im' argument 4 names different: declaration 'msg' definition 'what'. libyahoo2-1.0.1/src/libyahoo2.c:1430:38: style: Local variable 'u' shadows outer variable [shadowVariable] libyahoo2-1.0.1/src/libyahoo2.c:1309:37: note: Shadowed declaration libyahoo2-1.0.1/src/libyahoo2.c:1430:38: note: Shadow variable libyahoo2-1.0.1/src/libyahoo2.c:3124:7: style: Local variable 'conn_type' shadows outer variable [shadowVariable] libyahoo2-1.0.1/src/libyahoo2.c:152:12: note: Shadowed declaration libyahoo2-1.0.1/src/libyahoo2.c:3124:7: note: Shadow variable libyahoo2-1.0.1/src/libyahoo2.c:398:71: style: Parameter 'fd' can be declared as pointer to const [constParameter] libyahoo2-1.0.1/src/libyahoo2.c:561:72: style: Parameter 'data' can be declared as pointer to const [constParameter] libyahoo2-1.0.1/src/libyahoo2.c:889:13: style: Variable 'accept' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:1874:13: style: Variable 'login_id' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:1876:11: style: Variable 'handle' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:1963:10: style: Variable 'tm' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:1965:13: style: Variable 'online' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:1985:7: style: Variable 'tm' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:1987:11: style: Variable 'online' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2022:7: style: Variable 'me' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2059:13: style: Variable 'unk_66' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2069:7: style: Variable 'me' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2075:11: style: Variable 'unk_66' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2112:13: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2114:16: style: Variable 'un_ignore' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2120:8: style: Variable 'who' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2122:7: style: Variable 'me' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2124:14: style: Variable 'un_ignore' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2126:11: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2158:15: style: Variable 'voice_room' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:2302:7: style: Variable 'me' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:3236:6: style: Variable 'yss' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:3631:8: style: Variable 'tag' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:4683:6: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/libyahoo2.c:4870:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/md5.c:368:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] libyahoo2-1.0.1/src/md5.c:382:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] libyahoo2-1.0.1/src/sample_client.c:497:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libyahoo2-1.0.1/src/sample_client.c:243:2: warning:inconclusive: The buffer 'buff' may not be null-terminated after the call to strncpy(). [terminateStrncpy] libyahoo2-1.0.1/src/sample_client.c:245:3: warning:inconclusive: The buffer 'buff' may not be null-terminated after the call to strncpy(). [terminateStrncpy] libyahoo2-1.0.1/src/sample_client.c:208:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/sample_client.c:213:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/sample_client.c:238:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/sample_client.c:239:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/sample_client.c:242:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/sample_client.c:244:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libyahoo2-1.0.1/src/sample_client.c:257:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] libyahoo2-1.0.1/src/sample_client.c:1189:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] libyahoo2-1.0.1/src/sample_client.c:688:13: style: Condition 'do_typing_notify' is always true [knownConditionTrueFalse] libyahoo2-1.0.1/src/sample_client.c:700:5: style: Condition '!do_mail_notify' is always true [knownConditionTrueFalse] libyahoo2-1.0.1/src/sample_client.c:299:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libyahoo2-1.0.1/src/sample_client.c:314:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libyahoo2-1.0.1/src/sample_client.c:739:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libyahoo2-1.0.1/src/sample_client.c:739:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libyahoo2-1.0.1/src/sample_client.c:745:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libyahoo2-1.0.1/src/sample_client.c:1656:2: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] libyahoo2-1.0.1/src/sample_client.c:1670:3: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] libyahoo2-1.0.1/src/sample_client.c:1273:16: warning: Either the condition 'to' is redundant or there is possible null pointer dereference: copy. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/sample_client.c:1279:6: note: Assuming that condition 'to' is not redundant libyahoo2-1.0.1/src/sample_client.c:1272:6: note: to is assigned 'copy' here. libyahoo2-1.0.1/src/sample_client.c:1273:16: note: Null pointer dereference libyahoo2-1.0.1/src/sample_client.c:1452:16: warning: Either the condition 'roomid' is redundant or there is possible null pointer dereference: copy. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/sample_client.c:1458:6: note: Assuming that condition 'roomid' is not redundant libyahoo2-1.0.1/src/sample_client.c:1451:10: note: roomid is assigned 'copy' here. libyahoo2-1.0.1/src/sample_client.c:1452:16: note: Null pointer dereference libyahoo2-1.0.1/src/sample_client.c:1465:16: warning: Either the condition 'roomname' is redundant or there is possible null pointer dereference: copy. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/sample_client.c:1471:6: note: Assuming that condition 'roomname' is not redundant libyahoo2-1.0.1/src/sample_client.c:1464:12: note: roomname is assigned 'copy' here. libyahoo2-1.0.1/src/sample_client.c:1465:16: note: Null pointer dereference libyahoo2-1.0.1/src/sample_client.c:1529:16: warning: Either the condition 'to' is redundant or there is possible null pointer dereference: copy. [nullPointerRedundantCheck] libyahoo2-1.0.1/src/sample_client.c:1543:6: note: Assuming that condition 'to' is not redundant libyahoo2-1.0.1/src/sample_client.c:1528:6: note: to is assigned 'copy' here. libyahoo2-1.0.1/src/sample_client.c:1529:16: note: Null pointer dereference libyahoo2-1.0.1/src/sample_client.c:239:4: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] libyahoo2-1.0.1/src/sample_client.c:238:4: note: c is assigned libyahoo2-1.0.1/src/sample_client.c:239:4: note: c is overwritten libyahoo2-1.0.1/src/sample_client.c:876:22: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] libyahoo2-1.0.1/src/sample_client.c:849:11: style: Local variable 'n' shadows outer variable [shadowVariable] libyahoo2-1.0.1/src/sample_client.c:841:11: note: Shadowed declaration libyahoo2-1.0.1/src/sample_client.c:849:11: note: Shadow variable libyahoo2-1.0.1/src/sample_client.c:1463:9: style: Local variable 'msg' shadows outer variable [shadowVariable] libyahoo2-1.0.1/src/sample_client.c:1253:19: note: Shadowed declaration libyahoo2-1.0.1/src/sample_client.c:1463:9: note: Shadow variable libyahoo2-1.0.1/src/sample_client.c:113:6: style: struct member 'yahoo_authorize_data::id' is never used. [unusedStructMember] libyahoo2-1.0.1/src/sample_client.c:114:8: style: struct member 'yahoo_authorize_data::who' is never used. [unusedStructMember] libyahoo2-1.0.1/src/sample_client.c:1635:9: style: Variable 'lfd' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/sample_client.c:1643:10: style: Variable 'l' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/sha1.c:455:46: style:inconclusive: Function 'SHA1Update' argument 2 names different: declaration 'data' definition 'vdata'. [funcArgNamesDifferent] libyahoo2-1.0.1/src/sha1.h:63:47: note: Function 'SHA1Update' argument 2 names different: declaration 'data' definition 'vdata'. libyahoo2-1.0.1/src/sha1.c:455:46: note: Function 'SHA1Update' argument 2 names different: declaration 'data' definition 'vdata'. libyahoo2-1.0.1/src/yahoo_fn.c:4796:17: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] libyahoo2-1.0.1/src/yahoo_fn.c:4795:25: note: Assuming that condition 'j<32' is not redundant libyahoo2-1.0.1/src/yahoo_fn.c:4796:17: note: Shift libyahoo2-1.0.1/src/yahoo_httplib.c:125:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] libyahoo2-1.0.1/src/yahoo_httplib.c:126:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] libyahoo2-1.0.1/src/yahoo_httplib.c:180:2: error: Common realloc mistake: 'str' nulled but not freed upon failure [memleakOnRealloc] libyahoo2-1.0.1/src/yahoo_httplib.c:220:2: error: Common realloc mistake: 'str' nulled but not freed upon failure [memleakOnRealloc] libyahoo2-1.0.1/src/yahoo_httplib.c:277:2: error: Common realloc mistake: 'str' nulled but not freed upon failure [memleakOnRealloc] libyahoo2-1.0.1/src/yahoo_httplib.c:316:7: style:inconclusive: Function 'yahoo_http_post' argument 4 names different: declaration 'size' definition 'content_length'. [funcArgNamesDifferent] libyahoo2-1.0.1/src/yahoo_httplib.h:37:8: note: Function 'yahoo_http_post' argument 4 names different: declaration 'size' definition 'content_length'. libyahoo2-1.0.1/src/yahoo_httplib.c:316:7: note: Function 'yahoo_http_post' argument 4 names different: declaration 'size' definition 'content_length'. libyahoo2-1.0.1/src/yahoo_httplib.c:371:72: style:inconclusive: Function 'yahoo_http_head' argument 4 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] libyahoo2-1.0.1/src/yahoo_httplib.h:42:7: note: Function 'yahoo_http_head' argument 4 names different: declaration 'size' definition 'len'. libyahoo2-1.0.1/src/yahoo_httplib.c:371:72: note: Function 'yahoo_http_head' argument 4 names different: declaration 'size' definition 'len'. libyahoo2-1.0.1/src/yahoo_httplib.c:227:31: style: Variable 'epos' is assigned a value that is never used. [unreadVariable] libyahoo2-1.0.1/src/yahoo_list.c:122:9: style: Redundant initialization for 'n'. The initialized value is overwritten before it is read. [redundantInitialization] libyahoo2-1.0.1/src/yahoo_list.c:120:17: note: n is initialized libyahoo2-1.0.1/src/yahoo_list.c:122:9: note: n is overwritten libyahoo2-1.0.1/src/yahoo_list.c:83:41: style: Parameter 'data' can be declared as pointer to const [constParameter] libyahoo2-1.0.1/src/yahoo_util.c:50:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libyahoo2-1.0.1/src/yahoo_util.c:116:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libyahoo2-1.0.1/src/yahoo_util.c:158:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] libyahoo2-1.0.1/src/yahoo_util.c:114:3: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] libyahoo2-1.0.1/src/yahoo_util.c:113:19: note: outer condition: *v libyahoo2-1.0.1/src/yahoo_util.c:114:3: note: identical inner condition: *v libyahoo2-1.0.1/src/yahoo_util.c:42:29: style:inconclusive: Function 'y_string_append' argument 1 names different: declaration 'str' definition 'string'. [funcArgNamesDifferent] libyahoo2-1.0.1/src/yahoo_util.h:99:29: note: Function 'y_string_append' argument 1 names different: declaration 'str' definition 'string'. libyahoo2-1.0.1/src/yahoo_util.c:42:29: note: Function 'y_string_append' argument 1 names different: declaration 'str' definition 'string'. libyahoo2-1.0.1/src/yahoo_util.c:126:9: style: Local variable 's' shadows outer variable [shadowVariable] libyahoo2-1.0.1/src/yahoo_util.c:122:8: note: Shadowed declaration libyahoo2-1.0.1/src/yahoo_util.c:126:9: note: Shadow variable libyahoo2-1.0.1/src/libyahoo2.c:521:2: warning: Null pointer dereference: pkt [ctunullpointer] libyahoo2-1.0.1/src/libyahoo2.c:3844:6: note: Assuming that condition 'pkt' is not redundant libyahoo2-1.0.1/src/libyahoo2.c:3843:19: note: Calling function yahoo_packet_hash, 1st argument is null libyahoo2-1.0.1/src/libyahoo2.c:521:2: note: Dereferencing argument pkt that is null libyahoo2-1.0.1/src/libyahoo2.c:708:2: error: Null pointer dereference: data [ctunullpointer] libyahoo2-1.0.1/src/autoresponder.c:321:25: note: Assignment 'image=NULL', assigned value is 0 libyahoo2-1.0.1/src/autoresponder.c:328:6: note: Assuming condition is false libyahoo2-1.0.1/src/autoresponder.c:346:25: note: Calling function yahoo_webcam_send_image, 2nd argument is null libyahoo2-1.0.1/src/libyahoo2.c:4688:3: note: Calling function yahoo_add_to_send_queue, 2nd argument is null libyahoo2-1.0.1/src/libyahoo2.c:708:2: note: Dereferencing argument data that is null diff: 2.8 libyahoo2-1.0.1/src/autoresponder.c:1363:27: style: Parameter 'argv' can be declared with const [constParameter] head libyahoo2-1.0.1/src/libyahoo2.c:398:71: style: Parameter 'fd' can be declared as pointer to const [constParameter] 2.8 libyahoo2-1.0.1/src/libyahoo2.c:398:71: style: Parameter 'fd' can be declared with const [constParameter] head libyahoo2-1.0.1/src/libyahoo2.c:561:72: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 libyahoo2-1.0.1/src/libyahoo2.c:561:72: style: Parameter 'data' can be declared with const [constParameter] head libyahoo2-1.0.1/src/yahoo_list.c:83:41: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 libyahoo2-1.0.1/src/yahoo_list.c:83:41: style: Parameter 'data' can be declared with const [constParameter] DONE