2022-06-29 20:24 ftp://ftp.de.debian.org/debian/pool/main/m/mongo-c-driver/mongo-c-driver_1.21.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j1 platform: Linux-4.4.0-19041-Microsoft-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.25 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 06b408e (2022-06-29 13:43:17 +0200) count: 284 284 elapsed-time: 12.1 9.7 head-timing-info: Tokenizer::simplifyTokens1: 4.82812s (avg. 0.0228821s - 211 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 3.26562s (avg. 0.0238367s - 137 result(s)) Tokenizer::createTokens: 0.828125s (avg. 0.00238653s - 347 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.5625s (avg. 0.00410584s - 137 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.15625s (avg. 0.00114051s - 137 result(s)) Overall time: 10.6875s old-timing-info: Tokenizer::simplifyTokens1: 5.1875s (avg. 0.0245853s - 211 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 3.57812s (avg. 0.0261177s - 137 result(s)) Tokenizer::createTokens: 0.84375s (avg. 0.00243156s - 347 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.578125s (avg. 0.00421989s - 137 result(s)) Check function usage::runChecks: 0.21875s (avg. 0.00159672s - 137 result(s)) Overall time: 11.5s head results: mongo-c-driver-1.21.2/src/common/common-prelude.h:19:0: error: #error "Only or can be included directly." [preprocessorErrorDirective] mongo-c-driver-1.21.2/src/kms-message/src/kms_crypto_none.c:33:19: style:inconclusive: Function 'kms_sha256' argument 1 names different: declaration 'ctx' definition 'unused_ctx'. [funcArgNamesDifferent] mongo-c-driver-1.21.2/src/kms-message/src/kms_crypto.h:44:19: note: Function 'kms_sha256' argument 1 names different: declaration 'ctx' definition 'unused_ctx'. mongo-c-driver-1.21.2/src/kms-message/src/kms_crypto_none.c:33:19: note: Function 'kms_sha256' argument 1 names different: declaration 'ctx' definition 'unused_ctx'. mongo-c-driver-1.21.2/src/kms-message/src/kms_crypto_none.c:43:24: style:inconclusive: Function 'kms_sha256_hmac' argument 1 names different: declaration 'ctx' definition 'unused_ctx'. [funcArgNamesDifferent] mongo-c-driver-1.21.2/src/kms-message/src/kms_crypto.h:47:24: note: Function 'kms_sha256_hmac' argument 1 names different: declaration 'ctx' definition 'unused_ctx'. mongo-c-driver-1.21.2/src/kms-message/src/kms_crypto_none.c:43:24: note: Function 'kms_sha256_hmac' argument 1 names different: declaration 'ctx' definition 'unused_ctx'. mongo-c-driver-1.21.2/src/kms-message/src/kms_response.c:23:39: style:inconclusive: Function 'kms_response_destroy' argument 1 names different: declaration 'reply' definition 'response'. [funcArgNamesDifferent] mongo-c-driver-1.21.2/src/kms-message/src/kms_message/kms_response.h:30:61: note: Function 'kms_response_destroy' argument 1 names different: declaration 'reply' definition 'response'. mongo-c-driver-1.21.2/src/kms-message/src/kms_response.c:23:39: note: Function 'kms_response_destroy' argument 1 names different: declaration 'reply' definition 'response'. mongo-c-driver-1.21.2/src/kms-message/src/kms_response.c:34:40: style:inconclusive: Function 'kms_response_get_body' argument 1 names different: declaration 'reply' definition 'response'. [funcArgNamesDifferent] mongo-c-driver-1.21.2/src/kms-message/src/kms_message/kms_response.h:29:40: note: Function 'kms_response_get_body' argument 1 names different: declaration 'reply' definition 'response'. mongo-c-driver-1.21.2/src/kms-message/src/kms_response.c:34:40: note: Function 'kms_response_get_body' argument 1 names different: declaration 'reply' definition 'response'. mongo-c-driver-1.21.2/src/kms-message/src/sort.c:72:10: style: Variable 'u' is assigned a value that is never used. [unreadVariable] mongo-c-driver-1.21.2/src/kms-message/test/test_kms_request.c:292:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mongo-c-driver-1.21.2/src/kms-message/test/test_kms_request.c:294:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mongo-c-driver-1.21.2/src/kms-message/test/test_kms_request.c:454:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] mongo-c-driver-1.21.2/src/libbson/examples/bcon-col-view.c:85:11: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libbson/examples/bson-validate.c:80:13: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mongo-c-driver-1.21.2/src/libbson/examples/bson-validate.c:80:13: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mongo-c-driver-1.21.2/src/libbson/src/bson/bson-prelude.h:18:0: error: #error "Only can be included directly." [preprocessorErrorDirective] mongo-c-driver-1.21.2/src/libbson/src/bson/bson-macros.h:38:0: error: #error "Unknown operating system." [preprocessorErrorDirective] mongo-c-driver-1.21.2/src/libbson/tests/test-atomic.c:83:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libbson/tests/test-b64.c:36:33: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libbson/tests/test-bcon-basic.c:622:22: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libbson/tests/test-bcon-extract.c:397:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libbson/tests/test-bcon-extract.c:400:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libbson/tests/test-bcon-extract.c:403:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libbson/tests/test-bson-corpus.c:61:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mongo-c-driver-1.21.2/src/libbson/tests/test-bson-corpus.c:61:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mongo-c-driver-1.21.2/src/libbson/tests/test-bson-error.c:29:31: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libbson/tests/test-bson-version.c:8:44: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libbson/tests/test-bson.c:64:28: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libbson/tests/test-clock.c:16:22: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libbson/tests/test-iter.c:66:22: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libbson/tests/test-json.c:53:23: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libbson/tests/test-oid.c:249:59: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libbson/tests/test-reader.c:54:22: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libbson/tests/test-string.c:182:35: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libbson/tests/test-writer.c:52:20: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/examples/client-side-encryption-schema-map.c:85:8: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] mongo-c-driver-1.21.2/src/libmongoc/src/mongoc/mongoc-prelude.h:18:0: error: #error "Only can be included directly." [preprocessorErrorDirective] mongo-c-driver-1.21.2/src/libmongoc/src/mongoc/mongoc-interrupt.c:263:1: style: Label 'fail' is not used. [unusedLabel] mongo-c-driver-1.21.2/src/libmongoc/src/mongoc/mongoc-interrupt.c:42:6: style: struct member '_mongoc_interrupt_t::impl' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/src/mongoc/mongoc-interrupt.c:44:21: style: struct member '_mongoc_interrupt_t::stream' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/src/mongoc/mongoc-interrupt.c:35:11: style: union member 'Anonymous0::pipe_fds' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/src/mongoc/mongoc-interrupt.c:41:9: style: union member 'Anonymous0::socket_pair' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/src/mongoc/mongoc-interrupt.c:39:27: style: struct member 'Anonymous1::read' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/src/mongoc/mongoc-interrupt.c:40:27: style: struct member 'Anonymous1::write' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/tests/TestSuite.c:270:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/TestSuite.c:280:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/TestSuite.c:369:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/TestSuite.c:566:25: style: Parameter 'count' can be declared as pointer to const [constParameter] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-match.c:287:53: error: Uninitialized variable: special_iter->keyword [uninitvar] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-match.c:31:23: style: struct member '_bson_matcher_t::specials' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:350:24: warning:inconclusive: Possible null pointer dereference: match [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:339:33: note: Assignment 'match=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:350:24: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:684:30: warning:inconclusive: Possible null pointer dereference: entry [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:673:33: note: Assignment 'entry=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:684:30: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:709:12: warning:inconclusive: Possible null pointer dereference: entry [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:673:33: note: Assignment 'entry=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:709:12: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:312:34: error: Uninitialized variables: entry.ptype, entry.optional, entry.out, entry.key, entry.set, entry.next [uninitvar] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:306:8: note: Assuming condition is false mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:312:34: note: Uninitialized variables: entry.ptype, entry.optional, entry.out, entry.key, entry.set, entry.next mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:43:33: style: struct member '_bson_parser_entry_t::next' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:47:25: style: struct member '_bson_parser_t::entries' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:48:9: style: struct member '_bson_parser_t::allow_extra' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-parser.c:49:12: style: struct member '_bson_parser_t::extra' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-val.c:25:12: style: struct member '_bson_val_t::as_bson' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/tests/bsonutil/bson-val.c:26:10: style: struct member '_bson_val_t::as_string' is never used. [unusedStructMember] mongo-c-driver-1.21.2/src/libmongoc/tests/json-test-operations.c:2132:12: style: Local variable 'count' shadows outer function [shadowFunction] mongo-c-driver-1.21.2/src/libmongoc/tests/json-test-operations.c:1246:1: note: Shadowed declaration mongo-c-driver-1.21.2/src/libmongoc/tests/json-test-operations.c:2132:12: note: Shadow variable mongo-c-driver-1.21.2/src/libmongoc/tests/json-test-operations.c:2229:13: style: Local variable 'count' shadows outer function [shadowFunction] mongo-c-driver-1.21.2/src/libmongoc/tests/json-test-operations.c:1246:1: note: Shadowed declaration mongo-c-driver-1.21.2/src/libmongoc/tests/json-test-operations.c:2229:13: note: Shadow variable mongo-c-driver-1.21.2/src/libmongoc/tests/json-test-operations.c:102:18: style: Variable 'shutdown' is assigned a value that is never used. [unreadVariable] mongo-c-driver-1.21.2/src/libmongoc/tests/json-test.c:452:7: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/mock_server/mock-rs.c:549:1: error: There is an unknown macro here somewhere. Configuration is required. If MONGOC_PRINTF_FORMAT is a macro then please configure it. [unknownMacro] mongo-c-driver-1.21.2/src/libmongoc/tests/mock_server/mock-server.c:907:1: error: There is an unknown macro here somewhere. Configuration is required. If MONGOC_PRINTF_FORMAT is a macro then please configure it. [unknownMacro] mongo-c-driver-1.21.2/src/libmongoc/tests/mock_server/request.c:298:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/ssl-test.c:263:17: style: Variable 'riov.iov_len' is reassigned a value before the old one has been used. [redundantAssignment] mongo-c-driver-1.21.2/src/libmongoc/tests/ssl-test.c:184:17: note: riov.iov_len is assigned mongo-c-driver-1.21.2/src/libmongoc/tests/ssl-test.c:263:17: note: riov.iov_len is overwritten mongo-c-driver-1.21.2/src/libmongoc/tests/test-conveniences.c:1890:10: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-happy-eyeballs.c:310:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-libmongoc.c:2332:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-aggregate.c:36:7: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-aggregate.c:55:7: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-aggregate.c:103:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-async.c:73:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-aws.c:272:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-aws.c:278:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-aws.c:285:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:63:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:64:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:66:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:67:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:736:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:761:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:789:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:821:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:843:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:863:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:883:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:917:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:939:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:978:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1018:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1053:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1092:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1110:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1133:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1135:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1137:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1139:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1141:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1146:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1148:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1150:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1152:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1156:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1159:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1161:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1164:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1167:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1171:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1174:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1177:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1180:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1183:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1188:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1192:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-background-monitoring.c:1196:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-buffer.c:24:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-bulk.c:60:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-change-stream.c:1229:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-client-pool.c:116:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-client-session.c:665:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-client-side-encryption.c:449:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-client.c:728:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-cluster.c:197:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-cmd.c:64:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-cmd.c:85:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:63:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:536:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:561:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:616:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:672:7: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:726:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:779:7: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:847:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:849:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:852:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:855:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:859:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:861:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:865:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:867:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:869:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:871:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:874:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:878:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:880:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:882:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:884:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:886:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:888:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:890:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:892:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:894:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:898:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:902:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:904:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:906:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:909:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:911:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:914:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find-with-opts.c:917:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection-find.c:876:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-collection.c:621:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-command-monitoring.c:242:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-crud.c:36:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-crud.c:44:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-crud.c:170:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-crud.c:178:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-cursor.c:73:10: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-cyrus.c:84:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-database.c:937:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-dns.c:645:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-error.c:88:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-error.c:247:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-error.c:249:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-error.c:251:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-exhaust.c:183:7: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-find-and-modify.c:360:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-generation-map.c:33:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-gridfs-bucket.c:123:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-gridfs-file-page.c:197:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-gridfs.c:74:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-handshake.c:423:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-hedged-reads.c:58:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-hedged-reads.c:80:7: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-hedged-reads.c:104:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-http.c:54:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-interrupt.c:87:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-loadbalanced.c:139:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-log.c:90:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-long-namespace.c:97:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-max-staleness.c:34:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-mongohouse.c:297:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-mongohouse.c:303:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-mongohouse.c:310:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-mongohouse.c:317:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-mongos-pinning.c:188:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-mongos-pinning.c:198:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-opts.c:850:20: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-opts.c:852:20: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-opts.c:1003:7: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-primary-stepdown.c:188:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-queue.c:18:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-concern.c:200:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:47:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:97:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:137:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:726:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:807:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:890:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:892:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:895:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:898:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:900:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:902:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:905:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:907:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:909:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:911:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:914:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:916:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:919:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:922:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:924:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-prefs.c:926:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-read-write-concern.c:16:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-retryable-reads.c:59:21: style: Variable 'explicit_session' is reassigned a value before the old one has been used. [redundantAssignment] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-retryable-reads.c:57:21: note: explicit_session is assigned mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-retryable-reads.c:59:21: note: explicit_session is overwritten mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-retryable-reads.c:285:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-retryable-reads.c:299:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-retryable-reads.c:307:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-retryable-writes.c:659:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-rpc.c:144:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-sample-commands.c:1893:10: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-scram.c:240:7: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-scram.c:638:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-scram.c:646:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-scram.c:655:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-sdam-monitoring.c:782:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-sdam.c:98:10: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-server-description.c:277:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-server-selection-errors.c:200:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-server-stream.c:84:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-server-stream.c:139:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-server-stream.c:156:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-server-stream.c:217:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-server-stream.c:237:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-server-stream.c:265:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-server-stream.c:271:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-shared.c:48:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-socket.c:162:10: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-stream-tls.c:28:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-stream.c:143:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-streamable-hello.c:147:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-thread.c:36:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-topology-description.c:142:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-topology-reconcile.c:162:7: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-topology-scanner.c:45:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-topology.c:382:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-transactions.c:312:7: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-ts-pool.c:29:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-uri.c:118:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-usleep.c:15:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-version.c:8:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-with-transaction.c:82:4: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-write-commands.c:149:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/test-mongoc-write-concern.c:566:4: error: syntax error [syntaxError] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:944:24: warning:inconclusive: Possible null pointer dereference: entity [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:941:23: note: Assignment 'entity=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:944:24: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1310:48: warning:inconclusive: Possible null pointer dereference: eiter [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1305:21: note: Assignment 'eiter=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1310:48: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1311:11: warning:inconclusive: Possible null pointer dereference: eiter [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1305:21: note: Assignment 'eiter=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1311:11: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1314:11: warning:inconclusive: Possible null pointer dereference: eiter [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1305:21: note: Assignment 'eiter=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1314:11: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1317:11: warning:inconclusive: Possible null pointer dereference: eiter [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1305:21: note: Assignment 'eiter=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1317:11: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1320:11: warning:inconclusive: Possible null pointer dereference: eiter [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1305:21: note: Assignment 'eiter=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1320:11: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1391:24: warning:inconclusive: Possible null pointer dereference: eiter [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1387:22: note: Assignment 'eiter=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1391:24: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:49:35: style:inconclusive: Function 'entity_map_destroy' argument 1 names different: declaration 'em' definition 'entity_map'. [funcArgNamesDifferent] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.h:64:35: note: Function 'entity_map_destroy' argument 1 names different: declaration 'em' definition 'entity_map'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:49:35: note: Function 'entity_map_destroy' argument 1 names different: declaration 'em' definition 'entity_map'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:803:34: style:inconclusive: Function 'entity_map_create' argument 1 names different: declaration 'em' definition 'entity_map'. [funcArgNamesDifferent] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.h:69:34: note: Function 'entity_map_create' argument 1 names different: declaration 'em' definition 'entity_map'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:803:34: note: Function 'entity_map_create' argument 1 names different: declaration 'em' definition 'entity_map'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:939:31: style:inconclusive: Function 'entity_map_get' argument 1 names different: declaration 'em' definition 'entity_map'. [funcArgNamesDifferent] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.h:95:31: note: Function 'entity_map_get' argument 1 names different: declaration 'em' definition 'entity_map'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:939:31: note: Function 'entity_map_get' argument 1 names different: declaration 'em' definition 'entity_map'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1151:25: style:inconclusive: Function 'entity_findcursor_iterate_until_document_or_error' argument 1 names different: declaration 'cursor' definition 'findcursor'. [funcArgNamesDifferent] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.h:129:25: note: Function 'entity_findcursor_iterate_until_document_or_error' argument 1 names different: declaration 'cursor' definition 'findcursor'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:1151:25: note: Function 'entity_findcursor_iterate_until_document_or_error' argument 1 names different: declaration 'cursor' definition 'findcursor'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/entity-map.c:54:23: error: Uninitialized variables: entity.id, entity.type, entity.value, entity.ignore_command_monitoring_events, entity.observe_sensitive_commands, entity.next, entity.events, entity.lsid, entity.session_client_id [uninitvar] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/operation.c:2548:38: style:inconclusive: Function 'operation_run' argument 2 names different: declaration 'bson' definition 'op_bson'. [funcArgNamesDifferent] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/operation.h:24:38: note: Function 'operation_run' argument 2 names different: declaration 'bson' definition 'op_bson'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/operation.c:2548:38: note: Function 'operation_run' argument 2 names different: declaration 'bson' definition 'op_bson'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/result.c:313:40: style:inconclusive: Function 'result_from_val_and_reply' argument 2 names different: declaration 'value' definition 'val'. [funcArgNamesDifferent] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/result.h:58:40: note: Function 'result_from_val_and_reply' argument 2 names different: declaration 'value' definition 'val'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/result.c:313:40: note: Function 'result_from_val_and_reply' argument 2 names different: declaration 'value' definition 'val'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/runner.c:172:57: warning:inconclusive: Possible null pointer dereference: iter [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/runner.c:162:24: note: Assignment 'iter=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/unified/runner.c:172:57: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/unified/runner.c:148:27: style:inconclusive: Function 'register_failpoint' argument 2 names different: declaration 'failpoint' definition 'name'. [funcArgNamesDifferent] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/runner.h:69:27: note: Function 'register_failpoint' argument 2 names different: declaration 'failpoint' definition 'name'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/runner.c:148:27: note: Function 'register_failpoint' argument 2 names different: declaration 'failpoint' definition 'name'. mongo-c-driver-1.21.2/src/libmongoc/tests/unified/runner.c:506:26: error: Uninitialized variables: fpiter.client_id, fpiter.name, fpiter.server_id, fpiter.next [uninitvar] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/test-diagnostics.c:55:32: warning:inconclusive: Possible null pointer dereference: msg_iter [nullPointer] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/test-diagnostics.c:40:22: note: Assignment 'msg_iter=NULL', assigned value is 0 mongo-c-driver-1.21.2/src/libmongoc/tests/unified/test-diagnostics.c:55:32: note: Null pointer dereference mongo-c-driver-1.21.2/src/libmongoc/tests/unified/util.c:84:11: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] mongo-c-driver-1.21.2/src/libmongoc/tests/unified/util.c:80:8: note: i is assigned mongo-c-driver-1.21.2/src/libmongoc/tests/unified/util.c:84:11: note: i is overwritten diff: head mongo-c-driver-1.21.2/src/libmongoc/tests/TestSuite.c:566:25: style: Parameter 'count' can be declared as pointer to const [constParameter] 2.8 mongo-c-driver-1.21.2/src/libmongoc/tests/TestSuite.c:566:25: style: Parameter 'count' can be declared with const [constParameter] DONE