idx
int64
project
string
commit_id
string
project_url
string
commit_url
string
commit_message
string
target
int64
func
string
func_hash
float64
file_name
string
file_hash
float64
cwe
list
cve
string
cve_desc
string
nvd_url
string
514,361
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static int wsrep_after_row(THD *thd) { DBUG_ENTER("wsrep_after_row"); /* enforce wsrep_max_ws_rows */ thd->wsrep_affected_rows++; if (wsrep_max_ws_rows && wsrep_thd_is_local(thd) && thd->wsrep_affected_rows > wsrep_max_ws_rows) { trans_rollback_stmt(thd) || trans_rollback(thd); my_message(...
119,885,525,740,541,710,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,362
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
handler::ha_disable_indexes(uint mode) { DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE || m_lock_type != F_UNLCK); mark_trx_read_write(); return disable_indexes(mode); }
141,746,364,182,897,000,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,363
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_release_savepoint(THD *thd, SAVEPOINT *sv) { int error=0; Ha_trx_info *ha_info= sv->ha_list; DBUG_ENTER("ha_release_savepoint"); for (; ha_info; ha_info= ha_info->next()) { int err; handlerton *ht= ha_info->ht(); /* Savepoint life time is enclosed into transaction life time. */ DBUG_AS...
199,924,900,804,288,300,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,364
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
uint handler::get_dup_key(int error) { DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE || m_lock_type != F_UNLCK); DBUG_ENTER("handler::get_dup_key"); if (table->s->long_unique_table && table->file->errkey < table->s->keys) DBUG_RETURN(table->file->errkey); table->file->errkey = (uint) -1; if (error =...
306,646,235,554,240,070,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,365
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void handler::update_global_index_stats() { DBUG_ASSERT(table->s); if (!table->in_use->userstat_running) { /* Reset all index read values */ bzero(index_rows_read, sizeof(index_rows_read[0]) * table->s->keys); return; } for (uint index = 0; index < table->s->keys; index++) { if (index_rows...
265,650,367,432,577,140,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,366
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::update_first_row(const uchar *new_data) { int error; if (likely(!(error= ha_rnd_init(1)))) { int end_error; if (likely(!(error= ha_rnd_next(table->record[1])))) { /* We have to do the memcmp as otherwise we may get error 169 from InnoDB */ if (memcmp(new_data, ta...
159,534,171,456,834,700,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,367
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::ha_check(THD *thd, HA_CHECK_OPT *check_opt) { int error; DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE || m_lock_type != F_UNLCK); if ((table->s->mysql_version >= MYSQL_VERSION_ID) && (check_opt->sql_flags & TT_FOR_UPGRADE)) return 0; if (table->s->mysql_version < MYS...
10,983,551,481,918,250,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,368
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_commit_trans(THD *thd, bool all) { int error= 0, cookie; /* 'all' means that this is either an explicit commit issued by user, or an implicit commit issued by a DDL. */ THD_TRANS *trans= all ? &thd->transaction.all : &thd->transaction.stmt; /* "real" is a nick name for a transaction for whi...
177,096,285,702,299,080,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,369
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void ha_prepare_for_backup() { plugin_foreach_with_mask(0, plugin_prepare_for_backup, MYSQL_STORAGE_ENGINE_PLUGIN, PLUGIN_IS_DELETED|PLUGIN_IS_READY, 0); }
280,963,104,825,675,000,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,370
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::compare_key2(key_range *range) const { int cmp; if (!range) return 0; // no max range cmp= key_cmp(range_key_part, range->key, range->length); if (!cmp) cmp= key_compare_result_on_equal; return cmp; }
37,039,280,439,846,130,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,371
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool Vers_parse_info::check_conditions(const Lex_table_name &table_name, const Lex_table_name &db) const { if (!as_row.start || !as_row.end) { my_error(ER_MISSING, MYF(0), table_name.str, as_row.start ? "AS ROW END" : "AS ROW START"); return true; } ...
218,209,972,075,138,000,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,372
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_start_consistent_snapshot(THD *thd) { bool err, warn= true; /* Holding the LOCK_commit_ordered mutex ensures that we get the same snapshot for all engines (including the binary log). This allows us among other things to do backups with START TRANSACTION WITH CONSISTENT SNAPSHOT and have...
215,563,630,083,742,340,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,373
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::ha_index_prev(uchar * buf) { int result; DBUG_ENTER("handler::ha_index_prev"); DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE || m_lock_type != F_UNLCK); DBUG_ASSERT(inited==INDEX); TABLE_IO_WAIT(tracker, m_psi, PSI_TABLE_FETCH_ROW, active_index, 0, { result= index_prev(buf...
103,976,236,311,523,720,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,374
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
handlerton *ha_default_handlerton(THD *thd) { plugin_ref plugin= ha_default_plugin(thd); DBUG_ASSERT(plugin); handlerton *hton= plugin_hton(plugin); DBUG_ASSERT(hton); return hton; }
232,534,284,023,034,360,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,375
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
compute_next_insert_id(ulonglong nr,struct system_variables *variables) { const ulonglong save_nr= nr; if (variables->auto_increment_increment == 1) nr= nr + 1; // optimization of the formula below else { /* Calculating the number of complete auto_increment_increment extents: */ nr= (nr ...
13,122,948,965,363,494,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,376
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
handlerton *ha_checktype(THD *thd, handlerton *hton, bool no_substitute) { if (ha_storage_engine_is_enabled(hton)) return hton; if (no_substitute) return NULL; #ifdef WITH_WSREP (void)wsrep_after_rollback(thd, false); #endif /* WITH_WSREP */ return ha_default_handlerton(thd); } /* ha_checktype */
146,842,975,981,701,690,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,377
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
Table_scope_and_contents_source_st::fix_period_fields(THD *thd, Alter_info *alter_info) { if (!period_info.name) return false; Table_period_info::start_end_t &period= period_info.period; List_iterator<Create_field> it(alter_info->create_list); while (Cr...
193,254,386,469,382,930,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,378
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void trans_register_ha(THD *thd, bool all, handlerton *ht_arg) { THD_TRANS *trans; Ha_trx_info *ha_info; DBUG_ENTER("trans_register_ha"); DBUG_PRINT("enter",("%s", all ? "all" : "stmt")); if (all) { trans= &thd->transaction.all; thd->server_status|= SERVER_STATUS_IN_TRANS; if (thd->tx_read_only...
47,972,992,890,181,460,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,379
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
Storage_engine_name::resolve_storage_engine_with_error(THD *thd, handlerton **ha, bool tmp_table) { if (plugin_ref plugin= ha_resolve_by_name(thd, &m_storage_engine_name, ...
89,618,984,152,661,640,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,380
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_change_key_cache(KEY_CACHE *old_key_cache, KEY_CACHE *new_key_cache) { mi_change_key_cache(old_key_cache, new_key_cache); return 0; }
326,535,693,973,792,260,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,381
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
TYPELIB *ha_known_exts(void) { if (!known_extensions.type_names || mysys_usage_id != known_extensions_id) { List<char> found_exts; const char **ext, *old_ext; known_extensions_id= mysys_usage_id; found_exts.push_back((char*) TRG_EXT); found_exts.push_back((char*) TRN_EXT); plugin_foreach(N...
118,202,356,592,684,690,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,382
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
handler::ha_bulk_update_row(const uchar *old_data, const uchar *new_data, ha_rows *dup_key_found) { DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE || m_lock_type == F_WRLCK); mark_trx_read_write(); return bulk_update_row(old_data, new_data, dup_key_found); }
204,306,758,492,475,880,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,383
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static bool update_frm_version(TABLE *table) { char path[FN_REFLEN]; File file; int result= 1; DBUG_ENTER("update_frm_version"); /* No need to update frm version in case table was created or checked by server with the same version. This also ensures that we do not update frm version for temporary...
239,334,892,457,932,140,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,384
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::read_range_first(const key_range *start_key, const key_range *end_key, bool eq_range_arg, bool sorted) { int result; DBUG_ENTER("handler::read_range_first"); eq_range= eq_range_arg; set_end_range(end_key); range_key_part= table->key_info[active_index].key_part; if (!start_ke...
169,732,721,861,626,640,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,385
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::update_auto_increment() { ulonglong nr, nb_reserved_values; bool append= FALSE; THD *thd= table->in_use; struct system_variables *variables= &thd->variables; int result=0, tmp; DBUG_ENTER("handler::update_auto_increment"); /* next_insert_id is a "cursor" into the reserved interval, it ma...
282,201,447,244,086,550,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,386
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool handler::ha_commit_inplace_alter_table(TABLE *altered_table, Alter_inplace_info *ha_alter_info, bool commit) { /* At this point we should have an exclusive metadata lock on the table. The exception is if we're abou...
246,524,055,765,776,870,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,387
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void Discovered_table_list::sort() { tables->sort(cmp_table_names); }
143,595,104,409,062,610,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,388
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
Table_scope_and_contents_source_st::fix_create_fields(THD *thd, Alter_info *alter_info, const TABLE_LIST &create_table) { return vers_fix_system_fields(thd, alter_info, create_table) || fix_period_fiel...
152,862,138,874,746,770,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,389
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void ha_close_connection(THD* thd) { plugin_foreach_with_mask(thd, closecon_handlerton, MYSQL_STORAGE_ENGINE_PLUGIN, PLUGIN_IS_DELETED|PLUGIN_IS_READY, 0); }
68,955,005,788,400,400,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,390
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void handler::use_hidden_primary_key() { /* fallback to use all columns in the table to identify row */ table->column_bitmaps_set(&table->s->all_set, table->write_set); }
151,483,859,234,172,000,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,391
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
Compare_keys handler::compare_key_parts(const Field &old_field, const Column_definition &new_field, const KEY_PART_INFO &old_part, const KEY_PART_INFO &new_part) const { if (!old_field.is_equal(new_...
137,978,498,387,618,700,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,392
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static void update_discovery_counters(handlerton *hton, int val) { if (hton->discover_table_existence == full_discover_for_existence) need_full_discover_for_existence+= val; if (hton->discover_table_names && hton->tablefile_extensions[0]) engines_with_discover_file_names+= val; if (hton->discover_table)...
252,468,631,241,378,500,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,393
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
handlerton *ha_default_tmp_handlerton(THD *thd) { plugin_ref plugin= ha_default_tmp_plugin(thd); DBUG_ASSERT(plugin); handlerton *hton= plugin_hton(plugin); DBUG_ASSERT(hton); return hton; }
84,743,587,257,922,000,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,394
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
Vers_parse_info::fix_create_like(Alter_info &alter_info, HA_CREATE_INFO &create_info, TABLE_LIST &src_table, TABLE_LIST &table) { List_iterator<Create_field> it(alter_info.create_list); List_iterator<Key> key_it(alter_info.key_list); List_iterator<Key_part_spec> kp_it; Create_fi...
123,806,054,139,682,350,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,395
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void handler::rebind_psi() { /* Notify the instrumentation that this table is now owned by this thread. */ m_psi= PSI_CALL_rebind_table(ha_table_share_psi(), this, m_psi); }
16,850,630,212,534,948,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,396
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int del_global_index_stats_for_table(THD *thd, uchar* cache_key, size_t cache_key_length) { int res = 0; DBUG_ENTER("del_global_index_stats_for_table"); mysql_mutex_lock(&LOCK_global_index_stats); for (uint i= 0; i < global_index_stats.records;) { INDEX_STATS *index_stats = (INDEX_STATS*) my_hash_...
198,724,734,533,002,570,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,397
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool Create_field::vers_check_timestamp(const Lex_table_name &table_name) const { if (type_handler() == &type_handler_timestamp2 && length == MAX_DATETIME_FULL_WIDTH) return false; my_error(ER_VERS_FIELD_WRONG_TYPE, MYF(0), field_name.str, "TIMESTAMP(6)", table_name.str); return true; }
5,683,735,017,954,426,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,398
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_end() { int error= 0; DBUG_ENTER("ha_end"); /* This should be eventually based on the graceful shutdown flag. So if flag is equal to HA_PANIC_CLOSE, the deallocate the errors. */ if (unlikely(ha_finish_errors())) error= 1; DBUG_RETURN(error); }
16,967,560,433,119,907,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,399
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int binlog_log_row(TABLE* table, const uchar *before_record, const uchar *after_record, Log_func *log_func) { #ifdef WITH_WSREP THD *const thd= table->in_use; /* only InnoDB tables will be replicated through binlog emulation */ if ((WSREP_EMULATE_BINLOG(thd) && !(table->file->partition_...
35,534,187,325,659,634,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,400
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
plugin_ref ha_lock_engine(THD *thd, const handlerton *hton) { if (hton) { st_plugin_int *plugin= hton2plugin[hton->slot]; return my_plugin_lock(thd, plugin_int_to_ref(plugin)); } return NULL; }
112,175,974,516,860,360,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,401
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void handler::set_lock_type(enum thr_lock_type lock) { table->reginfo.lock_type= lock; }
211,375,880,291,382,570,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,402
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::read_range_next() { int result; DBUG_ENTER("handler::read_range_next"); if (eq_range) { /* We trust that index_next_same always gives a row in range */ DBUG_RETURN(ha_index_next_same(table->record[0], end_range->key, end...
95,428,502,330,933,230,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,403
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static int write_locked_table_maps(THD *thd) { DBUG_ENTER("write_locked_table_maps"); DBUG_PRINT("enter", ("thd:%p thd->lock:%p " "thd->extra_lock: %p", thd, thd->lock, thd->extra_lock)); DBUG_PRINT("debug", ("get_binlog_table_maps(): %d", thd->get_binlog_table_maps...
212,960,304,229,117,500,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,404
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static my_bool xarecover_handlerton(THD *unused, plugin_ref plugin, void *arg) { handlerton *hton= plugin_hton(plugin); struct xarecover_st *info= (struct xarecover_st *) arg; int got; if (hton->state == SHOW_OPTION_YES && hton->recover) { while ((got= hton->recover(ht...
86,395,548,049,707,830,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,405
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_commit_one_phase(THD *thd, bool all) { THD_TRANS *trans=all ? &thd->transaction.all : &thd->transaction.stmt; /* "real" is a nick name for a transaction for which a commit will make persistent changes. E.g. a 'stmt' transaction inside a 'all' transaction is not 'real': even though it's possible t...
90,398,727,681,110,170,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,406
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
double handler::keyread_time(uint index, uint ranges, ha_rows rows) { DBUG_ASSERT(ranges == 0 || ranges == 1); size_t len= table->key_info[index].key_length + ref_length; if (index == table->s->primary_key && table->file->primary_key_is_clustered()) len= table->s->stored_rec_length; double cost= (double)row...
253,360,905,607,968,780,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,407
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static int cmp_table_names(LEX_CSTRING * const *a, LEX_CSTRING * const *b) { return my_strnncoll(&my_charset_bin, (uchar*)((*a)->str), (*a)->length, (uchar*)((*b)->str), (*b)->length); }
285,214,970,998,734,100,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,408
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static bool vers_create_sys_field(THD *thd, const char *field_name, Alter_info *alter_info, int flags) { Create_field *f= vers_init_sys_field(thd, field_name, flags, false); if (!f) return true; alter_info->flags|= ALTER_PARSER_ADD_COLUMN; alter_info->create_list.push_back...
230,941,493,448,307,360,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,409
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void handler::unbind_psi() { /* Notify the instrumentation that this table is not owned by this thread any more. */ PSI_CALL_unbind_table(m_psi); }
190,149,992,449,843,340,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,410
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
commit_one_phase_2(THD *thd, bool all, THD_TRANS *trans, bool is_real_trans) { int error= 0; uint count= 0; Ha_trx_info *ha_info= trans->ha_list, *ha_info_next; DBUG_ENTER("commit_one_phase_2"); if (is_real_trans) DEBUG_SYNC(thd, "commit_one_phase_2"); if (ha_info) { for (; ha_info; ha_info= ha_i...
170,781,264,224,590,300,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,411
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
LEX_CSTRING *handler::engine_name() { return hton_name(ht); }
288,876,926,060,413,700,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,412
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_commit_or_rollback_by_xid(XID *xid, bool commit) { struct xahton_st xaop; xaop.xid= xid; xaop.result= 1; plugin_foreach(NULL, commit ? xacommit_handlerton : xarollback_handlerton, MYSQL_STORAGE_ENGINE_PLUGIN, &xaop); return xaop.result; }
80,668,180,158,318,730,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,413
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_discover_table(THD *thd, TABLE_SHARE *share) { DBUG_ENTER("ha_discover_table"); int found; DBUG_ASSERT(share->error == OPEN_FRM_OPEN_ERROR); // share is not OK yet if (!engines_with_discover) found= FALSE; else if (share->db_plugin) found= discover_handlerton(thd, share->db_plugin, share); ...
319,959,276,086,187,420,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,414
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::rename_table(const char * from, const char * to) { int error= 0; const char **ext, **start_ext; start_ext= bas_ext(); for (ext= start_ext; *ext ; ext++) { if (unlikely(rename_file_ext(from, to, *ext))) { if ((error=my_errno) != ENOENT) break; error= 0; } } if (unlikel...
206,764,043,560,913,140,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,415
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static int binlog_log_row_internal(TABLE* table, const uchar *before_record, const uchar *after_record, Log_func *log_func) { bool error= 0; THD *const thd= table->in_use; /* If there are no table maps wr...
256,267,792,455,066,560,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,416
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static plugin_ref ha_default_tmp_plugin(THD *thd) { if (thd->variables.tmp_table_plugin) return thd->variables.tmp_table_plugin; if (global_system_variables.tmp_table_plugin) return my_plugin_lock(thd, global_system_variables.tmp_table_plugin); return ha_default_plugin(thd); }
102,577,141,811,709,000,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,417
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static my_bool plugin_end_backup(THD *unused1, plugin_ref plugin, void *not_used) { handlerton *hton= plugin_hton(plugin); if (hton->state == SHOW_OPTION_YES && hton->end_backup) hton->end_backup(); return FALSE; }
101,706,955,423,538,830,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,418
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_delete_table(THD *thd, handlerton *table_type, const char *path, const LEX_CSTRING *db, const LEX_CSTRING *alias, bool generate_warning) { handler *file; char tmp_path[FN_REFLEN]; int error; TABLE dummy_table; TABLE_SHARE dummy_share; DBUG_ENTER("ha_delete_table"); /* table_typ...
9,526,885,993,375,931,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,419
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
Handler_share *handler::get_ha_share_ptr() { DBUG_ENTER("handler::get_ha_share_ptr"); DBUG_ASSERT(ha_share); DBUG_ASSERT(table_share); #ifndef DBUG_OFF if (table_share->tmp_table == NO_TMP_TABLE) mysql_mutex_assert_owner(&table_share->LOCK_ha_data); #endif DBUG_RETURN(*ha_share); }
92,497,219,728,870,460,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,420
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
handler::ha_delete_all_rows() { DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE || m_lock_type == F_WRLCK); mark_trx_read_write(); return delete_all_rows(); }
152,435,394,073,535,980,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,421
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
handler::ha_create(const char *name, TABLE *form, HA_CREATE_INFO *info_arg) { DBUG_ASSERT(m_lock_type == F_UNLCK); mark_trx_read_write(); int error= create(name, form, info_arg); if (!error && !(info_arg->options & (HA_LEX_CREATE_TMP_TABLE | HA_CREATE_TMP_ALTER))) mysql_audit_create_table(form); ret...
328,732,007,101,146,450,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,422
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::read_first_row(uchar * buf, uint primary_key) { int error; DBUG_ENTER("handler::read_first_row"); /* If there is very few deleted rows in the table, find the first row by scanning the table. TODO remove the test for HA_READ_ORDER */ if (stats.deleted < 10 || primary_key >= MAX_KEY ||...
19,746,427,373,775,808,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,423
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void ha_maria_implicit_commit(THD *thd, bool new_trn) { if (ha_maria::has_active_transaction(thd)) { int error; MDL_request mdl_request; mdl_request.init(MDL_key::BACKUP, "", "", MDL_BACKUP_COMMIT, MDL_EXPLICIT); error= thd->mdl_context.acquire_lock(&mdl_request, ...
44,438,169,129,714,170,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,424
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::delete_table(const char *name) { int saved_error= 0; int error= 0; int enoent_or_zero; if (ht->discover_table) enoent_or_zero= 0; // the table may not exist in the engine, it's ok else enoent_or_zero= ENOENT; // the first file of bas_ext() *must* exist for (const char **ext=bas_ext()...
327,889,409,884,133,760,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,425
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool handler::check_table_binlog_row_based(bool binlog_row) { if (table->versioned(VERS_TRX_ID)) return false; if (unlikely((table->in_use->variables.sql_log_bin_off))) return 0; /* Called by partitioning engine */ #ifdef WITH_WSREP if (!table->in_use->variables.sql_log_bin && ...
278,761,959,322,755,180,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,426
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool Vers_parse_info::is_start(const Create_field &f) const { return f.flags & VERS_ROW_START; }
169,910,718,329,613,140,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,427
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool handle_condition(THD *thd, uint sql_errno, const char* sqlstate, Sql_condition::enum_warning_level *level, const char* msg, Sql_condition ** cond_hdl) { *cond_hdl= NULL; if (sql_errno...
55,786,965,151,115,240,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,428
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_recover(HASH *commit_list) { struct xarecover_st info; DBUG_ENTER("ha_recover"); info.found_foreign_xids= info.found_my_xids= 0; info.commit_list= commit_list; info.dry_run= (info.commit_list==0 && tc_heuristic_recover==0); info.list= NULL; /* commit_list and tc_heuristic_recover cannot be set bot...
116,568,034,613,748,800,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,429
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
Discovered_table_list::Discovered_table_list(THD *thd_arg, Dynamic_array<LEX_CSTRING*> *tables_arg, const LEX_CSTRING *wild_arg) : thd(thd_arg), with_temps(false), tables(tables_arg) { if (wild_arg->str && wild_arg->str[0]) { wild= wild_arg->str; wend= wild + wild_arg->le...
29,771,803,733,742,617,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,430
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool ha_flush_logs(handlerton *db_type) { if (db_type == NULL) { if (plugin_foreach(NULL, flush_handlerton, MYSQL_STORAGE_ENGINE_PLUGIN, 0)) return TRUE; } else { if (db_type->state != SHOW_OPTION_YES || (db_type->flush_logs && db_type->flush_logs(db_type))) ...
283,284,013,929,903,540,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,431
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static my_bool xarollback_handlerton(THD *unused1, plugin_ref plugin, void *arg) { handlerton *hton= plugin_hton(plugin); if (hton->state == SHOW_OPTION_YES && hton->recover) { hton->rollback_by_xid(hton, ((struct xahton_st *)arg)->xid); ((struct xahton_st *)arg)->resu...
229,640,526,382,283,750,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,432
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void ha_drop_database(char* path) { plugin_foreach(NULL, dropdb_handlerton, MYSQL_STORAGE_ENGINE_PLUGIN, path); }
291,352,558,328,381,470,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,433
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::ha_update_row(const uchar *old_data, const uchar *new_data) { int error; Log_func *log_func= Update_rows_log_event::binlog_row_logging_function; DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE || m_lock_type == F_WRLCK); /* Some storage engines require that the new record is i...
45,289,824,561,024,990,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,434
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
handler::ha_change_partitions(HA_CREATE_INFO *create_info, const char *path, ulonglong * const copied, ulonglong * const deleted, const uchar *pack_frm_data, size_t pack_...
9,528,506,875,090,156,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,435
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool Table_scope_and_contents_source_st::check_fields( THD *thd, Alter_info *alter_info, const Lex_table_name &table_name, const Lex_table_name &db, int select_count) { return vers_check_system_fields(thd, alter_info, table_name, db, select_count) || check_period_fields(thd, ...
25,841,977,842,430,630,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,436
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static void flush_checksum(ha_checksum *row_crc, uchar **checksum_start, size_t *checksum_length) { if (*checksum_start) { *row_crc= my_checksum(*row_crc, *checksum_start, *checksum_length); *checksum_start= NULL; *checksum_length= 0; } }
222,129,884,256,251,600,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,437
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
Table_exists_error_handler() : m_handled_errors(0), m_unhandled_errors(0) {}
90,610,739,856,597,860,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,438
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static my_bool commit_checkpoint_request_handlerton(THD *unused1, plugin_ref plugin, void *data) { st_commit_checkpoint_request *st= (st_commit_checkpoint_request *)data; handlerton *hton= plugin_hton(plugin); if (hton->state == SHOW_OPTION_YES && hton->commit_checkpoint...
102,069,608,200,605,720,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,439
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::calculate_checksum() { int error; THD *thd=ha_thd(); DBUG_ASSERT(table->s->last_null_bit_pos < 8); uchar null_mask= table->s->last_null_bit_pos ? 256 - (1 << table->s->last_null_bit_pos) : 0; table->use_all_stored_columns(); stats.checksum= 0; if ((error= ha_rnd_init(1))...
113,843,276,767,187,990,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,440
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static my_bool exts_handlerton(THD *unused, plugin_ref plugin, void *arg) { List<char> *found_exts= (List<char> *) arg; handlerton *hton= plugin_hton(plugin); List_iterator_fast<char> it(*found_exts); const char **ext, *old_ext; for (ext= hton->tablefile_extensions; *ext; ext++...
192,889,865,393,527,380,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,441
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void ha_disable_internal_writes(bool disable) { plugin_foreach(NULL, plugin_disable_internal_writes, MYSQL_STORAGE_ENGINE_PLUGIN, &disable); }
315,247,420,536,502,960,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,442
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_rollback_to_savepoint(THD *thd, SAVEPOINT *sv) { int error=0; THD_TRANS *trans= (thd->in_sub_stmt ? &thd->transaction.stmt : &thd->transaction.all); Ha_trx_info *ha_info, *ha_info_next; DBUG_ENTER("ha_rollback_to_savepoint"); trans->no_2pc=0; /* rolling b...
189,855,851,136,875,970,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,443
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
handler::ha_enable_indexes(uint mode) { DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE || m_lock_type != F_UNLCK); mark_trx_read_write(); return enable_indexes(mode); }
196,264,008,682,313,700,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,444
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static my_bool showstat_handlerton(THD *thd, plugin_ref plugin, void *arg) { enum ha_stat_type stat= *(enum ha_stat_type *) arg; handlerton *hton= plugin_hton(plugin); if (hton->state == SHOW_OPTION_YES && hton->show_status && hton->show_status(hton, thd, stat_print, stat)...
201,027,013,998,100,770,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,445
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool Create_field::vers_check_bigint(const Lex_table_name &table_name) const { if (is_some_bigint() && flags & UNSIGNED_FLAG && length == MY_INT64_NUM_DECIMAL_DIGITS - 1) return false; my_error(ER_VERS_FIELD_WRONG_TYPE, MYF(0), field_name.str, "BIGINT(20) UNSIGNED", table_name.str); return t...
57,800,636,242,856,250,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,446
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int ha_init_errors(void) { #define SETMSG(nr, msg) handler_errmsgs[(nr) - HA_ERR_FIRST]= (msg) /* Allocate a pointer array for the error message strings. */ /* Zerofill it to avoid uninitialized gaps. */ if (! (handler_errmsgs= (const char**) my_malloc(HA_ERR_ERRORS * sizeof(char*), ...
275,452,798,422,961,860,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,447
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool Vers_parse_info::check_sys_fields(const Lex_table_name &table_name, const Lex_table_name &db, Alter_info *alter_info, bool can_native) const { if (check_conditions(table_name, db)) return true...
157,593,404,581,181,630,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,448
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::ha_rnd_pos(uchar *buf, uchar *pos) { int result; DBUG_ENTER("handler::ha_rnd_pos"); DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE || m_lock_type != F_UNLCK); DBUG_ASSERT(inited == RND); TABLE_IO_WAIT(tracker, m_psi, PSI_TABLE_FETCH_ROW, MAX_KEY, 0, { result= rnd_pos(buf, p...
192,056,041,056,942,500,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,449
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void ha_end_backup() { plugin_foreach_with_mask(0, plugin_end_backup, MYSQL_STORAGE_ENGINE_PLUGIN, PLUGIN_IS_DELETED|PLUGIN_IS_READY, 0); }
267,936,228,418,862,200,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,450
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void Discovered_table_list::sort_desc() { tables->sort(cmp_table_names_desc); }
46,372,653,295,609,110,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,451
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool Vers_parse_info::is_end(const char *name) const { DBUG_ASSERT(name); return as_row.end && as_row.end.streq(name); }
174,865,266,401,514,040,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,452
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
bool HA_CREATE_INFO::check_conflicting_charset_declarations(CHARSET_INFO *cs) { if ((used_fields & HA_CREATE_USED_DEFAULT_CHARSET) && /* DEFAULT vs explicit, or explicit vs DEFAULT */ (((default_table_charset == NULL) != (cs == NULL)) || /* Two different explicit character sets */ (default_ta...
261,793,212,031,484,460,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,453
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static my_bool flush_handlerton(THD *thd, plugin_ref plugin, void *arg) { handlerton *hton= plugin_hton(plugin); if (hton->state == SHOW_OPTION_YES && hton->flush_logs && hton->flush_logs(hton)) return TRUE; return FALSE; }
123,880,677,362,540,630,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,454
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
void handler::lock_shared_ha_data() { DBUG_ASSERT(table_share); if (table_share->tmp_table == NO_TMP_TABLE) mysql_mutex_lock(&table_share->LOCK_ha_data); }
34,484,607,307,444,376,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,455
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
ha_check_and_coalesce_trx_read_only(THD *thd, Ha_trx_info *ha_list, bool all) { /* The number of storage engines that have actual changes. */ unsigned rw_ha_count= 0; Ha_trx_info *ha_info; for (ha_info= ha_list; ha_info; ha_info= ha_info->next()) { if (ha_info->is_trx_...
11,068,988,344,847,973,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,456
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
static int check_duplicate_long_entries_update(TABLE *table, handler *h, uchar *new_rec) { Field *field; uint key_parts; int error= 0; KEY *keyinfo; KEY_PART_INFO *keypart; /* Here we are comparing whether new record and old record are same with respect to fields in hash_str */ uint reclength...
144,756,089,656,383,780,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,457
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
plugin_ref ha_resolve_by_name(THD *thd, const LEX_CSTRING *name, bool tmp_table) { const LEX_CSTRING *table_alias; plugin_ref plugin; redo: /* my_strnncoll is a macro and gcc doesn't do early expansion of macro */ if (thd && !my_charset_latin1.coll->strnncoll(&my_charset_latin1, ...
40,521,928,015,452,140,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,458
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::ha_index_last(uchar * buf) { int result; DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE || m_lock_type != F_UNLCK); DBUG_ASSERT(inited==INDEX); TABLE_IO_WAIT(tracker, m_psi, PSI_TABLE_FETCH_ROW, active_index, 0, { result= index_last(buf); }) increment_statistics(&SSV::ha_re...
208,296,019,929,695,900,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,459
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
int handler::ha_direct_delete_rows(ha_rows *delete_rows) { int error; /* Ensure we are not using binlog row */ DBUG_ASSERT(!table->in_use->is_current_stmt_binlog_format_row()); MYSQL_DELETE_ROW_START(table_share->db.str, table_share->table_name.str); mark_trx_read_write(); error = direct_delete_rows(delet...
129,582,925,250,679,200,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457
514,460
server
af810407f78b7f792a9bb8c47c8c532eb3b3a758
https://github.com/MariaDB/server
https://github.com/MariaDB/server/commit/af810407f78b7f792a9bb8c47c8c532eb3b3a758
MDEV-28098 incorrect key in "dup value" error after long unique reset errkey after using it, so that it wouldn't affect the next error message in the next statement
0
handler::ha_delete_table(const char *name) { mark_trx_read_write(); return delete_table(name); }
72,096,166,138,997,050,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2022-27457
MariaDB Server v10.6.3 and below was discovered to contain an use-after-free in the component my_mb_wc_latin1 at /strings/ctype-latin1.c.
https://nvd.nist.gov/vuln/detail/CVE-2022-27457