Browse Source
Refactor GitLab cppcheck and update SAST ignorelists
Refactor GitLab cppcheck and update SAST ignorelists
Line numbers had to be removed from the ignorelists in order to be diffed against since locations of the same findings can differ across runs. Therefore preprocessing has to be done on the CI findings so that it can be compared to the ignorelist and new findings can be outputted. However, since line numbers have to be removed, a situation occurs where it is difficult to reference the location of findings in code given the output of the CI job. To lessen this pain, change the cppcheck template to include code snippets which make it easier to reference where in the code the finding is referring to, even in the absence of line numbers. Ignorelisting works as before since locations of the finding may change but not the code it is referring to. Furthermore, due to the innate difficulty in maintaining ignorelists across branches and triaging new findings, allow failure as to not have constantly failing pipelines as a result of a new findings that have not been addressed yet. Lastly, update SAST ignorelists to match the newly refactored cppcheck job and the current state of the codebase. All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc.pull/3323/head
committed by
Andrew Hutchings
4 changed files with 346 additions and 295 deletions
-
54.gitlab-ci.yml
-
17mysys/my_rdtsc.c
-
336tests/code_quality/cppcheck_ignorelist.txt
-
234tests/code_quality/flawfinder_ignorelist.json
@ -1,251 +1,85 @@ |
|||
client/mysql.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
client/mysql_upgrade.c: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
client/mysqladmin.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
client/mysqlbinlog.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
client/mysqlcheck.c: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
client/mysqlimport.c: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
client/mysqlshow.c: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
client/mysqltest.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
dbug/tests.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
lexyy.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ATTRIBUTE is a macro then please configure it. |
|||
mysql-test/lib/My/SafeProcess/safe_process_win.cc: error: Uninitialized variable: message_text |
|||
mysys/mf_keycache.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
mysys/my_delete.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
mysys/my_fopen.c: error: Return value of allocation function 'freopen' is not stored. |
|||
mysys/my_getsystime.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
mysys/my_pread.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
mysys/my_rename.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
mysys/my_winfile.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
mysys/my_write.c: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
mysys/thr_lock.c: error: There is an unknown macro here somewhere. Configuration is required. If MYSQL_TABLE_WAIT_VARIABLES is a macro then please configure it. |
|||
mysys/tree.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
pcre/pcrecpp.cc: warning: Uninitialized variable: kmat |
|||
pcre/pcrecpp.h: error: syntax error |
|||
pcre/pcregrep.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/audit_null/audit_null.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/auth_ed25519/server_ed25519.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/auth_examples/auth_0x0100.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/auth_examples/dialog_examples.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/auth_examples/qa_auth_interface.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/auth_examples/qa_auth_server.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/auth_examples/test_plugin.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/auth_gssapi/server_plugin.cc: error: syntax error |
|||
plugin/auth_gssapi/sspi.h: error: #include nested too deeply |
|||
plugin/auth_pam/auth_pam.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/auth_pam/auth_pam_v1.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/auth_pipe/auth_pipe.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/auth_socket/auth_socket.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/aws_key_management/aws_key_management_plugin.cc: error: syntax error |
|||
plugin/cracklib_password_check/cracklib_password_check.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/daemon_example/daemon_example.cc: error: syntax error |
|||
plugin/debug_key_management/debug_key_management_plugin.cc: error: syntax error |
|||
plugin/disks/information_schema_disks.cc: error: syntax error |
|||
plugin/example_key_management/example_key_management_plugin.cc: error: syntax error |
|||
plugin/feedback/feedback.cc: error: syntax error |
|||
plugin/file_key_management/file_key_management_plugin.cc: error: syntax error |
|||
plugin/fulltext/plugin_example.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/handler_socket/handlersocket/handlersocket.cpp: error: syntax error |
|||
plugin/locale_info/locale_info.cc: error: syntax error |
|||
plugin/metadata_lock_info/metadata_lock_info.cc: error: syntax error |
|||
plugin/metadata_lock_info/metadata_lock_info.cc: error: syntax error |
|||
plugin/qc_info/qc_info.cc: error: syntax error |
|||
plugin/query_response_time/plugin.cc: error: syntax error |
|||
plugin/query_response_time/query_response_time.cc: error: Array 'm_count[41]' accessed at index 43, which is out of bounds. |
|||
plugin/query_response_time/query_response_time.cc: error: Array 'm_total[41]' accessed at index 43, which is out of bounds. |
|||
plugin/server_audit/server_audit.c: error: Uninitialized variable: &tm_time |
|||
plugin/server_audit/server_audit.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/server_audit/server_audit.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/server_audit/server_audit.c: error: Uninitialized variable: &tm_time |
|||
plugin/simple_password_check/simple_password_check.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/sql_errlog/sql_errlog.c: error: Found a exit path from function with non-void return type that has missing return statement |
|||
plugin/sql_errlog/sql_errlog.c: error: Uninitialized variable: &t |
|||
plugin/user_variables/user_variables.cc: error: syntax error |
|||
plugin/userstat/userstat.cc: error: syntax error |
|||
plugin/versioning/versioning.cc: error: syntax error |
|||
plugin/wsrep_info/plugin.cc: error: syntax error |
|||
sql-common/client.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
sql-common/client_plugin.c: error: va_list 'unused' used before va_start() was called. |
|||
sql-common/client_plugin.c: error: va_list 'unused' used before va_start() was called. |
|||
sql-common/client_plugin.c: error: va_list 'unused' used before va_start() was called. |
|||
sql-common/client_plugin.c: error: va_list 'unused' used before va_start() was called. |
|||
sql/debug_sync.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE is a macro then please configure it. |
|||
sql/gcalc_slicescan.cc: warning: Possible null pointer dereference: first_bottom_point |
|||
sql/gen_lex_hash.cc: error: Common realloc mistake: 'hash_map' nulled but not freed upon failure |
|||
sql/handler.h: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
sql/log.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
sql/log_event.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
sql/log_event_old.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
sql/net_serv.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
sql/protocol.h: error: syntax error |
|||
sql/rpl_utility.h: error: There is an unknown macro here somewhere. Configuration is required. If CPP_UNNAMED_NS_START is a macro then please configure it. |
|||
sql/semisync_slave.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
sql/sql_select.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
sql/sql_string.cc: warning: Iterators to containers from different expressions 'to' and 'from' are used together. |
|||
sql/table.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
sql/winservice.c: error: Resource leak: mysql_upgrade_info |
|||
sql/wsrep_thd.h: error: failed to expand 'wsrep_create_appliers', Wrong number of parameters for macro 'wsrep_create_appliers'. |
|||
storage/archive/azio.c: error: Syntax Error: AST broken, 'if' doesn't have two operands. |
|||
storage/archive/ha_archive.cc: error: syntax error |
|||
storage/blackhole/ha_blackhole.cc: error: syntax error |
|||
storage/cassandra/gen-cpp/Cassandra_server.skeleton.cpp: error: Found a exit path from function with non-void return type that has missing return statement |
|||
storage/cassandra/ha_cassandra.cc: error: syntax error |
|||
storage/connect/connect.cc: error: Uninitialized variable: lg |
|||
storage/connect/domdoc.cpp: error: syntax error |
|||
storage/connect/ha_connect.cc: error: syntax error |
|||
storage/connect/myconn.cpp: error: Unmatched '{'. Configuration: 'ALPHA;MYSQL_PREPARED_STATEMENTS'. |
|||
storage/connect/myconn.cpp: error: Unmatched '{'. Configuration: 'MYSQL_PREPARED_STATEMENTS'. |
|||
storage/connect/odbconn.cpp: warning: Uninitialized variable: b |
|||
storage/connect/odbconn.cpp: warning: Uninitialized variable: b |
|||
storage/connect/odbconn.cpp: warning: Uninitialized variable: b |
|||
storage/connect/plugutil.cpp: error: Width 255 given in format string (no. 2) is larger than destination buffer 'stmsg[200]', use %199[^\"] to prevent overflowing it. |
|||
storage/connect/plugutil.cpp: error: Width 255 given in format string (no. 1) is larger than destination buffer 'stmsg[200]', use %199[^\"] to prevent overflowing it. |
|||
storage/connect/tabjson.cpp: warning: Possible null pointer dereference: Val |
|||
storage/connect/tabmul.cpp: error: Uninitialized variable: buf |
|||
storage/connect/tabmul.cpp: error: Uninitialized variable: buf |
|||
storage/connect/tabmul.cpp: error: Uninitialized variable: buf |
|||
storage/connect/taboccur.cpp: warning: Uninitialized variable: *pcrp |
|||
storage/connect/unzip.c: warning: Uninitialized variable: *pzlib_filefunc64_32_def.zopen32_file |
|||
storage/connect/value.cpp: error: Signed integer overflow for expression 'n*126230400'. |
|||
storage/connect/zip.c: warning: Uninitialized variable: *pzlib_filefunc64_32_def.zopen32_file |
|||
storage/csv/ha_tina.cc: error: syntax error |
|||
storage/example/ha_example.cc: error: syntax error |
|||
storage/federated/ha_federated.cc: error: syntax error |
|||
storage/heap/ha_heap.cc: error: syntax error |
|||
storage/innobase/btr/btr0btr.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/btr/btr0cur.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/innobase/btr/btr0defragment.cc: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_THREAD is a macro then please configure it. |
|||
storage/innobase/btr/btr0sea.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ATTRIBUTE is a macro then please configure it. |
|||
storage/innobase/buf/buf0buf.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/innobase/buf/buf0dump.cc: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_THREAD is a macro then please configure it. |
|||
storage/innobase/buf/buf0flu.cc: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_THREAD is a macro then please configure it. |
|||
storage/innobase/buf/buf0lru.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/innobase/dict/dict0crea.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/dict/dict0dict.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/innobase/dict/dict0load.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ATTRIBUTE is a macro then please configure it. |
|||
storage/innobase/dict/dict0stats.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/innobase/dict/dict0stats_bg.cc: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_THREAD is a macro then please configure it. |
|||
storage/innobase/fil/fil0crypt.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/fil/fil0fil.cc: error: syntax error |
|||
storage/innobase/fsp/fsp0file.cc: error: Resource leak: file |
|||
storage/innobase/fsp/fsp0fsp.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ATTRIBUTE is a macro then please configure it. |
|||
storage/innobase/fts/fts0fts.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/innobase/fts/fts0opt.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/fts/fts0que.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ATTRIBUTE is a macro then please configure it. |
|||
storage/innobase/gis/gis0rtree.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/innobase/gis/gis0sea.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/handler/ha_innodb.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/innobase/handler/handler0alter.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/innobase/handler/i_s.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/ibuf/ibuf0ibuf.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/ibuf/ibuf0ibuf.cc: error: failed to expand 'ibuf_bitmap_page_get_bits', Wrong number of parameters for macro 'ibuf_bitmap_page_get_bits'. |
|||
storage/innobase/lock/lock0lock.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/lock/lock0wait.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/lock/lock0wait.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/log/log0log.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/log/log0recv.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/os/os0file.cc: error: syntax error |
|||
storage/innobase/page/page0page.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/page/page0zip.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ATTRIBUTE is a macro then please configure it. |
|||
storage/innobase/pars/pars0pars.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/row/row0ftsort.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/row/row0import.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ATTRIBUTE is a macro then please configure it. |
|||
storage/innobase/row/row0ins.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/row/row0log.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/innobase/row/row0merge.cc: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/innobase/row/row0mysql.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/row/row0quiesce.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/row/row0sel.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ATTRIBUTE is a macro then please configure it. |
|||
storage/innobase/row/row0umod.cc: error: There is an unknown macro here somewhere. Configuration is required. If ut_d is a macro then please configure it. |
|||
storage/innobase/row/row0upd.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ATTRIBUTE is a macro then please configure it. |
|||
storage/innobase/row/row0vers.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/srv/srv0conc.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ALIGNED is a macro then please configure it. |
|||
storage/innobase/srv/srv0srv.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/srv/srv0start.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ATTRIBUTE is a macro then please configure it. |
|||
storage/innobase/trx/trx0i_s.cc: error: Array 'table_cache->chunks[39]' accessed at index 39, which is out of bounds. |
|||
storage/innobase/trx/trx0i_s.cc: error: Array 'table_cache->chunks[39]' accessed at index 39, which is out of bounds. |
|||
storage/innobase/trx/trx0purge.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/trx/trx0rec.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/trx/trx0roll.cc: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_THREAD is a macro then please configure it. |
|||
storage/innobase/trx/trx0trx.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/innobase/trx/trx0undo.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ha_maria.cc: error: syntax error |
|||
storage/maria/ma_bitmap.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_blockrec.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_check.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_checkpoint.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_delete.c: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/maria/ma_delete.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_ft_parser.c: error: Address of local auto-variable assigned to a function parameter. |
|||
storage/maria/ma_key.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_loghandler.c: warning: Uninitialized variable: data->current_offset |
|||
storage/maria/ma_open.c: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/maria/ma_pagecache.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_pagecache.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_range.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_recovery_util.c: error: va_start() or va_copy() called subsequently on 'args' without va_end() in between. |
|||
storage/maria/ma_rkey.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_rt_index.c: error: failed to expand 'rt_PAGE_END', Wrong number of parameters for macro 'rt_PAGE_END'. |
|||
storage/maria/ma_search.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_sp_key.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_update.c: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/maria/ma_update.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/ma_write.c: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/maria/ma_write.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/maria/maria_pack.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisam/ft_parser.c: error: Address of local auto-variable assigned to a function parameter. |
|||
storage/myisam/ha_myisam.cc: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisam/mi_check.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisam/mi_close.c: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/myisam/mi_delete.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisam/mi_key.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisam/mi_locking.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisam/mi_open.c: error: There is an unknown macro here somewhere. Configuration is required. If DBUG_EXECUTE_IF is a macro then please configure it. |
|||
storage/myisam/mi_range.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisam/mi_rkey.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisam/mi_search.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisam/mi_update.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisam/mi_write.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisam/myisampack.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
storage/myisammrg/ha_myisammrg.cc: error: syntax error |
|||
storage/oqgraph/ha_oqgraph.cc: error: syntax error |
|||
storage/perfschema/ha_perfschema.cc: error: syntax error |
|||
storage/perfschema/pfs_instr.h: error: Uninitialized variable: m_has_io_stats |
|||
storage/perfschema/pfs_instr.h: error: Uninitialized variable: m_has_lock_stats |
|||
storage/perfschema/pfs_instr_class.cc: error: There is an unknown macro here somewhere. Configuration is required. If MY_ALIGNED is a macro then please configure it. |
|||
storage/perfschema/table_accounts.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_esgs_by_account_by_event_name.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_esgs_by_host_by_event_name.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_esgs_by_user_by_event_name.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_esms_by_account_by_event_name.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_esms_by_host_by_event_name.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_esms_by_user_by_event_name.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_events_waits.cc: error: Uninitialized struct member: wait.m_wait_class |
|||
storage/perfschema/table_events_waits.cc: error: Uninitialized variable: wait |
|||
storage/perfschema/table_events_waits.cc: error: Uninitialized struct member: wait.m_wait_class |
|||
storage/perfschema/table_ews_by_account_by_event_name.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_ews_by_host_by_event_name.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_ews_by_user_by_event_name.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_hosts.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_setup_actors.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_threads.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/perfschema/table_users.cc: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
storage/sequence/sequence.cc: error: syntax error |
|||
storage/test_sql_discovery/test_sql_discovery.cc: error: syntax error |
|||
strings/decimal.c: warning: Possible null pointer dereference: to |
|||
strings/dump_map.c: error: Array 'fromstat[256]' accessed at index 256, which is out of bounds. |
|||
tests/mysql_client_fw.c: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
tests/thread_test.c: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY_ARG is a macro then please configure it. |
|||
unittest/mysys/dynstring-t.c: error: syntax error |
|||
unittest/mysys/queues-t.c: error: Uninitialized variable: i |
|||
unittest/mysys/waiting_threads-t.c: error: Uninitialized variable: m |
|||
unittest/mytap/tap.c: error: va_list 'ap' used before va_start() was called. |
|||
unittest/mytap/tap.c: error: va_list 'ap' used before va_start() was called. |
|||
unittest/mytap/tap.c: error: va_list 'ap' used before va_start() was called. |
|||
unittest/mytap/tap.c: error: va_list 'ap' used before va_start() was called. |
|||
vio/viosocket.c: error: There is an unknown macro here somewhere. Configuration is required. If MYSQL_SOCKET_WAIT_VARIABLES is a macro then please configure it. |
|||
vio/viosocket.c: error: There is an unknown macro here somewhere. Configuration is required. If MYSQL_SOCKET_WAIT_VARIABLES is a macro then please configure it. |
|||
vio/viosslfactories.c: error: There is an unknown macro here somewhere. Configuration is required. If ; is a macro then please configure it. |
|||
vio/viotest-sslconnect.cc: error: Memory pointed to by 'vio' is freed twice. |
|||
vio/viotest-sslconnect.cc: error: Memory pointed to by 'ssl_connector' is freed twice. |
|||
wsrep-lib/src/server_state.cpp: error: syntax error: keyword 'try' is not allowed in global scope |
|||
wsrep-lib/src/thread_service_v1.cpp: error: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object |
|||
client/mysqlbinlog.cc ev->output_buf.copy(e->output_buf); warning: Possible null pointer dereference: e |
|||
client/mysqldump.c return buff; warning: Uninitialized variable: buff |
|||
client/mysqldump.c return buff; warning: Uninitialized variable: buff |
|||
include/my_global.h #error "please add -DSTACK_DIRECTION=1 or -1 to your CPPFLAGS" error: #error "please add -DSTACK_DIRECTION=1 or -1 to your CPPFLAGS" |
|||
include/my_global.h #error WHAT? sizeof(long long) < 8 ??? error: #error WHAT? sizeof(long long) < 8 ??? |
|||
include/mysql/psi/mysql_socket.h result= send(mysql_socket.fd, buf, IF_WIN((int),) n, flags); error: syntax error |
|||
include/mysql/psi/mysql_socket.h result= send(mysql_socket.fd, buf, IF_WIN((int),) n, flags); error: syntax error |
|||
include/mysql/psi/psi.h #error "You must include my_global.h in the code for the build to be correct." error: #error "You must include my_global.h in the code for the build to be correct." |
|||
mysql-test/lib/My/SafeProcess/safe_process_win.cc |FORMAT_MESSAGE_IGNORE_INSERTS, NULL, last_err , 0, (LPSTR)&message_text, error: Uninitialized variable: message_text |
|||
mysys/file_logger.c *l_perm= new_log; error: Uninitialized struct member: new_log.lock |
|||
mysys/ma_dyncol.c float8get(store_it_here->x.double_value, data); error: Uninitialized variable: def_temp |
|||
mysys/mf_loadpath.c strmake(to, from, FN_REFLEN-1); warning: Uninitialized variable: from |
|||
mysys/my_compare.c mi_float4get(f_1,a); error: Uninitialized variable: def_temp |
|||
mysys/my_compare.c mi_float4get(f_2,b); error: Uninitialized variable: def_temp |
|||
mysys/my_compare.c mi_float8get(d_1,a); error: Uninitialized variable: def_temp |
|||
mysys/my_compare.c mi_float8get(d_2,b); error: Uninitialized variable: def_temp |
|||
mysys/my_symlink2.c create_link= (linkname && strcmp(abs_linkname,filename)); error: Uninitialized variable: abs_linkname |
|||
plugin/sql_errlog/sql_errlog.c (void) localtime_r(&event_time, &t); error: Uninitialized variable: &t |
|||
sql-common/client_plugin.c bzero(&unused, sizeof unused); error: va_list 'unused' used before va_start() was called. |
|||
sql-common/client_plugin.c plugin= add_plugin(mysql, plugin, 0, 0, unused); error: va_list 'unused' used before va_start() was called. |
|||
sql/gen_lex_hash.cc hash_map= (char*)realloc((char*)hash_map,size_hash_map); error: Common realloc mistake: 'hash_map' nulled but not freed upon failure |
|||
sql/my_apc.cc apc_calls->prev= qe; error: Non-local variable 'apc_calls->prev' will use pointer to local variable 'apc_request'. |
|||
sql/my_apc.cc apc_calls= qe; error: Non-local variable 'apc_calls' will use pointer to local variable 'apc_request'. |
|||
sql/sql_string.cc memcpy(dots, STRING_WITH_LEN("...\0")); error: failed to expand 'memcpy', Wrong number of parameters for macro 'memcpy'. |
|||
storage/cassandra/gen-cpp/Cassandra_server.skeleton.cpp printf("get_count\n"); error: Found an exit path from function with non-void return type that has missing return statement |
|||
storage/connect/connect.cc rcb= valp->SetValue_char(kp, (int)lg); error: Uninitialized variable: lg |
|||
storage/connect/connect.cc rcb= valp->SetValue_char((char*)p, (int)lg); error: Uninitialized variable: lg |
|||
storage/connect/macutil.cpp #error This is WINDOWS only DLL error: #error This is WINDOWS only DLL |
|||
storage/connect/tabjson.cpp Val->SetValue(jsp); warning: Possible null pointer dereference: Val |
|||
storage/connect/tabmac.cpp #error This is a WINDOWS only table type error: #error This is a WINDOWS only table type |
|||
storage/connect/taboccur.cpp for (i = 0, pcrp = &qrp->Colresp; (crp = *pcrp); ) { warning: Uninitialized variable: *pcrp |
|||
storage/connect/tabwmi.cpp #error This is a WINDOWS only table type error: #error This is a WINDOWS only table type |
|||
storage/connect/unzip.c us.z_filefunc = *pzlib_filefunc64_32_def; warning: Uninitialized variable: *pzlib_filefunc64_32_def.zopen32_file |
|||
storage/connect/value.cpp if ((t -= (n * FOURYEARS)) > 2000000000) error: Signed integer overflow for expression 'n*126230400'. |
|||
storage/connect/zip.c ziinit.z_filefunc = *pzlib_filefunc64_32_def; warning: Uninitialized variable: *pzlib_filefunc64_32_def.zopen32_file |
|||
storage/federated/ha_federated.cc DBUG_RETURN(retval); error: Uninitialized variable: retval |
|||
storage/federatedx/federatedx_pushdown.cc ha_federatedx *h= (ha_federatedx *) table->file; warning: Possible null pointer dereference: table |
|||
storage/federatedx/federatedx_pushdown.cc share= get_share(table->s->table_name.str, table); warning: Possible null pointer dereference: table |
|||
storage/heap/hp_hash.c float4get(nr, pos); error: Uninitialized variable: def_temp |
|||
storage/heap/hp_hash.c float8get(nr, pos); error: Uninitialized variable: def_temp |
|||
storage/heap/hp_hash.c float4get(f_1,key); error: Uninitialized variable: def_temp |
|||
storage/heap/hp_hash.c float8get(f_1,key); error: Uninitialized variable: def_temp |
|||
storage/maria/ma_create.c DBUG_RETURN(my_pwrite(file, buf, sizeof(buf), error: Uninitialized variable: trid_buff |
|||
storage/maria/ma_dbug.c mi_float4get(f_1,key); error: Uninitialized variable: def_temp |
|||
storage/maria/ma_dbug.c mi_float8get(d_1,key); error: Uninitialized variable: def_temp |
|||
storage/maria/ma_ft_parser.c param->mysql_ftparam= &my_param; error: Address of local auto-variable assigned to a function parameter. |
|||
storage/maria/ma_key.c float4get(nr,pos); error: Uninitialized variable: def_temp |
|||
storage/maria/ma_key.c float8get(nr,pos); error: Uninitialized variable: def_temp |
|||
storage/maria/ma_key.c float4get(f_1,key); error: Uninitialized variable: def_temp |
|||
storage/maria/ma_key.c float8get(f_1,key); error: Uninitialized variable: def_temp |
|||
storage/maria/ma_locking.c write_error= (int) my_pwrite(share->kfile.file, buff, sizeof(buff), error: Uninitialized variable: buff |
|||
storage/maria/ma_locking.c (void) my_pwrite(share->kfile.file, buff, sizeof(buff), error: Uninitialized variable: buff |
|||
storage/maria/ma_loghandler.c if (! --fc_ptr->counter) warning: Uninitialized variable: fc_ptr |
|||
storage/maria/ma_loghandler.c (offset < data->current_offset && warning: Uninitialized variable: data->current_offset |
|||
storage/maria/ma_open.c float8get(state->rec_per_key_part[i], ptr); ptr+= 8; error: Uninitialized variable: def_temp |
|||
storage/maria/ma_open.c return mysql_file_write(file, buff, (size_t) (ptr-buff), MYF(MY_NABP)) != 0; error: Uninitialized variable: buff |
|||
storage/maria/ma_open.c return mysql_file_write(file, buff, (size_t) (ptr-buff), MYF(MY_NABP)) != 0; error: Uninitialized variable: buff |
|||
storage/maria/ma_recovery_util.c va_start(args, format); error: va_start() or va_copy() called subsequently on 'args' without va_end() in between. |
|||
storage/maria/ma_search.c if (flag == 0) warning: Uninitialized variable: flag |
|||
storage/maria/ma_write.c key->data= key_buff; error: Address of local auto-variable assigned to a function parameter. |
|||
storage/maria/tablockman.c mysql_mutex_init(& lm->pool_mutex, MY_MUTEX_INIT_FAST); error: failed to expand 'mysql_mutex_init', Wrong number of parameters for macro 'mysql_mutex_init'. |
|||
storage/myisam/ft_parser.c param->mysql_ftparam= &my_param; error: Address of local auto-variable assigned to a function parameter. |
|||
storage/myisam/mi_dbug.c mi_float4get(f_1,key); error: Uninitialized variable: def_temp |
|||
storage/myisam/mi_dbug.c mi_float8get(d_1,key); error: Uninitialized variable: def_temp |
|||
storage/myisam/mi_key.c float4get(nr,pos); error: Uninitialized variable: def_temp |
|||
storage/myisam/mi_key.c float8get(nr,pos); error: Uninitialized variable: def_temp |
|||
storage/myisam/mi_key.c float4get(f_1,key); error: Uninitialized variable: def_temp |
|||
storage/myisam/mi_key.c float8get(f_1,key); error: Uninitialized variable: def_temp |
|||
storage/myisam/mi_locking.c write_error= (mysql_file_pwrite(share->kfile, buff, sizeof(buff), error: Uninitialized variable: buff |
|||
storage/myisam/mi_open.c return mysql_file_write(file, buff, (size_t) (ptr-buff), MYF(MY_NABP)) != 0; error: Uninitialized variable: buff |
|||
storage/myisam/mi_open.c return mysql_file_write(file, buff, (size_t) (ptr-buff), MYF(MY_NABP)) != 0; error: Uninitialized variable: buff |
|||
storage/myisam/mi_open.c return mysql_file_write(file, buff, (size_t) (ptr-buff), MYF(MY_NABP)) != 0; error: Uninitialized variable: buff |
|||
storage/myisam/mi_search.c if (flag == 0) warning: Uninitialized variable: flag |
|||
storage/perfschema/pfs_global.cc return NULL; error: Memory leak: ptr |
|||
storage/sequence/sequence.cc maria_declare_plugin(sequence) error: syntax error |
|||
strings/decimal.c sanity(to); warning: Possible null pointer dereference: to |
|||
strings/dump_map.c if (fromstat[i]) error: Array 'fromstat[256]' accessed at index 256, which is out of bounds. |
|||
unittest/mytap/tap.c memset(&ap, 0, sizeof(ap)); error: va_list 'ap' used before va_start() was called. |
|||
unittest/mytap/tap.c vemit_tap(pass, NULL, ap); error: va_list 'ap' used before va_start() was called. |
|||
unittest/mytap/tap.c memset((char*) &ap, 0, sizeof(ap)); /* Keep compiler happy */ error: va_list 'ap' used before va_start() was called. |
|||
unittest/mytap/tap.c vemit_tap(1, NULL, ap); error: va_list 'ap' used before va_start() was called. |
|||
vio/viotest-sslconnect.cc delete vio; error: Memory pointed to by 'vio' is freed twice. |
|||
vio/viotest-sslconnect.cc delete ssl_connector; error: Memory pointed to by 'ssl_connector' is freed twice. |
|||
wsrep-lib/src/server_state.cpp try error: syntax error: keyword 'try' is not allowed in global scope |
|||
wsrep-lib/src/thread_service_v1.cpp throw; // Implementation broke the contract and returned. error: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object |
Write
Preview
Loading…
Cancel
Save
Reference in new issue