python-awscrt-0.27.2-4.fc44

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-3nIqRL/src.c: scope_hint: In function ‘main’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-3nIqRL/src.c:5:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-3nIqRL/src.c:2: included_from: Included from here.
/usr/include/execinfo.h:27:12: note: argument 1 of ‘backtrace’ must be non-null

Error: COMPILER_WARNING: [#def2]
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-Ep50s0/src.c:3:17: warning: ‘_GNU_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition

Error: COMPILER_WARNING: [#def3]
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-MY95Yb/src.c:3:17: warning: ‘_GNU_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4]
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-MY95Yb/src.c: scope_hint: In function ‘main’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-MY95Yb/src.c:13:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘thread_id’

Error: COMPILER_WARNING: [#def5]
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-RmTgcm/src.c:3:17: warning: ‘_GNU_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition

Error: COMPILER_WARNING: [#def6]
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-WhgrX6/CheckSymbolExists.c:2:22: warning: extra tokens at end of ‘#include’ directive

Error: COMPILER_WARNING: [#def7]
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-tes3R7/src.c:3:17: warning: ‘_GNU_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition

Error: GCC_ANALYZER_WARNING (CWE-457): [#def8]
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-tes3R7/src.c: scope_hint: In function ‘main’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/CMakeFiles/CMakeScratch/TryCompile-tes3R7/src.c:14:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘thread_id’

Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
awscrt-0.27.2/crt/aws-c-auth/source/aws_imds_client.c: scope_hint: In function ‘s_complete_pending_queries’
awscrt-0.27.2/crt/aws-c-auth/source/aws_imds_client.c:826:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘requester’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/stdint.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/allocator.h:10: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/common.h:12: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/byte_buf.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-io/include/aws/io/io.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-auth/source/aws_imds_client.c:966:5: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-auth/source/aws_imds_client.c: scope_hint: In function ‘s_complete_pending_queries’
awscrt-0.27.2/crt/aws-c-auth/source/aws_imds_client.c: scope_hint: In function ‘s_complete_pending_queries’
#  824|   
#  825|           bool should_continue = true;
#  826|->         if (requester->imds_token_required && !token_required) {
#  827|               if (requester->is_fallback_request) {
#  828|                   AWS_LOGF_ERROR(

Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
awscrt-0.27.2/crt/aws-c-auth/source/credentials_provider_cached.c: scope_hint: In function ‘s_aws_credentials_query_list_notify_and_clean_up’
awscrt-0.27.2/crt/aws-c-auth/source/credentials_provider_cached.c:45:9: warning[-Wanalyzer-jump-through-null]: jump through null pointer
awscrt-0.27.2/crt/aws-c-auth/source/credentials_provider_cached.c: scope_hint: In function ‘s_aws_credentials_query_list_notify_and_clean_up’
#   43|           struct aws_linked_list_node *node = aws_linked_list_pop_front(query_list);
#   44|           struct aws_credentials_query *query = AWS_CONTAINER_OF(node, struct aws_credentials_query, node);
#   45|->         query->callback(credentials, error_code, query->user_data);
#   46|           aws_credentials_query_clean_up(query);
#   47|           aws_mem_release(allocator, query);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
awscrt-0.27.2/crt/aws-c-auth/source/credentials_provider_ecs.c: scope_hint: In function ‘s_is_valid_remote_host_ip’
awscrt-0.27.2/crt/aws-c-auth/source/credentials_provider_ecs.c:565:78: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘host_address’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.h:236: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_is_valid_remote_host_ip’
#  563|   static bool s_is_valid_remote_host_ip(const struct aws_host_address *host_address) {
#  564|       bool result = false;
#  565|->     struct aws_byte_cursor address = aws_byte_cursor_from_string(host_address->address);
#  566|       if (host_address->record_type == AWS_ADDRESS_RECORD_TYPE_A) {
#  567|           const struct aws_byte_cursor ipv4_loopback_address_prefix = aws_byte_cursor_from_c_str("127.");

Error: GCC_ANALYZER_WARNING (CWE-457): [#def12]
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.h:236: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/byte_buf.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/source/byte_buf.c:6: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘aws_array_list_set_at’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:391:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘val’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/allocator.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/common.h:12: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:87:53: note: in definition of macro ‘AWS_UNLIKELY’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:87:53: note: in definition of macro ‘AWS_UNLIKELY’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/stdint.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/allocator.h:10: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:389:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:389:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
#  389|       AWS_FATAL_PRECONDITION(list->data);
#  390|   
#  391|->     memcpy((void *)((uint8_t *)list->data + (list->item_size * index)), val, list->item_size);
#  392|   
#  393|       /*

Error: GCC_ANALYZER_WARNING (CWE-404): [#def13]
awscrt-0.27.2/crt/aws-c-common/include/aws/common/common.h:14: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/source/byte_buf.c: scope_hint: In function ‘aws_byte_buf_init_cache_and_update_cursors’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/error.h:18:20: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
awscrt-0.27.2/crt/aws-c-common/source/byte_buf.c:177:20: note: in expansion of macro ‘AWS_OP_ERR’
awscrt-0.27.2/crt/aws-c-common/source/byte_buf.c:177:20: note: in expansion of macro ‘AWS_OP_ERR’
#   16|   
#   17|   #define AWS_OP_SUCCESS (0)
#   18|-> #define AWS_OP_ERR (-1)
#   19|   
#   20|   /* Each library gets space for 2^^10 error entries */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.inl:170:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.inl: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-io/include/aws/io/logging.h:11: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:196:42: note: in expansion of macro ‘AWS_LOGF’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c:1643:9: note: in expansion of macro ‘AWS_LOGF_DEBUG’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics.inl:135: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_queue_requests_threaded’
#  168|   AWS_STATIC_IMPL struct aws_linked_list_node *aws_linked_list_next(const struct aws_linked_list_node *node) {
#  169|       AWS_PRECONDITION(aws_linked_list_node_next_is_valid(node));
#  170|->     struct aws_linked_list_node *rval = node->next;
#  171|       AWS_POSTCONDITION(aws_linked_list_node_next_is_valid(node));
#  172|       AWS_POSTCONDITION(aws_linked_list_node_prev_is_valid(rval));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.h:192: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-io/include/aws/io/io.h:10: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-http/include/aws/http/http.h:11: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-http/include/aws/http/connection_manager.h:9: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-http/source/connection_manager.c:6: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.inl: scope_hint: In function ‘aws_linked_list_remove’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.inl:263:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.inl: scope_hint: In function ‘aws_linked_list_remove’
#  261|       AWS_PRECONDITION(aws_linked_list_node_prev_is_valid(node));
#  262|       AWS_PRECONDITION(aws_linked_list_node_next_is_valid(node));
#  263|->     node->prev->next = node->next;
#  264|       node->next->prev = node->prev;
#  265|       aws_linked_list_node_reset(node);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.h:192: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/task_scheduler.h:10: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/source/thread_scheduler.c:9: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.inl: scope_hint: In function ‘aws_linked_list_remove’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.inl:264:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics.inl:135: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_linked_list_remove’
awscrt-0.27.2/crt/aws-c-common/source/thread_scheduler.c: scope_hint: In function ‘aws_linked_list_remove’
awscrt-0.27.2/crt/aws-c-common/source/thread_scheduler.c: scope_hint: In function ‘aws_linked_list_remove’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/stdint.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/allocator.h:10: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/common.h:12: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/clock.h:9: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/source/thread_scheduler.c:5: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/source/thread_scheduler.c: scope_hint: In function ‘aws_linked_list_remove’
awscrt-0.27.2/crt/aws-c-common/source/thread_scheduler.c:71:9: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/source/thread_scheduler.c: scope_hint: In function ‘aws_linked_list_remove’
awscrt-0.27.2/crt/aws-c-common/source/thread_scheduler.c: scope_hint: In function ‘aws_linked_list_remove’
awscrt-0.27.2/crt/aws-c-common/source/thread_scheduler.c:74:9: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.inl: scope_hint: In function ‘aws_linked_list_remove’
#  262|       AWS_PRECONDITION(aws_linked_list_node_next_is_valid(node));
#  263|       node->prev->next = node->next;
#  264|->     node->next->prev = node->prev;
#  265|       aws_linked_list_node_reset(node);
#  266|       AWS_POSTCONDITION(node->next == NULL && node->prev == NULL);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def17]
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:149:37: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*socket.io_handle.data.fd’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:190:41: note: in expansion of macro ‘AWS_LOGF’
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c:987:9: note: in expansion of macro ‘AWS_LOGF_INFO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:190:41: note: in expansion of macro ‘AWS_LOGF’
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c:987:9: note: in expansion of macro ‘AWS_LOGF_INFO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:190:41: note: in expansion of macro ‘AWS_LOGF’
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c:987:9: note: in expansion of macro ‘AWS_LOGF_INFO’
#  147|       do {                                                                                                               \
#  148|           AWS_ASSERT(log_level > 0);                                                                                     \
#  149|->         struct aws_logger *logger = aws_logger_get();                                                                  \
#  150|           if (logger != NULL && logger->vtable->get_log_level(logger, (subject)) >= (log_level)) {                       \
#  151|               logger->vtable->log(logger, log_level, subject, __VA_ARGS__);                                              \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
awscrt-0.27.2/crt/aws-c-common/source/allocator_sba.c:106:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
awscrt-0.27.2/crt/aws-c-common/source/allocator_sba.c: scope_hint: In function ‘s_sba_alloc_from_bin’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/stdint.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/allocator.h:10: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/source/allocator_sba.c:6: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/source/allocator_sba.c:398:9: note: in expansion of macro ‘AWS_FATAL_ASSERT’
#  104|       /* insert the header at the base of the page and advance past it */
#  105|       struct page_header *page = (struct page_header *)addr;
#  106|->     page->tag = page->tag2 = AWS_SBA_TAG_VALUE;
#  107|       page->bin = bin;
#  108|       page->alloc_count = 0;

Error: COMPILER_WARNING: [#def19]
awscrt-0.27.2/crt/aws-c-common/source/arch/intel/encoding_avx2.c: scope_hint: In function ‘translate_range’
awscrt-0.27.2/crt/aws-c-common/source/arch/intel/encoding_avx2.c:22:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
awscrt-0.27.2/crt/aws-c-common/source/arch/intel/encoding_avx2.c:22:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   20|    * out.
#   21|    */
#   22|-> static inline __m256i translate_range(__m256i in, uint8_t lo, uint8_t hi, uint8_t offset) {
#   23|       __m256i lovec = _mm256_set1_epi8(lo);
#   24|       __m256i hivec = _mm256_set1_epi8((char)(hi - lo));

Error: GCC_ANALYZER_WARNING (CWE-688): [#def20]
awscrt-0.27.2/crt/aws-c-common/source/byte_buf.c: scope_hint: In function ‘aws_byte_cursor_find_exact’
awscrt-0.27.2/crt/aws-c-common/source/byte_buf.c:311:40: warning[-Wanalyzer-null-argument]: use of NULL ‘working_cur.ptr’ where non-null expected
awscrt-0.27.2/crt/aws-c-common/include/aws/common/zero.h:12: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/common.h:20: included_from: Included from here.
/usr/include/string.h:107:14: note: argument 1 of ‘memchr’ must be non-null
#  309|   
#  310|       while (working_cur.len) {
#  311|->         uint8_t *first_char_location = memchr(working_cur.ptr, (char)*to_find->ptr, working_cur.len);
#  312|   
#  313|           if (!first_char_location) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def21]
awscrt-0.27.2/crt/aws-c-common/source/byte_buf.c:323:14: warning[-Wanalyzer-null-argument]: use of NULL ‘working_cur.ptr’ where non-null expected
/usr/include/string.h:64:12: note: argument 1 of ‘memcmp’ must be non-null
#  321|           }
#  322|   
#  323|->         if (!memcmp(working_cur.ptr, to_find->ptr, to_find->len)) {
#  324|               *first_find = working_cur;
#  325|               return AWS_OP_SUCCESS;

Error: CPPCHECK_WARNING (CWE-457): [#def22]
awscrt-0.27.2/crt/aws-c-common/source/external/libcbor/cbor/internal/unicode.c:62: warning[uninitvar]: Uninitialized variable: *codep
#   60|     uint32_t type = utf8d[byte];
#   61|   
#   62|->   *codep = (*state != UTF8_ACCEPT) ? (byte & 0x3fu) | (*codep << 6)
#   63|                                      : (0xff >> type) & (byte);
#   64|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
awscrt-0.27.2/crt/aws-c-common/source/process_common.c: scope_hint: In function ‘aws_run_command’
awscrt-0.27.2/crt/aws-c-common/source/process_common.c:69:20: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(*options.command, "r")’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/stdint.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/allocator.h:10: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/common.h:12: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/process.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/source/process_common.c:6: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/source/process_common.c:47:5: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/source/process_common.c:48:5: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/source/process_common.c:48:5: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/source/process_common.c:49:5: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/source/process_common.c:49:5: note: in expansion of macro ‘AWS_FATAL_ASSERT’
#   67|               if (fgets(output_buffer, MAX_BUFFER_SIZE, output_stream) != NULL) {
#   68|                   struct aws_byte_cursor cursor = aws_byte_cursor_from_c_str(output_buffer);
#   69|->                 if (aws_byte_buf_append_dynamic(&result_buffer, &cursor)) {
#   70|                       goto on_finish;
#   71|                   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
awscrt-0.27.2/crt/aws-c-common/include/aws/common/stdint.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/allocator.h:10: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/common.h:12: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-event-stream/include/aws/event-stream/event_stream.h:9: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:6: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c: scope_hint: In function ‘aws_event_stream_compute_headers_required_buffer_len’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:138:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘header’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.h:236: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘aws_event_stream_compute_headers_required_buffer_len’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/math.h:191: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.h:9: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c: scope_hint: In function ‘aws_event_stream_compute_headers_required_buffer_len’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c: scope_hint: In function ‘aws_event_stream_compute_headers_required_buffer_len’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c: scope_hint: In function ‘aws_event_stream_compute_headers_required_buffer_len’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c: scope_hint: In function ‘aws_event_stream_compute_headers_required_buffer_len’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
#  136|               "integer overflow occurred computing total headers length.");
#  137|           AWS_FATAL_ASSERT(
#  138|->             !aws_add_size_checked(headers_len, header->header_name_len + 1, &headers_len) &&
#  139|               "integer overflow occurred computing total headers length.");
#  140|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c: scope_hint: In function ‘aws_event_stream_write_headers_to_buffer_safe’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:173:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘header’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:154:15: note: in definition of macro ‘AWS_RETURN_ERROR_IF_IMPL’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:160:41: note: in expansion of macro ‘AWS_RETURN_ERROR_IF3’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_RETURN_ERROR_IF2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:161:34: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:172:9: note: in expansion of macro ‘AWS_RETURN_ERROR_IF’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:160:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘aws_event_stream_write_headers_to_buffer_safe’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:159:54: note: in expansion of macro ‘AWS_RETURN_ERROR_IF_IMPL’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:160:41: note: in expansion of macro ‘AWS_RETURN_ERROR_IF3’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_RETURN_ERROR_IF2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:161:34: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:172:9: note: in expansion of macro ‘AWS_RETURN_ERROR_IF’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:154:15: note: in definition of macro ‘AWS_RETURN_ERROR_IF_IMPL’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:160:41: note: in expansion of macro ‘AWS_RETURN_ERROR_IF3’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_RETURN_ERROR_IF2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:161:34: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:174:9: note: in expansion of macro ‘AWS_RETURN_ERROR_IF’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:159:54: note: in expansion of macro ‘AWS_RETURN_ERROR_IF_IMPL’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:160:41: note: in expansion of macro ‘AWS_RETURN_ERROR_IF3’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_RETURN_ERROR_IF2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:161:34: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:174:9: note: in expansion of macro ‘AWS_RETURN_ERROR_IF’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:154:15: note: in definition of macro ‘AWS_RETURN_ERROR_IF_IMPL’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:160:41: note: in expansion of macro ‘AWS_RETURN_ERROR_IF3’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_RETURN_ERROR_IF2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:161:34: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:177:9: note: in expansion of macro ‘AWS_RETURN_ERROR_IF’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:159:54: note: in expansion of macro ‘AWS_RETURN_ERROR_IF_IMPL’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:160:41: note: in expansion of macro ‘AWS_RETURN_ERROR_IF3’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_RETURN_ERROR_IF2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:161:34: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:177:9: note: in expansion of macro ‘AWS_RETURN_ERROR_IF’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:154:15: note: in definition of macro ‘AWS_RETURN_ERROR_IF_IMPL’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:160:41: note: in expansion of macro ‘AWS_RETURN_ERROR_IF3’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_RETURN_ERROR_IF2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:161:34: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:172:9: note: in expansion of macro ‘AWS_RETURN_ERROR_IF’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:154:15: note: in definition of macro ‘AWS_RETURN_ERROR_IF_IMPL’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:160:41: note: in expansion of macro ‘AWS_RETURN_ERROR_IF3’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_RETURN_ERROR_IF2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:161:34: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:172:9: note: in expansion of macro ‘AWS_RETURN_ERROR_IF’
#  171|           aws_array_list_get_at_ptr(headers, (void **)&header, i);
#  172|           AWS_RETURN_ERROR_IF(
#  173|->             aws_byte_buf_write_u8(buf, header->header_name_len), AWS_ERROR_EVENT_STREAM_INSUFFICIENT_BUFFER_LEN);
#  174|           AWS_RETURN_ERROR_IF(
#  175|               aws_byte_buf_write(buf, (uint8_t *)header->header_name, (size_t)header->header_name_len),

Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c: scope_hint: In function ‘aws_event_stream_headers_list_cleanup.part.0’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c:662:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘header’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c: scope_hint: In function ‘aws_event_stream_headers_list_cleanup.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘aws_event_stream_headers_list_cleanup.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream.c: scope_hint: In function ‘aws_event_stream_headers_list_cleanup.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘aws_event_stream_headers_list_cleanup.part.0’
#  660|           aws_array_list_get_at_ptr(headers, (void **)&header, i);
#  661|   
#  662|->         if (header->value_owned) {
#  663|               aws_mem_release(headers->alloc, (void *)header->header_value.variable_len_val);
#  664|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream_rpc.c: scope_hint: In function ‘aws_event_stream_rpc_extract_message_metadata’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream_rpc.c:39:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘header’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-event-stream/include/aws/event-stream/event_stream.h:11: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream_rpc.c: scope_hint: In function ‘aws_event_stream_rpc_extract_message_metadata’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:202:42: note: in expansion of macro ‘AWS_LOGF’
awscrt-0.27.2/crt/aws-c-event-stream/source/event_stream_rpc.c:29:5: note: in expansion of macro ‘AWS_LOGF_TRACE’
#   37|   
#   38|           /* check type first since that's cheaper than a string compare */
#   39|->         if (header->header_value_type == AWS_EVENT_STREAM_HEADER_INT32) {
#   40|   
#   41|               struct aws_byte_buf stream_id_field = aws_byte_buf_from_array(

Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
awscrt-0.27.2/crt/aws-c-http/source/h2_frames.c: scope_hint: In function ‘s_frame_priority_settings_encode’
awscrt-0.27.2/crt/aws-c-http/source/h2_frames.c:222:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘priority’
#  220|   
#  221|       /* Write the top 4 bytes */
#  222|->     uint32_t top_bytes = priority->stream_dependency | ((uint32_t)priority->stream_dependency_exclusive << 31);
#  223|       writes_ok &= aws_byte_buf_write_be32(output, top_bytes);
#  224|   

Error: GCC_ANALYZER_WARNING (CWE-835): [#def29]
awscrt-0.27.2/crt/aws-c-http/source/hpack_decoder.c: scope_hint: In function ‘aws_hpack_decode’
awscrt-0.27.2/crt/aws-c-http/source/hpack_decoder.c:241:21: warning[-Wanalyzer-infinite-loop]: infinite loop
#  239|       /* Run state machine until we decode a complete entry.
#  240|        * Every state requires data, so we can simply loop until no more data available. */
#  241|->     while (to_decode->len) {
#  242|           switch (decoder->progress_entry.state) {
#  243|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
awscrt-0.27.2/crt/aws-c-http/source/http2_stream_manager.c: scope_hint: In function ‘s_sm_try_assign_connection_to_pending_stream_acquisition_synced’
awscrt-0.27.2/crt/aws-c-http/source/http2_stream_manager.c:164:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
awscrt-0.27.2/crt/aws-c-http/source/http2_stream_manager.c: scope_hint: In function ‘s_sm_try_assign_connection_to_pending_stream_acquisition_synced’
awscrt-0.27.2/crt/aws-c-http/source/http2_stream_manager.c: scope_hint: In function ‘s_sm_try_assign_connection_to_pending_stream_acquisition_synced’
#  162|           AWS_ASSERT(chosen_connection);
#  163|           pending_stream_acquisition->sm_connection = chosen_connection;
#  164|->         chosen_connection->num_streams_assigned++;
#  165|   
#  166|           STREAM_MANAGER_LOGF(

Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
awscrt-0.27.2/crt/aws-c-http/source/http2_stream_manager.c:216:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
awscrt-0.27.2/crt/aws-c-http/source/http2_stream_manager.c: scope_hint: In function ‘s_sm_try_assign_connection_to_pending_stream_acquisition_synced’
awscrt-0.27.2/crt/aws-c-http/source/http2_stream_manager.c: scope_hint: In function ‘s_sm_try_assign_connection_to_pending_stream_acquisition_synced’
#  214|               AWS_ASSERT(chosen_connection);
#  215|               pending_stream_acquisition->sm_connection = chosen_connection;
#  216|->             chosen_connection->num_streams_assigned++;
#  217|   
#  218|               STREAM_MANAGER_LOGF(

Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
awscrt-0.27.2/crt/aws-c-http/source/random_access_set.c: scope_hint: In function ‘aws_random_access_set_remove’
awscrt-0.27.2/crt/aws-c-http/source/random_access_set.c:137:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_element’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-http/source/random_access_set.c: scope_hint: In function ‘aws_random_access_set_remove’
#  135|           /* Update the last element index in the table */
#  136|           struct aws_hash_element *element_to_update = NULL;
#  137|->         assert_re = aws_hash_table_find(&set->impl->map, *(void **)last_element, &element_to_update);
#  138|           AWS_ASSERT(assert_re == AWS_OP_SUCCESS);
#  139|           AWS_ASSERT(element_to_update != NULL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
awscrt-0.27.2/crt/aws-c-io/source/channel.c: scope_hint: In function ‘s_schedule_cross_thread_tasks’
awscrt-0.27.2/crt/aws-c-io/source/channel.c:520:13: warning[-Wanalyzer-jump-through-null]: jump through null pointer
awscrt-0.27.2/crt/aws-c-io/source/channel.c: scope_hint: In function ‘s_schedule_cross_thread_tasks’
#  518|           if ((channel_task->wrapper_task.timestamp == 0) || (status == AWS_TASK_STATUS_CANCELED)) {
#  519|               /* Run "now" tasks, and canceled tasks, immediately */
#  520|->             channel_task->task_fn(channel_task, channel_task->arg, status);
#  521|           } else {
#  522|               /* "Future" tasks are scheduled with the event-loop. */

Error: GCC_ANALYZER_WARNING (CWE-126): [#def34]
awscrt-0.27.2/crt/aws-c-io/source/future.c: scope_hint: In function ‘s_future_impl_result_dtor’
awscrt-0.27.2/crt/aws-c-io/source/future.c:75:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
awscrt-0.27.2/crt/aws-c-io/source/future.c:5: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-io/include/aws/io/future.h:504:10: note: in definition of macro ‘AWS_FUTURE_T_BY_VALUE_IMPLEMENTATION’
awscrt-0.27.2/crt/aws-c-io/source/future.c:487:1: note: in expansion of macro ‘AWS_FUTURE_T_BY_VALUE_IMPLEMENTATION’
awscrt-0.27.2/crt/aws-c-io/source/future.c:487:1: note: in expansion of macro ‘AWS_FUTURE_T_BY_VALUE_IMPLEMENTATION’
awscrt-0.27.2/crt/aws-c-io/source/future.c:75:19: note: read of 7 bytes from after the end of ‘result’
#   73|   
#   74|           case AWS_FUTURE_T_POINTER_WITH_DESTROY: {
#   75|->             void *result = *(void **)result_addr;
#   76|               if (result) {
#   77|                   future->result_dtor.destroy(result);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def35]
awscrt-0.27.2/crt/aws-c-io/source/future.c:82:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
awscrt-0.27.2/crt/aws-c-io/include/aws/io/future.h:504:10: note: in definition of macro ‘AWS_FUTURE_T_BY_VALUE_IMPLEMENTATION’
awscrt-0.27.2/crt/aws-c-io/source/future.c:487:1: note: in expansion of macro ‘AWS_FUTURE_T_BY_VALUE_IMPLEMENTATION’
awscrt-0.27.2/crt/aws-c-io/source/future.c:487:1: note: in expansion of macro ‘AWS_FUTURE_T_BY_VALUE_IMPLEMENTATION’
awscrt-0.27.2/crt/aws-c-io/source/future.c:82:19: note: read of 7 bytes from after the end of ‘result’
#   80|   
#   81|           case AWS_FUTURE_T_POINTER_WITH_RELEASE: {
#   82|->             void *result = *(void **)result_addr;
#   83|               if (result) {
#   84|                   future->result_dtor.release(result);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
awscrt-0.27.2/crt/aws-c-io/source/host_resolver.c: scope_hint: In function ‘aws_host_address_clean_up’
awscrt-0.27.2/crt/aws-c-io/source/host_resolver.c:51:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘address’
awscrt-0.27.2/crt/aws-c-io/source/host_resolver.c: scope_hint: In function ‘aws_host_address_clean_up’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-io/source/host_resolver.c: scope_hint: In function ‘aws_host_address_clean_up’
#   49|   
#   50|   void aws_host_address_clean_up(struct aws_host_address *address) {
#   51|->     if (address->address) {
#   52|           aws_string_destroy((void *)address->address);
#   53|       }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def37]
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c: scope_hint: In function ‘s_socket_bind’
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c:935:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*socket.io_handle.data.fd’
awscrt-0.27.2/crt/aws-c-io/include/aws/io/logging.h:11: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c:15: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:190:41: note: in expansion of macro ‘AWS_LOGF’
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c:885:5: note: in expansion of macro ‘AWS_LOGF_INFO’
#  933|       }
#  934|   
#  935|->     if (bind(socket->io_handle.data.fd, (struct sockaddr *)&address.sock_addr_types, sock_size) != 0) {
#  936|           int errno_value = errno; /* Always cache errno before potential side-effect */
#  937|           AWS_LOGF_ERROR(

Error: GCC_ANALYZER_WARNING (CWE-775): [#def38]
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c: scope_hint: In function ‘s_socket_listen’
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c:986:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*socket.io_handle.data.fd’
#  984|       int error_code = listen(socket->io_handle.data.fd, backlog_size);
#  985|   
#  986|->     if (!error_code) {
#  987|           AWS_LOGF_INFO(
#  988|               AWS_LS_IO_SOCKET, "id=%p fd=%d: successfully listening", (void *)socket, socket->io_handle.data.fd);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def39]
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c: scope_hint: In function ‘s_socket_accept_event’
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c:1046:43: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(*handle.data.fd, & in_addr, & in_len)’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:196:42: note: in expansion of macro ‘AWS_LOGF’
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c:1043:13: note: in expansion of macro ‘AWS_LOGF_DEBUG’
# 1044|                   AWS_LS_IO_SOCKET, "id=%p fd=%d: incoming connection", (void *)socket, socket->io_handle.data.fd);
# 1045|   
# 1046|->             struct aws_socket *new_sock = aws_mem_calloc(socket->allocator, 1, sizeof(struct aws_socket));
# 1047|   
# 1048|               if (!new_sock) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c: scope_hint: In function ‘s_written_task’
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c:1711:13: warning[-Wanalyzer-jump-through-null]: jump through null pointer
awscrt-0.27.2/crt/aws-c-io/source/posix/socket.c: scope_hint: In function ‘s_written_task’
# 1709|               struct socket_write_request *write_request = AWS_CONTAINER_OF(node, struct socket_write_request, node);
# 1710|               size_t bytes_written = write_request->original_buffer_len - write_request->cursor_cpy.len;
# 1711|->             write_request->written_fn(socket, write_request->error_code, bytes_written, write_request->write_user_data);
# 1712|               aws_mem_release(socket_impl->allocator, write_request);
# 1713|               if (node == stop_after) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
awscrt-0.27.2/crt/aws-c-mqtt/source/client.c: scope_hint: In function ‘s_aws_mqtt_client_connection_311_subscribe_multiple’
awscrt-0.27.2/crt/aws-c-mqtt/source/client.c:2078:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-mqtt/source/client.c: scope_hint: In function ‘s_aws_mqtt_client_connection_311_subscribe_multiple’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-mqtt/source/client.c: scope_hint: In function ‘s_aws_mqtt_client_connection_311_subscribe_multiple’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.h:236: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/byte_buf.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-mqtt/include/aws/mqtt/client.h:11: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:24:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:25:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:25:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:26:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:26:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/common.h:20: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:28:5: note: in expansion of macro ‘AWS_ZERO_STRUCT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/math.h:191: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.h:9: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_aws_mqtt_client_connection_311_subscribe_multiple’
awscrt-0.27.2/crt/aws-c-mqtt/include/aws/mqtt/mqtt.h:10: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-mqtt/include/aws/mqtt/client.h:18: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:196:42: note: in expansion of macro ‘AWS_LOGF’
awscrt-0.27.2/crt/aws-c-mqtt/source/client.c:2053:5: note: in expansion of macro ‘AWS_LOGF_DEBUG’
# 2076|   
# 2077|           task_topic->connection = connection;
# 2078|->         task_topic->request = *request;
# 2079|   
# 2080|           task_topic->filter = aws_string_new_from_array(

Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
awscrt-0.27.2/crt/aws-c-mqtt/source/v5/mqtt5_encoder.c: scope_hint: In function ‘s_execute_encode_step’
awscrt-0.27.2/crt/aws-c-mqtt/source/v5/mqtt5_encoder.c:1048:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘step’
# 1046|       size_t buffer_room = buffer->capacity - buffer->len;
# 1047|   
# 1048|->     switch (step->type) {
# 1049|           case AWS_MQTT5_EST_U8:
# 1050|               if (buffer_room < 1) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
awscrt-0.27.2/crt/aws-c-mqtt/source/v5/mqtt5_to_mqtt3_adapter.c: scope_hint: In function ‘s_aws_mqtt5_to_mqtt3_adapter_build_resubscribe’
awscrt-0.27.2/crt/aws-c-mqtt/source/v5/mqtt5_to_mqtt3_adapter.c:2306:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘existing_subscription’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/allocator.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-mqtt/source/v5/mqtt5_to_mqtt3_adapter.c: scope_hint: In function ‘s_aws_mqtt5_to_mqtt3_adapter_build_resubscribe’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:95:72: note: in definition of macro ‘AWS_VARIABLE_LENGTH_ARRAY’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.h:236: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_aws_mqtt5_to_mqtt3_adapter_build_resubscribe’
# 2304|           aws_array_list_get_at_ptr(full_subscriptions, (void **)&existing_subscription, i);
# 2305|   
# 2306|->         multi_sub_subscriptions[i].topic = existing_subscription->topic_filter;
# 2307|           multi_sub_subscriptions[i].qos = (enum aws_mqtt_qos)existing_subscription->qos;
# 2308|           multi_sub_subscriptions[i].on_publish = existing_subscription->on_publish_received;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
awscrt-0.27.2/crt/aws-c-s3/source/s3_auto_ranged_put.c: scope_hint: In function ‘s_s3_auto_ranged_put_request_finished’
awscrt-0.27.2/crt/aws-c-s3/source/s3_auto_ranged_put.c:1619:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/stdint.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/allocator.h:10: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/common.h:12: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-common/include/aws/common/byte_buf.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-io/include/aws/io/io.h:8: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-io/include/aws/io/logging.h:9: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-auth/include/aws/auth/auth.h:11: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-auth/include/aws/auth/signing.h:9: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-s3/include/aws/s3/private/s3_meta_request_impl.h:9: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-s3/include/aws/s3/private/s3_auto_ranged_put.h:9: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-s3/source/s3_auto_ranged_put.c:6: included_from: Included from here.
awscrt-0.27.2/crt/aws-c-s3/source/s3_auto_ranged_put.c:1549:13: note: in expansion of macro ‘AWS_FATAL_ASSERT’
# 1617|                       AWS_ASSERT(part != NULL);
# 1618|                       AWS_ASSERT(part->etag == NULL);
# 1619|->                     part->etag = etag;
# 1620|                   } else {
# 1621|                       ++auto_ranged_put->synced_data.num_parts_failed;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def45]
awscrt-0.27.2/crt/aws-c-s3/source/s3_buffer_pool.c: scope_hint: In function ‘s_primary_acquire_synced’
awscrt-0.27.2/crt/aws-c-s3/source/s3_buffer_pool.c:341:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘block’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-s3/source/s3_buffer_pool.c: scope_hint: In function ‘s_primary_acquire_synced’
#  339|   
#  340|           for (size_t chunk_i = 0; chunk_i < s_chunks_per_block - chunks_needed + 1; ++chunk_i) {
#  341|->             if (!s_check_bits(block->alloc_bit_mask, chunk_i, chunks_needed)) {
#  342|                   alloc_ptr = block->block_ptr + chunk_i * buffer_pool->chunk_size;
#  343|                   block->alloc_bit_mask = s_set_bits(block->alloc_bit_mask, chunk_i, chunks_needed);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c:1944:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:196:42: note: in expansion of macro ‘AWS_LOGF’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c:1643:9: note: in expansion of macro ‘AWS_LOGF_DEBUG’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
# 1942|           if (request->is_noop) {
# 1943|               /* If request is no-op, finishes and cleans up the request */
# 1944|->             s_s3_client_meta_request_finished_request(client, request->meta_request, request, AWS_ERROR_SUCCESS);
# 1945|               request = aws_s3_request_release(request);
# 1946|           } else if (!request->always_send && aws_s3_meta_request_has_finish_result(request->meta_request)) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c:1946:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:196:42: note: in expansion of macro ‘AWS_LOGF’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c:1643:9: note: in expansion of macro ‘AWS_LOGF_DEBUG’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
# 1944|               s_s3_client_meta_request_finished_request(client, request->meta_request, request, AWS_ERROR_SUCCESS);
# 1945|               request = aws_s3_request_release(request);
# 1946|->         } else if (!request->always_send && aws_s3_meta_request_has_finish_result(request->meta_request)) {
# 1947|               /* Unless the request is marked "always send", if this meta request has a finish result, then finish the
# 1948|                * request now and release it. */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c:1952:68: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/linked_list.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/logging.h:196:42: note: in expansion of macro ‘AWS_LOGF’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c:1643:9: note: in expansion of macro ‘AWS_LOGF_DEBUG’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/atomics_gnu.inl: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
awscrt-0.27.2/crt/aws-c-s3/source/s3_client.c: scope_hint: In function ‘aws_s3_client_update_connections_threaded’
# 1950|               request = aws_s3_request_release(request);
# 1951|           } else if (
# 1952|->             s_s3_client_get_num_requests_network_io(client, request->meta_request->type) < max_active_connections) {
# 1953|               s_s3_client_create_connection_for_request(client, request);
# 1954|           } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
awscrt-0.27.2/crt/aws-c-s3/source/s3_copy_object.c: scope_hint: In function ‘s_s3_meta_request_copy_object_destroy’
awscrt-0.27.2/crt/aws-c-s3/source/s3_copy_object.c:126:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘part’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-s3/source/s3_copy_object.c: scope_hint: In function ‘s_s3_meta_request_copy_object_destroy’
#  124|           struct aws_s3_mpu_part_info *part = NULL;
#  125|           aws_array_list_get_at(&copy_object->synced_data.part_list, &part, part_index);
#  126|->         aws_string_destroy(part->etag);
#  127|           aws_byte_buf_clean_up(&part->checksum_base64);
#  128|           aws_mem_release(meta_request->allocator, part);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
awscrt-0.27.2/crt/aws-c-s3/source/s3_copy_object.c: scope_hint: In function ‘s_s3_copy_object_request_finished’
awscrt-0.27.2/crt/aws-c-s3/source/s3_copy_object.c:745:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
awscrt-0.27.2/crt/aws-c-s3/source/s3_copy_object.c:714:13: note: in expansion of macro ‘AWS_FATAL_ASSERT’
#  743|                   aws_array_list_get_at(&copy_object->synced_data.part_list, &part, part_index);
#  744|                   AWS_ASSERT(part != NULL);
#  745|->                 part->etag = etag;
#  746|   
#  747|               } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
awscrt-0.27.2/crt/aws-c-s3/source/s3express_credentials_provider.c: scope_hint: In function ‘s_on_request_finished’
awscrt-0.27.2/crt/aws-c-s3/source/s3express_credentials_provider.c:390:9: warning[-Wanalyzer-jump-through-null]: jump through null pointer
awscrt-0.27.2/crt/aws-c-s3/source/s3express_credentials_provider.c: scope_hint: In function ‘s_on_request_finished’
awscrt-0.27.2/crt/aws-c-s3/source/s3express_credentials_provider.c: scope_hint: In function ‘s_on_request_finished’
#  388|           struct aws_linked_list_node *node = aws_linked_list_pop_front(&pending_callbacks);
#  389|           struct aws_query_callback_node *callback_node = AWS_CONTAINER_OF(node, struct aws_query_callback_node, node);
#  390|->         callback_node->get_cred_callback(credentials, error_code, callback_node->get_cred_user_data);
#  391|           aws_mem_release(session_creator->allocator, callback_node);
#  392|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_clean_up_symbols’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c:92:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘element’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_clean_up_symbols’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_clean_up_symbols’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_clean_up_symbols’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_clean_up_symbols’
#   90|           aws_array_list_get_at_ptr(symbols, (void **)&element, i);
#   91|   
#   92|->         if (element->type == AWS_ENDPOINTS_REGEX_SYMBOL_ALTERNATION_GROUP) {
#   93|               aws_string_destroy(element->info.alternation);
#   94|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_validate_regex.part.0’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c:105:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘symbol’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_validate_regex.part.0’
#  103|           aws_array_list_get_at_ptr(&regex->symbols, (void **)&symbol, sym_idx);
#  104|   
#  105|->         if (symbol->type == AWS_ENDPOINTS_REGEX_SYMBOL_PLUS || symbol->type == AWS_ENDPOINTS_REGEX_SYMBOL_STAR) {
#  106|   
#  107|               /* first symbol */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c:118:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prev_symbol’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_validate_regex.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_validate_regex.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_validate_regex.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_validate_regex.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_validate_regex.part.0’
#  116|   
#  117|               /* reasonable symbol before */
#  118|->             enum regex_symbol_type prev_type = prev_symbol->type;
#  119|               if (!(prev_type == AWS_ENDPOINTS_REGEX_SYMBOL_DOT || prev_type == AWS_ENDPOINTS_REGEX_SYMBOL_DIGIT ||
#  120|                     prev_type == AWS_ENDPOINTS_REGEX_SYMBOL_ALPHA || prev_type == AWS_ENDPOINTS_REGEX_SYMBOL_CHAR ||

Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c:133:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_symbol’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_validate_regex.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_validate_regex.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_validate_regex.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_validate_regex.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_validate_regex.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_validate_regex.part.0’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_validate_regex.part.0’
#  131|                   aws_array_list_get_at_ptr(&regex->symbols, (void **)&next_symbol, sym_idx + 1);
#  132|   
#  133|->                 if (next_symbol->type != AWS_ENDPOINTS_REGEX_SYMBOL_CHAR || next_symbol->info.ch != '-') {
#  134|                       AWS_LOGF_ERROR(
#  135|                           AWS_LS_SDKUTILS_ENDPOINTS_REGEX,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_match_one’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c:343:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘symbol’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_match_one’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘s_match_one’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘s_match_one’
#  341|   
#  342|       uint8_t ch = text->ptr[0];
#  343|->     switch (symbol->type) {
#  344|           case AWS_ENDPOINTS_REGEX_SYMBOL_ALPHA:
#  345|               return aws_isalpha(ch);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c:393:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_symbol’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘aws_endpoints_regex_match’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘aws_endpoints_regex_match’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘aws_endpoints_regex_match’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl: scope_hint: In function ‘aws_endpoints_regex_match’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘aws_endpoints_regex_match’
#  391|               aws_array_list_get_at_ptr(&regex->symbols, (void **)&next_symbol, i + 1);
#  392|   
#  393|->             if (next_symbol->type == AWS_ENDPOINTS_REGEX_SYMBOL_STAR ||
#  394|                   next_symbol->type == AWS_ENDPOINTS_REGEX_SYMBOL_PLUS) {
#  395|                   if (next_symbol->type == AWS_ENDPOINTS_REGEX_SYMBOL_STAR) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘aws_endpoints_regex_match’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c:393:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘symbol’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘aws_endpoints_regex_match’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘aws_endpoints_regex_match’
#  391|               aws_array_list_get_at_ptr(&regex->symbols, (void **)&next_symbol, i + 1);
#  392|   
#  393|->             if (next_symbol->type == AWS_ENDPOINTS_REGEX_SYMBOL_STAR ||
#  394|                   next_symbol->type == AWS_ENDPOINTS_REGEX_SYMBOL_PLUS) {
#  395|                   if (next_symbol->type == AWS_ENDPOINTS_REGEX_SYMBOL_STAR) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c:407:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘symbol’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/crt/aws-c-common/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/crt/aws-c-sdkutils/source/endpoints_regex.c: scope_hint: In function ‘aws_endpoints_regex_match’
#  405|           }
#  406|   
#  407|->         switch (symbol->type) {
#  408|               case AWS_ENDPOINTS_REGEX_SYMBOL_ALTERNATION_GROUP: {
#  409|                   struct aws_byte_cursor variant = {0};

Error: GCC_ANALYZER_WARNING (CWE-674): [#def60]
awscrt-0.27.2/crt/s2n/error/s2n_errno.c: scope_hint: In function ‘s2n_calculate_stacktrace’
awscrt-0.27.2/crt/s2n/error/s2n_errno.h:370:9: warning[-Wanalyzer-infinite-recursion]: infinite recursion
awscrt-0.27.2/crt/s2n/error/s2n_errno.h:381:9: note: in expansion of macro ‘_S2N_ERROR’
awscrt-0.27.2/crt/s2n/error/s2n_errno.c:500:5: note: in expansion of macro ‘S2N_ERROR’
awscrt-0.27.2/crt/s2n/error/s2n_errno.h:381:9: note: in expansion of macro ‘_S2N_ERROR’
awscrt-0.27.2/crt/s2n/error/s2n_errno.c:500:5: note: in expansion of macro ‘S2N_ERROR’
awscrt-0.27.2/crt/s2n/error/s2n_errno.h:381:9: note: in expansion of macro ‘_S2N_ERROR’
awscrt-0.27.2/crt/s2n/error/s2n_errno.c:500:5: note: in expansion of macro ‘S2N_ERROR’
#  368|           _s2n_debug_info.source = _S2N_EXTRACT_BASENAME(_s2n_debug_info.debug_str); \
#  369|           s2n_errno = (x);                                                           \
#  370|->         s2n_calculate_stacktrace();                                                \
#  371|       } while (0)
#  372|   #define S2N_ERROR_PRESERVE_ERRNO() \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
awscrt-0.27.2/source/auth_credentials.c: scope_hint: In function ‘aws_py_credentials_provider_new_chain_default’
awscrt-0.27.2/source/auth_credentials.c:309:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  307|       };
#  308|   
#  309|->     binding->native = aws_credentials_provider_new_chain_default(aws_py_get_allocator(), &options);
#  310|       if (!binding->native) {
#  311|           PyErr_SetAwsLastError();

Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
awscrt-0.27.2/source/auth_credentials.c: scope_hint: In function ‘aws_py_credentials_provider_new_static’
awscrt-0.27.2/source/auth_credentials.c:357:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  355|       };
#  356|   
#  357|->     binding->native = aws_credentials_provider_new_static(allocator, &options);
#  358|       if (!binding->native) {
#  359|           PyErr_SetAwsLastError();

Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
awscrt-0.27.2/source/auth_credentials.c: scope_hint: In function ‘aws_py_credentials_provider_new_profile’
awscrt-0.27.2/source/auth_credentials.c:417:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  415|       };
#  416|   
#  417|->     binding->native = aws_credentials_provider_new_profile(allocator, &options);
#  418|       if (!binding->native) {
#  419|           PyErr_SetAwsLastError();

Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
awscrt-0.27.2/source/auth_credentials.c: scope_hint: In function ‘aws_py_credentials_provider_new_process’
awscrt-0.27.2/source/auth_credentials.c:457:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  455|       };
#  456|   
#  457|->     binding->native = aws_credentials_provider_new_process(allocator, &options);
#  458|       if (!binding->native) {
#  459|           PyErr_SetAwsLastError();

Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
awscrt-0.27.2/source/auth_credentials.c: scope_hint: In function ‘aws_py_credentials_provider_new_environment’
awscrt-0.27.2/source/auth_credentials.c:491:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  489|       };
#  490|   
#  491|->     binding->native = aws_credentials_provider_new_environment(allocator, &options);
#  492|       if (!binding->native) {
#  493|           PyErr_SetAwsLastError();

Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
awscrt-0.27.2/source/auth_credentials.c: scope_hint: In function ‘aws_py_credentials_provider_new_chain’
awscrt-0.27.2/source/auth_credentials.c:562:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  560|       };
#  561|   
#  562|->     binding->native = aws_credentials_provider_new_chain(allocator, &options);
#  563|       if (!binding->native) {
#  564|           PyErr_SetAwsLastError();

Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
awscrt-0.27.2/source/auth_credentials.c: scope_hint: In function ‘aws_py_credentials_provider_new_delegate’
awscrt-0.27.2/source/auth_credentials.c:654:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  652|       }
#  653|   
#  654|->     binding->py_delegate = py_delegate;
#  655|       Py_INCREF(py_delegate);
#  656|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
awscrt-0.27.2/source/auth_credentials.c: scope_hint: In function ‘aws_py_credentials_provider_new_cognito’
awscrt-0.27.2/source/auth_credentials.c:808:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/python3.14/Python.h:81: included_from: Included from here.
awscrt-0.27.2/source/module.h:13: included_from: Included from here.
awscrt-0.27.2/source/auth.h:7: included_from: Included from here.
awscrt-0.27.2/source/auth_credentials.c:6: included_from: Included from here.
awscrt-0.27.2/source/auth_credentials.c:731:27: note: in expansion of macro ‘Py_None’
awscrt-0.27.2/source/auth_credentials.c:773:34: note: in expansion of macro ‘Py_None’
#  806|       }
#  807|   
#  808|->     binding->native = aws_credentials_provider_new_cognito(allocator, &options);
#  809|       if (!binding->native) {
#  810|           PyErr_SetAwsLastError();

Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
awscrt-0.27.2/source/auth_credentials.c: scope_hint: In function ‘aws_py_credentials_provider_new_x509’
awscrt-0.27.2/source/auth_credentials.c:904:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  902|       };
#  903|   
#  904|->     binding->native = aws_credentials_provider_new_x509(allocator, &options);
#  905|       if (!binding->native) {
#  906|           PyErr_SetAwsLastError();

Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
awscrt-0.27.2/source/mqtt_client_connection.c: scope_hint: In function ‘s_suback_multi_callback’
awscrt-0.27.2/source/mqtt_client_connection.c:1235:91: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sub_i’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/assert.h:87:23: note: in definition of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/assert.h:120:43: note: in expansion of macro ‘AWS_FATAL_ASSERT’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/macros.h:44:20: note: in expansion of macro ‘AWS_FATAL_PRECONDITION1’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/macros.h:54:34: note: in expansion of macro ‘GLUE’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/macros.h:51:38: note: in expansion of macro ‘OVERLOAD_MACRO2’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/macros.h:52:37: note: in expansion of macro ‘OVERLOAD_MACRO1’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/macros.h:54:39: note: in expansion of macro ‘OVERLOAD_MACRO’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/assert.h:174:37: note: in expansion of macro ‘CALL_OVERLOAD’
awscrt-0.27.2/build/temp.linux-x86_64-cpython-314/deps/install/include/aws/common/array_list.inl:342:5: note: in expansion of macro ‘AWS_FATAL_PRECONDITION’
awscrt-0.27.2/source/mqtt_client_connection.c: scope_hint: In function ‘s_suback_multi_callback’
# 1233|           struct aws_mqtt_topic_subscription *sub_i = NULL;
# 1234|           aws_array_list_get_at(topic_subacks, &sub_i, i);
# 1235|->         PyObject *tuple = Py_BuildValue("(s#i)", sub_i->topic.ptr, sub_i->topic.len, sub_i->qos);
# 1236|           if (!tuple) {
# 1237|               error_code = aws_py_translate_py_error();

Scan Properties

analyzer-version-clippy1.89.0
analyzer-version-cppcheck2.18.1
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer15.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-49.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepython-awscrt-0.27.2-4.fc44
store-results-to/tmp/tmpbyz90gtp/python-awscrt-0.27.2-4.fc44.tar.xz
time-created2025-08-28 18:51:48
time-finished2025-08-28 18:56:32
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmpbyz90gtp/python-awscrt-0.27.2-4.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpbyz90gtp/python-awscrt-0.27.2-4.fc44.src.rpm'
tool-versioncsmock-3.8.2.20250811.215846.gf3b3dbf-1.el9