2024-04-12 21:02 ftp://ftp.de.debian.org/debian/pool/main/s/shairplay/shairplay_0.9.0~git20180824.096b61a+dfsg1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 646f869 (2024-04-12 10:43:30 +0200) count: 270 231 elapsed-time: 3.2 3.3 head-timing-info: old-timing-info: head results: shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/dnssdservice.cpp:26:15: warning: Member variable 'DnssdService::m_dnssd' is not initialized in the constructor. [uninitMemberVar] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopcallbackhandler.cpp:26:22: warning: Member variable 'RaopCallbackHandler::m_callbacks' is not initialized in the constructor. [uninitMemberVar] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopcallbackhandler.cpp:38:21: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopcallbackhandler.cpp:47:56: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopcallbackhandler.cpp:75:60: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopcallbackhandler.cpp:82:60: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/lib/aes_ctr.c:48:16: style: Unused variable: block [unusedVariable] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:66:22: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:75:37: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:79:31: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:90:39: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:94:31: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:102:39: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:121:39: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:131:39: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:142:39: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:146:31: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:154:39: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/bindings/qt4/raopservice.cpp:158:31: style: C-style pointer casting [cstyleCast] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:813:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/base64.c:187:10: style: Local variable 'inbuflen' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/base64.c:165:6: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/base64.c:187:10: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/base64.c:89:33: style: Parameter 'base64' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/base64.c:168:8: style: Variable 'srcptr' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/aes.c:311:31: style:inconclusive: Function 'AES_cbc_decrypt' argument 1 names different: declaration 'ks' definition 'ctx'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/crypto.h:79:31: note: Function 'AES_cbc_decrypt' argument 1 names different: declaration 'ks' definition 'ctx'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/aes.c:311:31: note: Function 'AES_cbc_decrypt' argument 1 names different: declaration 'ks' definition 'ctx'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/aes.c:311:51: style:inconclusive: Function 'AES_cbc_decrypt' argument 2 names different: declaration 'in' definition 'msg'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/crypto.h:79:50: note: Function 'AES_cbc_decrypt' argument 2 names different: declaration 'in' definition 'msg'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/aes.c:311:51: note: Function 'AES_cbc_decrypt' argument 2 names different: declaration 'in' definition 'msg'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/rc4.c:43:25: style:inconclusive: Function 'RC4_setup' argument 1 names different: declaration 's' definition 'ctx'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/crypto.h:91:25: note: Function 'RC4_setup' argument 1 names different: declaration 's' definition 'ctx'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/rc4.c:43:25: note: Function 'RC4_setup' argument 1 names different: declaration 's' definition 'ctx'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/rc4.c:72:25: style:inconclusive: Function 'RC4_crypt' argument 1 names different: declaration 's' definition 'ctx'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/crypto.h:92:25: note: Function 'RC4_crypt' argument 1 names different: declaration 's' definition 'ctx'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/rc4.c:72:25: note: Function 'RC4_crypt' argument 1 names different: declaration 's' definition 'ctx'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/rc4.c:72:59: style:inconclusive: Function 'RC4_crypt' argument 3 names different: declaration 'data' definition 'out'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/crypto.h:92:57: note: Function 'RC4_crypt' argument 3 names different: declaration 'data' definition 'out'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/rc4.c:72:59: note: Function 'RC4_crypt' argument 3 names different: declaration 'data' definition 'out'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/md5.c:270:47: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:504:28: style: The if condition is the same as the previous if condition [duplicateCondition] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:470:28: note: First condition shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:504:28: note: Second condition shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:472:13: style: Local variable 'i' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:440:9: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:472:13: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:785:21: style: Local variable 'i' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:764:17: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:785:21: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:983:21: style: Local variable 'i' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:949:17: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:983:21: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:432:53: style: Parameter 'error_buffer' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:572:37: style: Parameter 'buffer_a' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:572:56: style: Parameter 'buffer_b' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:631:37: style: Parameter 'buffer_a' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:631:56: style: Parameter 'buffer_b' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:633:30: style: Parameter 'uncompressed_bytes_buffer_a' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/alac/alac.c:633:68: style: Parameter 'uncompressed_bytes_buffer_b' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:414:11: style: Condition 'd>1' is always true [knownConditionTrueFalse] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:408:9: note: Assignment 'd=(comp)((long_comp)4294967296ULL/(v->comps[v->size-1]+1))', assigned value is greater than 4294967295 shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:414:11: note: Condition 'd>1' is always true shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:350:53: style:inconclusive: Function 'bi_int_multiply' argument 2 names different: declaration 'bi' definition 'bia'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:76:53: note: Function 'bi_int_multiply' argument 2 names different: declaration 'bi' definition 'bia'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:350:53: note: Function 'bi_int_multiply' argument 2 names different: declaration 'bi' definition 'bia'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:350:63: style:inconclusive: Function 'bi_int_multiply' argument 3 names different: declaration 'i' definition 'b'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:76:62: note: Function 'bi_int_multiply' argument 3 names different: declaration 'i' definition 'b'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:350:63: note: Function 'bi_int_multiply' argument 3 names different: declaration 'i' definition 'b'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:386:40: style:inconclusive: Function 'bi_divide' argument 2 names different: declaration 'bia' definition 'u'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.h:52:40: note: Function 'bi_divide' argument 2 names different: declaration 'bia' definition 'u'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:386:40: note: Function 'bi_divide' argument 2 names different: declaration 'bia' definition 'u'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:386:51: style:inconclusive: Function 'bi_divide' argument 3 names different: declaration 'bim' definition 'v'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.h:52:53: note: Function 'bi_divide' argument 3 names different: declaration 'bim' definition 'v'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:386:51: note: Function 'bi_divide' argument 3 names different: declaration 'bim' definition 'v'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:622:57: style:inconclusive: Function 'bi_import' argument 3 names different: declaration 'len' definition 'size'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.h:45:57: note: Function 'bi_import' argument 3 names different: declaration 'len' definition 'size'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:622:57: note: Function 'bi_import' argument 3 names different: declaration 'len' definition 'size'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:709:37: style:inconclusive: Function 'bi_export' argument 2 names different: declaration 'bi' definition 'x'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.h:44:37: note: Function 'bi_export' argument 2 names different: declaration 'bi' definition 'x'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:709:37: note: Function 'bi_export' argument 2 names different: declaration 'bi' definition 'x'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:1002:40: style:inconclusive: Function 'bi_square' argument 2 names different: declaration 'bi' definition 'bia'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.h:87:40: note: Function 'bi_square' argument 2 names different: declaration 'bi' definition 'bia'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:1002:40: note: Function 'bi_square' argument 2 names different: declaration 'bi' definition 'bia'. shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:356:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:565:11: style: Variable 'y' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:591:15: style: Variable 'y' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:819:11: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:820:11: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:952:11: style: Variable 'x' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:1038:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:1039:15: style: Variable 'b' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/digest.c:91:8: style: Variable 'username' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/digest.c:92:8: style: Variable 'realm' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/digest.c:93:8: style: Variable 'nonce' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/digest.c:94:8: style: Variable 'uri' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/digest.c:95:8: style: Variable 'response' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/dnssd.c:142:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DNSSD_ERROR_NOERROR [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:75:49: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:78:49: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:81:49: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:84:49: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:87:19: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:131:70: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:132:70: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:133:70: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:134:70: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:135:70: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:172:72: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:173:72: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:174:72: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:175:72: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:176:72: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:238:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:239:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:240:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:241:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:242:22: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:244:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:245:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:246:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:247:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:248:22: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:255:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:256:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:257:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:258:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:259:22: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:271:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:272:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:273:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:274:16: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:277:38: error: Shifting 32-bit value by 51 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:278:46: error: Shifting 32-bit value by 38 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna-c64.c:280:31: error: Shifting 32-bit value by 39 bits is undefined behaviour [shiftTooManyBits] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:488:19: style: Local variable 'mask' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:476:7: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:488:19: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:493:19: style: Local variable 'mask' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:476:7: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:493:19: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:503:17: style: Local variable 'mask' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:476:7: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:503:17: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:527:15: style: Local variable 'mask' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:476:7: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:527:15: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:472:29: style: Parameter 'input_limbs' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:253:45: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:269:45: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:456:12: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:464:14: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:488:35: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:493:35: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:503:33: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:527:31: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sha512.c:183:66: style: Condition '(err=sha512_compress(md,(unsigned char*)in))!=0' is always false [knownConditionTrueFalse] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sha512.c:183:39: note: Calling function 'sha512_compress' returns 0 shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sha512.c:183:66: note: Condition '(err=sha512_compress(md,(unsigned char*)in))!=0' is always false shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sha512.c:201:57: style: Condition '(err=sha512_compress(md,md->buf))!=0' is always false [knownConditionTrueFalse] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sha512.c:201:42: note: Calling function 'sha512_compress' returns 0 shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sha512.c:201:57: note: Condition '(err=sha512_compress(md,md->buf))!=0' is always false shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:9:25: style: Parameter 'logger' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:16:28: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:16:75: style: Parameter 'res' can be declared as const array [constParameter] shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:22:32: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:22:80: style: Parameter 'res' can be declared as const array [constParameter] shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:28:30: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:28:79: style: Parameter 'output' can be declared as const array [constParameter] shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:34:30: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:84:9: style: Variable 's23' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:91:9: style: Variable 's22' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:98:9: style: Variable 's21' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:105:9: style: Variable 's20' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:112:9: style: Variable 's19' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:119:9: style: Variable 's18' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:159:9: style: Variable 's17' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:166:9: style: Variable 's16' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:173:9: style: Variable 's15' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:180:9: style: Variable 's14' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:187:9: style: Variable 's13' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:280:9: style: Variable 's12' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/http_response.c:64:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:546:9: style: Variable 's23' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:553:9: style: Variable 's22' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:560:9: style: Variable 's21' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:567:9: style: Variable 's20' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:574:9: style: Variable 's19' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:581:9: style: Variable 's18' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:621:9: style: Variable 's17' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:628:9: style: Variable 's16' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:635:9: style: Variable 's15' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:642:9: style: Variable 's14' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:649:9: style: Variable 's13' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/ed25519/sc.c:742:9: style: Variable 's12' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/logger.c:132:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/logger.c:131:7: style: Condition 'local' is always false [knownConditionTrueFalse] shairplay-0.9.0~git20180824.096b61a/src/lib/logger.c:78:14: note: Assignment 'ret=NULL', assigned value is 0 shairplay-0.9.0~git20180824.096b61a/src/lib/logger.c:130:31: note: Calling function 'logger_utf8_to_local' returns 0 shairplay-0.9.0~git20180824.096b61a/src/lib/logger.c:130:31: note: Assignment 'local=logger_utf8_to_local(buffer)', assigned value is 0 shairplay-0.9.0~git20180824.096b61a/src/lib/logger.c:131:7: note: Condition 'local' is always false shairplay-0.9.0~git20180824.096b61a/src/lib/netutils.c:55:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/netutils.c:144:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/netutils.c:176:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/httpd.c:151:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/httpd.c:178:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/httpd.c:353:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/httpd.c:385:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/netutils.c:138:16: style: Variable 'ipv4_prefix' can be declared as const array [constVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/netutils.c:171:19: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:221:49: style:inconclusive: Function 'pairing_session_derive_key' argument 2 names different: declaration 'seed' definition 'salt'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.h:30:81: note: Function 'pairing_session_derive_key' argument 2 names different: declaration 'seed' definition 'salt'. shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:221:49: note: Function 'pairing_session_derive_key' argument 2 names different: declaration 'seed' definition 'salt'. shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:221:68: style:inconclusive: Function 'pairing_session_derive_key' argument 3 names different: declaration 'seedlen' definition 'saltlen'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.h:30:100: note: Function 'pairing_session_derive_key' argument 3 names different: declaration 'seedlen' definition 'saltlen'. shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:221:68: note: Function 'pairing_session_derive_key' argument 3 names different: declaration 'seedlen' definition 'saltlen'. shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:222:43: style:inconclusive: Function 'pairing_session_derive_key' argument 4 names different: declaration 'buf' definition 'key'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.h:30:124: note: Function 'pairing_session_derive_key' argument 4 names different: declaration 'buf' definition 'key'. shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:222:43: note: Function 'pairing_session_derive_key' argument 4 names different: declaration 'buf' definition 'key'. shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:222:61: style:inconclusive: Function 'pairing_session_derive_key' argument 5 names different: declaration 'buflen' definition 'keylen'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.h:30:142: note: Function 'pairing_session_derive_key' argument 5 names different: declaration 'buflen' definition 'keylen'. shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:222:61: note: Function 'pairing_session_derive_key' argument 5 names different: declaration 'buflen' definition 'keylen'. shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:52:40: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:103:33: style: Parameter 'pairing' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:205:28: error: Uninitialized variable: sig_buffer [uninitvar] shairplay-0.9.0~git20180824.096b61a/src/lib/httpd.c:310:10: style: Local variable 'ret' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/httpd.c:197:7: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/httpd.c:310:10: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/hand_garble.c:33:124: style: Parameter 'buffer4' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/playfair.c:15:17: style: Variable 'chunk1' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:241:14: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:243:14: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:245:14: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:247:14: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:249:14: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:255:68: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:271:68: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/sap_hash.c:22:14: style: Variable 'block_words' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/sap_hash.c:23:14: style: Variable 'out_words' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/sap_hash.c:29:8: style: Variable 'i0_index' can be declared as const array [constVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/sap_hash.c:23:24: style: Variable 'out_words' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:1177:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:2112:62: style:inconclusive: Function 'http_parser_init' argument 2 names different: declaration 'type' definition 't'. [funcArgNamesDifferent] shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.h:396:66: note: Function 'http_parser_init' argument 2 names different: declaration 'type' definition 't'. shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:2112:62: note: Function 'http_parser_init' argument 2 names different: declaration 'type' definition 't'. shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:2401:17: style: Local variable 'p' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:2314:15: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/http_parser.c:2401:17: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/raop.c:322:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable raop_t [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/modified_md5.c:74:18: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/modified_md5.c:64:18: note: outer condition: i<64 shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/modified_md5.c:74:18: note: identical inner condition: i<64 shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/modified_md5.c:86:18: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/modified_md5.c:64:18: note: outer condition: i<64 shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/modified_md5.c:86:18: note: identical inner condition: i<64 shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/modified_md5.c:48:34: style: Parameter 'originalblockIn' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/modified_md5.c:52:14: style: Variable 'key_words' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:22:32: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'raop_handler_none' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/lib/raop.c:226:14: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:22:32: note: Parameter 'conn' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:23:35: style: Parameter 'request' can be declared as pointer to const. However it seems that 'raop_handler_none' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/lib/raop.c:226:14: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:23:35: note: Parameter 'request' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:23:61: style: Parameter 'response' can be declared as pointer to const. However it seems that 'raop_handler_none' is a callback function, if 'response' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/lib/raop.c:226:14: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:23:61: note: Parameter 'response' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:24:46: style: Parameter 'response_datalen' can be declared as pointer to const. However it seems that 'raop_handler_none' is a callback function, if 'response_datalen' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/lib/raop.c:226:14: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:24:46: note: Parameter 'response_datalen' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:252:30: style: Variable 'tmpstr' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:37:7: style: Variable 'data' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:163:31: style: Variable 'aesivlen' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:146:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable raop_callbacks_t [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:253:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:536:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:619:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_buffer.c:116:55: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_buffer.c:359:23: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/rsakey.c:199:28: style: Parameter 'ipaddr' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/rsakey.c:200:28: style: Parameter 'hwaddr' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/rsakey.c:247:6: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:112:13: warning: Either the condition 'current' is redundant or there is possible null pointer dereference: current. [nullPointerRedundantCheck] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:104:32: note: Assuming that condition 'current' is not redundant shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:112:13: note: Null pointer dereference shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:438:10: style: Local variable 'ret' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:391:13: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:438:10: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:450:9: style: Local variable 'ret' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:391:13: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:450:9: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:88:8: style: Variable 'tmpstr' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:231:19: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/sdp.c:70:10: style: Variable 'key' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:140:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:165:17: style: Condition 'running!=0' is always true [knownConditionTrueFalse] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:164:12: note: Assignment 'running=1', assigned value is 1 shairplay-0.9.0~git20180824.096b61a/src/test/example.c:165:17: note: Condition 'running!=0' is always true shairplay-0.9.0~git20180824.096b61a/src/test/example.c:54:18: style: Parameter 'cls' can be declared as pointer to const. However it seems that 'audio_init' is a callback function, if 'cls' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:130:24: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:54:18: note: Parameter 'cls' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/test/example.c:60:24: style: Parameter 'cls' can be declared as pointer to const. However it seems that 'audio_set_volume' is a callback function, if 'cls' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:131:30: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:60:24: note: Parameter 'cls' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/test/example.c:60:35: style: Parameter 'session' can be declared as pointer to const. However it seems that 'audio_set_volume' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:131:30: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:60:35: note: Parameter 'session' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/test/example.c:99:19: style: Parameter 'cls' can be declared as pointer to const. However it seems that 'audio_flush' is a callback function, if 'cls' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:135:25: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:99:19: note: Parameter 'cls' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/test/example.c:99:30: style: Parameter 'session' can be declared as pointer to const. However it seems that 'audio_flush' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:135:25: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:99:30: note: Parameter 'session' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/test/example.c:111:25: style: Parameter 'cls' can be declared as pointer to const. However it seems that 'raop_log_callback' is a callback function, if 'cls' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:145:31: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:111:25: note: Parameter 'cls' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/test/example.c:71:26: portability: 'buffer' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:71:31: portability: 'buffer+orig' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:83:26: portability: 'buffer' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:83:31: portability: 'buffer+orig' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:94:26: portability: 'buffer' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:94:31: portability: 'buffer+orig' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:149:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AO_FMT_NATIVE [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:168:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:282:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:338:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/test/main.c:113:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AO_FMT_LITTLE [valueFlowBailoutIncompleteVar] shairplay-0.9.0~git20180824.096b61a/src/test/main.c:156:20: style: Local variable 'hwaddr' shadows outer variable [shadowVariable] shairplay-0.9.0~git20180824.096b61a/src/test/main.c:17:22: note: Shadowed declaration shairplay-0.9.0~git20180824.096b61a/src/test/main.c:156:20: note: Shadow variable shairplay-0.9.0~git20180824.096b61a/src/test/main.c:45:16: style: Parameter 'data' can be declared as pointer to const. However it seems that 'photo_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/main.c:178:21: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/main.c:45:16: note: Parameter 'data' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/test/main.c:137:19: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'audio_flush' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/main.c:188:25: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/main.c:137:19: note: Parameter 'ptr' can be declared as pointer to const shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:381:9: style: Condition 'running' is always true [knownConditionTrueFalse] shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:380:12: note: Assignment 'running=1', assigned value is 1 shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:381:9: note: Condition 'running' is always true shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:259:8: style: Variable 'path' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:260:8: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:231:35: portability: 'buffer' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/plist.c:115:14: portability: Casting between const unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] shairplay-0.9.0~git20180824.096b61a/src/lib/plist.c:117:14: portability: Casting between const unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] shairplay-0.9.0~git20180824.096b61a/src/lib/plist.c:212:103: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/plist.c:738:39: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/plist.c:151:10: style: Unused variable: count [unusedVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/plist.c:396:17: style: Unused variable: plist_data [unusedVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:12:32: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:12:50: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:19:27: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:26:27: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:34:27: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:59:24: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:59:44: style: Parameter 'dword' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:157:22: style: Variable 'table1' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:158:22: style: Variable 'table2' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:159:22: style: Variable 'table3' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:160:22: style: Variable 'table4' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:209:19: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:223:22: style: Variable 'key0' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:235:22: style: Variable 'key1' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:244:22: style: Variable 'key2' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:245:22: style: Variable 'key3' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:271:19: style: Variable 'iv' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:310:84: style: Parameter 'iv' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:460:42: style: Parameter 'oldSap' can be declared as pointer to const [constParameterPointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:500:17: style: Variable 'md5Words' can be declared as pointer to const [constVariablePointer] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:204:18: style: Variable 'ptr1' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:205:18: style: Variable 'ptr2' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:206:18: style: Variable 'ptr3' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:207:18: style: Variable 'ptr4' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:209:26: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:379:19: style: Unused variable: word [unusedVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:464:18: style: Unused variable: Q [unusedVariable] shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:468:18: style: Unused variable: otherHash [unusedVariable] diff: head shairplay-0.9.0~git20180824.096b61a/src/lib/base64.c:168:8: style: Variable 'srcptr' can be declared as pointer to const [constVariablePointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:356:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:414:11: style: Condition 'd>1' is always true [knownConditionTrueFalse] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:408:9: note: Assignment 'd=(comp)((long_comp)4294967296ULL/(v->comps[v->size-1]+1))', assigned value is greater than 4294967295 shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:414:11: note: Condition 'd>1' is always true 2.13.0 shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:414:11: style: Condition 'd>1' is always true [knownConditionTrueFalse] shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:408:9: note: Assignment 'd=(uint32_t)((uint64_t)4294967296ULL/(v->comps[v->size-1]+1))', assigned value is greater than 4294967295 shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:414:11: note: Condition 'd>1' is always true head shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:819:11: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/crypto/bigint.c:952:11: style: Variable 'x' can be declared as pointer to const [constVariablePointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:253:45: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:253:45: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:269:45: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:269:45: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:456:12: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:456:12: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:464:14: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:464:14: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:488:35: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:488:35: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:493:35: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:493:35: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:503:33: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:503:33: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:527:31: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.13.0 shairplay-0.9.0~git20180824.096b61a/src/lib/curve25519/curve25519-donna.c:527:31: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] head shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:16:28: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:16:75: style: Parameter 'res' can be declared as const array [constParameter] head shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:22:32: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:22:80: style: Parameter 'res' can be declared as const array [constParameter] head shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:28:30: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:28:79: style: Parameter 'output' can be declared as const array [constParameter] head shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:34:30: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/fairplay_dummy.c:9:25: style: Parameter 'logger' can be declared as pointer to const [constParameterPointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/httpd.c:178:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/lib/httpd.c:353:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/lib/httpd.c:385:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/lib/netutils.c:144:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/lib/netutils.c:176:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/lib/pairing.c:205:28: error: Uninitialized variable: sig_buffer [uninitvar] head shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:59:24: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/playfair/omg_hax.c:59:44: style: Parameter 'dword' can be declared as pointer to const [constParameterPointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/raop_buffer.c:116:55: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] head shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:22:32: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'raop_handler_none' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/lib/raop.c:226:14: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:22:32: note: Parameter 'conn' can be declared as pointer to const head shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:23:35: style: Parameter 'request' can be declared as pointer to const. However it seems that 'raop_handler_none' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/lib/raop.c:226:14: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:23:35: note: Parameter 'request' can be declared as pointer to const head shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:23:61: style: Parameter 'response' can be declared as pointer to const. However it seems that 'raop_handler_none' is a callback function, if 'response' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/lib/raop.c:226:14: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:23:61: note: Parameter 'response' can be declared as pointer to const head shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:24:46: style: Parameter 'response_datalen' can be declared as pointer to const. However it seems that 'raop_handler_none' is a callback function, if 'response_datalen' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/lib/raop.c:226:14: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/lib/raop_handlers.h:24:46: note: Parameter 'response_datalen' can be declared as pointer to const head shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:146:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable raop_callbacks_t [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:253:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:536:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/lib/raop_rtp.c:619:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:168:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:282:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/shairplay.c:338:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head shairplay-0.9.0~git20180824.096b61a/src/test/example.c:111:25: style: Parameter 'cls' can be declared as pointer to const. However it seems that 'raop_log_callback' is a callback function, if 'cls' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:145:31: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:111:25: note: Parameter 'cls' can be declared as pointer to const head shairplay-0.9.0~git20180824.096b61a/src/test/example.c:54:18: style: Parameter 'cls' can be declared as pointer to const. However it seems that 'audio_init' is a callback function, if 'cls' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:130:24: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:54:18: note: Parameter 'cls' can be declared as pointer to const head shairplay-0.9.0~git20180824.096b61a/src/test/example.c:60:24: style: Parameter 'cls' can be declared as pointer to const. However it seems that 'audio_set_volume' is a callback function, if 'cls' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:131:30: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:60:24: note: Parameter 'cls' can be declared as pointer to const head shairplay-0.9.0~git20180824.096b61a/src/test/example.c:60:35: style: Parameter 'session' can be declared as pointer to const. However it seems that 'audio_set_volume' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:131:30: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:60:35: note: Parameter 'session' can be declared as pointer to const head shairplay-0.9.0~git20180824.096b61a/src/test/example.c:99:19: style: Parameter 'cls' can be declared as pointer to const. However it seems that 'audio_flush' is a callback function, if 'cls' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:135:25: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:99:19: note: Parameter 'cls' can be declared as pointer to const head shairplay-0.9.0~git20180824.096b61a/src/test/example.c:99:30: style: Parameter 'session' can be declared as pointer to const. However it seems that 'audio_flush' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/example.c:135:25: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/example.c:99:30: note: Parameter 'session' can be declared as pointer to const head shairplay-0.9.0~git20180824.096b61a/src/test/main.c:137:19: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'audio_flush' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] shairplay-0.9.0~git20180824.096b61a/src/test/main.c:188:25: note: You might need to cast the function pointer here shairplay-0.9.0~git20180824.096b61a/src/test/main.c:137:19: note: Parameter 'ptr' can be declared as pointer to const DONE