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,461 | 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_param(KEY_CACHE *key_cache)
{
DBUG_ENTER("ha_change_key_cache_param");
if (key_cache->key_cache_inited)
{
mysql_mutex_lock(&LOCK_global_system_variables);
uint division_limit= (uint)key_cache->param_division_limit;
uint age_threshold= (uint)key_cache->param_age_threshold;
... | 317,975,848,474,897,020,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,462 | 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_resize_key_cache(KEY_CACHE *key_cache)
{
DBUG_ENTER("ha_resize_key_cache");
if (key_cache->key_cache_inited)
{
mysql_mutex_lock(&LOCK_global_system_variables);
size_t tmp_buff_size= (size_t) key_cache->param_buff_size;
long tmp_block_size= (long) key_cache->param_block_size;
uint division_... | 189,570,005,177,399,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,463 | 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_plugin(THD *thd)
{
if (thd->variables.table_plugin)
return thd->variables.table_plugin;
return my_plugin_lock(thd, global_system_variables.table_plugin);
} | 91,357,763,010,312,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,464 | 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_show_status(THD *thd, handlerton *db_type, enum ha_stat_type stat)
{
List<Item> field_list;
Protocol *protocol= thd->protocol;
MEM_ROOT *mem_root= thd->mem_root;
bool result;
field_list.push_back(new (mem_root) Item_empty_string(thd, "Type", 10),
mem_root);
field_list.push_ba... | 126,842,656,050,717,590,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,465 | 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 Discovered_table_list::add_file(const char *fname)
{
bool is_temp= strncmp(fname, STRING_WITH_LEN(tmp_file_prefix)) == 0;
if (is_temp && !with_temps)
return 0;
char tname[SAFE_NAME_LEN + 1];
size_t tlen= filename_to_tablename(fname, tname, sizeof(tname), is_temp);
return add_table(tname, tlen);
} | 183,242,392,012,883,430,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,466 | 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_abort_transaction(THD *bf_thd, THD *victim_thd, my_bool signal)
{
DBUG_ENTER("ha_abort_transaction");
if (!WSREP(bf_thd) &&
!(bf_thd->variables.wsrep_OSU_method == WSREP_OSU_RSU &&
wsrep_thd_is_toi(bf_thd))) {
DBUG_RETURN(0);
}
handlerton *hton= installed_htons[DB_TYPE_INNODB];
if (h... | 333,686,291,719,844,940,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,467 | 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_drop_partitions(const char *path)
{
DBUG_ASSERT(!table->db_stat);
mark_trx_read_write();
return drop_partitions(path);
} | 233,140,786,072,814,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,468 | 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 Discovered_table_list::add_table(const char *tname, size_t tlen)
{
/*
TODO Check with_temps and filter out temp tables.
Implement the check, when we'll have at least one affected engine (with
custom discover_table_names() method, that calls add_table() directly).
Note: avoid comparing the same na... | 91,086,382,541,648,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,469 | 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 xacommit_handlerton(THD *unused1, plugin_ref plugin,
void *arg)
{
handlerton *hton= plugin_hton(plugin);
if (hton->state == SHOW_OPTION_YES && hton->recover)
{
hton->commit_by_xid(hton, ((struct xahton_st *)arg)->xid);
((struct xahton_st *)arg)->result= 0;... | 287,178,293,580,231,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,470 | 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_end_range(const key_range *end_key)
{
end_range= 0;
if (end_key)
{
end_range= &save_end_range;
save_end_range= *end_key;
key_compare_result_on_equal=
((end_key->flag == HA_READ_BEFORE_KEY) ? 1 :
(end_key->flag == HA_READ_AFTER_KEY) ? -1 : 0);
}
} | 37,993,490,133,462,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,471 | 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::ha_release_auto_increment()
{
DBUG_ENTER("ha_release_auto_increment");
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
m_lock_type != F_UNLCK ||
(!next_insert_id && !insert_id_for_cur_row));
release_auto_increment();
insert_id_for_cur_row= 0;
auto_inc_interval_f... | 264,915,843,711,437,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,472 | 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_initialize_handlerton(st_plugin_int *plugin)
{
handlerton *hton;
static const char *no_exts[]= { 0 };
DBUG_ENTER("ha_initialize_handlerton");
DBUG_PRINT("plugin", ("initialize plugin: '%s'", plugin->name.str));
hton= (handlerton *)my_malloc(sizeof(handlerton),
MYF(MY_WM... | 136,682,311,934,647,850,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,473 | 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_analyze(THD* thd, HA_CHECK_OPT* check_opt)
{
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
m_lock_type != F_UNLCK);
mark_trx_read_write();
return analyze(thd, check_opt);
} | 8,430,388,325,181,152,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,474 | 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_create_table(THD *thd, const char *path,
const char *db, const char *table_name,
HA_CREATE_INFO *create_info, LEX_CUSTRING *frm)
{
int error= 1;
TABLE table;
char name_buff[FN_REFLEN];
const char *name;
TABLE_SHARE share;
Abort_on_warning_instant_set old_abort_... | 14,157,123,385,765,913,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,475 | 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 | prev_insert_id(ulonglong nr, struct system_variables *variables)
{
if (unlikely(nr < variables->auto_increment_offset))
{
/*
There's nothing good we can do here. That is a pathological case, where
the offset is larger than the column's max possible value, i.e. not even
the first sequence value... | 29,865,315,894,561,150,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,476 | 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 snapshot_handlerton(THD *thd, plugin_ref plugin,
void *arg)
{
handlerton *hton= plugin_hton(plugin);
if (hton->state == SHOW_OPTION_YES &&
hton->start_consistent_snapshot)
{
if (hton->start_consistent_snapshot(hton, thd))
return TRUE;
*((bool *... | 231,201,297,472,010,940,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,477 | 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_check_and_repair(THD *thd)
{
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
m_lock_type == F_UNLCK);
mark_trx_read_write();
return check_and_repair(thd);
} | 263,912,060,630,360,160,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,478 | 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::get_error_message(int error, String* buf)
{
DBUG_EXECUTE_IF("external_lock_failure",
buf->set_ascii(STRING_WITH_LEN("KABOOM!")););
return FALSE;
} | 253,797,287,979,752,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,479 | 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 ext_based_existence(handlerton *, const char *, const char *)
{ return 0; } | 241,848,857,832,659,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,480 | 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 *get_new_handler(TABLE_SHARE *share, MEM_ROOT *alloc,
handlerton *db_type)
{
handler *file;
DBUG_ENTER("get_new_handler");
DBUG_PRINT("enter", ("alloc: %p", alloc));
if (db_type && db_type->state == SHOW_OPTION_YES && db_type->create)
{
if ((file= db_type->create(db_type,... | 321,544,908,092,762,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,481 | 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 prepare_or_error(handlerton *ht, THD *thd, bool all)
{
#ifdef WITH_WSREP
const bool run_wsrep_hooks= wsrep_run_commit_hook(thd, all);
if (run_wsrep_hooks && ht->flags & HTON_WSREP_REPLICATION &&
wsrep_before_prepare(thd, all))
{
return(1);
}
#endif /* WITH_WSREP */
int err= ht->prepare(h... | 276,606,541,127,165,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,482 | 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_file_names(const void *a, const void *b)
{
CHARSET_INFO *cs= character_set_filesystem;
char *aa= ((FILEINFO *)a)->name;
char *bb= ((FILEINFO *)b)->name;
return my_strnncoll(cs, (uchar*)aa, strlen(aa), (uchar*)bb, strlen(bb));
} | 95,970,076,625,260,120,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,483 | 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::get_auto_increment(ulonglong offset, ulonglong increment,
ulonglong nb_desired_values,
ulonglong *first_value,
ulonglong *nb_reserved_values)
{
ulonglong nr;
int error;
MY_BITMAP *old_read_set;
bool ... | 91,001,623,372,603,680,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,484 | 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 | extern "C" check_result_t handler_index_cond_check(void* h_arg)
{
handler *h= (handler*)h_arg;
THD *thd= h->table->in_use;
check_result_t res;
DEBUG_SYNC(thd, "handler_index_cond_check");
enum thd_kill_levels abort_at= h->has_transactions() ?
THD_ABORT_SOFTLY : THD_ABORT_ASAP;
if (thd_kill_level(thd) >... | 7,216,122,378,034,125,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,485 | 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_update_rows(ha_rows *update_rows, ha_rows *found_rows)
{
int error;
MYSQL_UPDATE_ROW_START(table_share->db.str, table_share->table_name.str);
mark_trx_read_write();
error = direct_update_rows(update_rows, found_rows);
MYSQL_UPDATE_ROW_DONE(error);
return error;
} | 214,168,007,385,510,850,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,486 | 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_stat(THD *thd, TABLE* table, KEY* key_info)
{
INDEX_STATS *index_stats;
size_t key_length= table->s->table_cache_key.length + key_info->name.length + 1;
int res = 0;
DBUG_ENTER("del_global_index_stat");
mysql_mutex_lock(&LOCK_global_index_stats);
if((index_stats= (INDEX_STATS*) my_hash... | 131,100,770,631,088,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,487 | 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::vers_fix_system_fields(
THD *thd, Alter_info *alter_info, const TABLE_LIST &create_table)
{
DBUG_ASSERT(!(alter_info->flags & ALTER_DROP_SYSTEM_VERSIONING));
DBUG_EXECUTE_IF("sysvers_force", if (!tmp_table()) {
alter_info->flags|= ALTER_ADD_SYSTEM_VERSIO... | 227,587,718,815,537,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,488 | 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_end_bulk_insert()
{
DBUG_ENTER("handler::ha_end_bulk_insert");
DBUG_EXECUTE_IF("crash_end_bulk_insert",
{ extra(HA_EXTRA_FLUSH) ; DBUG_SUICIDE();});
estimation_rows_to_insert= 0;
DBUG_RETURN(end_bulk_insert());
} | 88,859,213,086,625,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,489 | 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::mark_trx_read_write_internal()
{
Ha_trx_info *ha_info= &ha_thd()->ha_data[ht->slot].ha_info[0];
/*
When a storage engine method is called, the transaction must
have been started, unless it's a DDL call, for which the
storage engine starts the transaction internally, and commits
it inte... | 201,420,443,148,644,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,490 | 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::need_check(const Alter_info *alter_info) const
{
return versioned_fields || unversioned_fields ||
alter_info->flags & ALTER_ADD_PERIOD ||
alter_info->flags & ALTER_DROP_PERIOD ||
alter_info->flags & ALTER_ADD_SYSTEM_VERSIONING ||
alter_info->flags & ALTER_DROP... | 126,632,389,966,238,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,491 | 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_close(void)
{
DBUG_ENTER("ha_close");
/*
Increment global statistics for temporary tables.
In_use is 0 for tables that was closed from the table cache.
*/
if (table->in_use)
status_var_add(table->in_use->status_var.rows_tmp_read, rows_tmp_read);
PSI_CALL_close_table(m_psi);
m_psi... | 231,180,121,872,775,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,492 | 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::get_dynamic_partition_info(PARTITION_STATS *stat_info,
uint part_id)
{
info(HA_STATUS_CONST | HA_STATUS_TIME | HA_STATUS_VARIABLE |
HA_STATUS_NO_LOCK);
stat_info->records= stats.records;
stat_info->mean_rec_length= stats.mean_rec_leng... | 178,935,125,600,478,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,493 | 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 *handler::clone(const char *name, MEM_ROOT *mem_root)
{
handler *new_handler= get_new_handler(table->s, mem_root, ht);
if (!new_handler)
return NULL;
if (new_handler->set_ha_share_ref(ha_share))
goto err;
/*
TODO: Implement a more efficient way to have more than one index open for
the ... | 219,610,993,005,671,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,494 | 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_table_stats()
{
TABLE_STATS * table_stats;
status_var_add(table->in_use->status_var.rows_read, rows_read);
DBUG_ASSERT(rows_tmp_read == 0);
if (!table->in_use->userstat_running)
{
rows_read= rows_changed= 0;
return;
}
if (rows_read + rows_changed == 0)
return; ... | 223,321,491,138,720,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,495 | 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 | THD *handler::ha_thd(void) const
{
DBUG_ASSERT(!table || !table->in_use || table->in_use == current_thd);
return (table && table->in_use) ? table->in_use : current_thd;
} | 58,388,027,753,076,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,496 | 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::drop_table(const char *name)
{
ha_close();
delete_table(name);
} | 323,123,049,376,486,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,497 | 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()
{
int error= 0;
DBUG_ENTER("ha_init");
DBUG_ASSERT(total_ha < MAX_HA);
/*
Check if there is a transaction-capable storage engine besides the
binary log (which is considered a transaction-capable storage engine in
counting total_ha)
*/
opt_using_transactions= total_ha > (ulong) opt... | 181,350,961,965,619,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,498 | 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::column_bitmaps_signal()
{
DBUG_ENTER("column_bitmaps_signal");
if (table)
DBUG_PRINT("info", ("read_set: %p write_set: %p",
table->read_set, table->write_set));
DBUG_VOID_RETURN;
} | 302,036,447,903,306,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,499 | 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 full_discover_for_existence(handlerton *, const char *, const char *)
{ return 0; } | 117,460,147,672,476,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,500 | 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_read_map(uchar *buf, const uchar *key,
key_part_map keypart_map,
enum ha_rkey_function find_flag)
{
int result;
DBUG_ENTER("handler::ha_index_read_map");
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
... | 338,716,967,570,240,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,501 | 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_enable_transaction(THD *thd, bool on)
{
int error=0;
DBUG_ENTER("ha_enable_transaction");
DBUG_PRINT("enter", ("on: %d", (int) on));
if ((thd->transaction.on= on))
{
/*
Now all storage engines should have transaction handling enabled.
But some may have it enabled all the time - "disabl... | 305,923,423,877,385,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,502 | 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::check_old_types()
{
Field** field;
if (!table->s->mysql_version)
{
/* check for bad DECIMAL field */
for (field= table->field; (*field); field++)
{
if ((*field)->type() == MYSQL_TYPE_NEWDECIMAL)
{
return HA_ADMIN_NEEDS_ALTER;
}
if ((*field)->type() == MYSQ... | 255,684,462,218,788,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,503 | 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_next_same(uchar *buf, const uchar *key, uint keylen)
{
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_next_same(buf... | 289,415,720,967,203,660,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,504 | 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_key_cache(const char *name, KEY_CACHE *key_cache, void *unused
__attribute__((unused)))
{
DBUG_ENTER("ha_init_key_cache");
if (!key_cache->key_cache_inited)
{
mysql_mutex_lock(&LOCK_global_system_variables);
size_t tmp_buff_size= (size_t) key_cache->param_buff_size;
... | 311,280,911,849,986,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,505 | 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 | check_result_t handler_rowid_filter_check(void *h_arg)
{
handler *h= (handler*) h_arg;
TABLE *tab= h->get_table();
/*
Check for out-of-range and killed conditions only if we haven't done it
already in the pushed index condition check
*/
if (!h->pushed_idx_cond)
{
THD *thd= h->table->in_use;
... | 14,174,470,728,616,210,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,506 | 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_period_info::check_field(const Create_field* f,
const Lex_ident& f_name) const
{
bool res= false;
if (!f)
{
my_error(ER_BAD_FIELD_ERROR, MYF(0), f_name.str, name.str);
res= true;
}
else if (f->type_handler()->mysql_timestamp_type() != MYSQL_TIMESTAMP_DATE... | 8,730,999,003,622,825,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,507 | 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_period_fields(
THD *thd, Alter_info *alter_info)
{
if (!period_info.name)
return false;
if (tmp_table())
{
my_error(ER_PERIOD_TEMPORARY_NOT_ALLOWED, MYF(0));
return true;
}
Table_period_info::start_end_t &period= period_info.period;
... | 325,651,539,029,530,740,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,508 | 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_prepare_for_backup(THD *unused1, plugin_ref plugin,
void *not_used)
{
handlerton *hton= plugin_hton(plugin);
if (hton->state == SHOW_OPTION_YES && hton->prepare_for_backup)
hton->prepare_for_backup();
return FALSE;
} | 218,383,397,479,226,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,509 | 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_discard_or_import_tablespace(my_bool discard)
{
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
m_lock_type == F_WRLCK);
mark_trx_read_write();
return discard_or_import_tablespace(discard);
} | 326,777,028,518,011,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,510 | 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_partitioning_metadata(const char *name,
const char *old_name,
int action_flag)
{
/*
Normally this is done when unlocked, but in fast_alter_partition_table,
it is done on an already locked handler when preparin... | 224,574,835,614,505,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,511 | 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_delete_row(const uchar *buf)
{
int error;
Log_func *log_func= Delete_rows_log_event::binlog_row_logging_function;
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
m_lock_type == F_WRLCK);
/*
Normally table->record[0] is used, but sometimes table->record[1] is used.
*/
... | 305,608,665,545,888,530,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,512 | 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_repair(THD* thd, HA_CHECK_OPT* check_opt)
{
int result;
mark_trx_read_write();
result= repair(thd, check_opt);
DBUG_ASSERT(result == HA_ADMIN_NOT_IMPLEMENTED ||
ha_table_flags() & HA_CAN_REPAIR);
if (result == HA_ADMIN_OK)
result= update_frm_version(table);
return result... | 272,564,471,451,655,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,513 | 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_first(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_first(buf); })
increment_statistics(&SSV::ha_... | 118,756,044,232,461,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,514 | 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_commit_checkpoint_request(void *cookie, void (*pre_hook)(void *))
{
st_commit_checkpoint_request st;
st.cookie= cookie;
st.pre_hook= pre_hook;
plugin_foreach(NULL, commit_checkpoint_request_handlerton,
MYSQL_STORAGE_ENGINE_PLUGIN, &st);
} | 242,719,254,074,833,520,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,515 | 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 discover_existence(THD *thd, plugin_ref plugin,
void *arg)
{
st_discover_existence_args *args= (st_discover_existence_args*)arg;
handlerton *ht= plugin_hton(plugin);
if (ht->state != SHOW_OPTION_YES || !ht->discover_table_existence)
return args->frm_exists;
... | 188,280,370,024,913,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,516 | 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_next(uchar * buf)
{
int result;
DBUG_ENTER("handler::ha_index_next");
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_next(buf)... | 145,325,101,223,761,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,517 | 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 safely_trapped_errors()
{
return ((m_handled_errors > 0) && (m_unhandled_errors == 0));
} | 139,019,485,613,932,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,518 | 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::remove_duplicates()
{
LEX_CSTRING **src= tables->front();
LEX_CSTRING **dst= src;
sort();
while (++dst <= tables->back())
{
LEX_CSTRING *s= *src, *d= *dst;
DBUG_ASSERT(strncmp(s->str, d->str, MY_MIN(s->length, d->length)) <= 0);
if ((s->length != d->length || strncmp(s-... | 131,380,964,335,233,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,519 | 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_init_with_error(bool scan)
{
int error;
if (likely(!(error= ha_rnd_init(scan))))
return 0;
table->file->print_error(error, MYF(0));
return error;
} | 225,200,871,655,370,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,520 | 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::index_next_same(uchar *buf, const uchar *key, uint keylen)
{
int error;
DBUG_ENTER("handler::index_next_same");
if (!(error=index_next(buf)))
{
my_ptrdiff_t ptrdiff= buf - table->record[0];
uchar *UNINIT_VAR(save_record_0);
KEY *UNINIT_VAR(key_info);
KEY_PART_INFO *UNINIT_VAR(key_pa... | 213,368,700,811,396,660,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,521 | 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_kill_query(THD* thd, enum thd_kill_levels level)
{
DBUG_ENTER("ha_kill_query");
plugin_foreach(thd, kill_handlerton, MYSQL_STORAGE_ENGINE_PLUGIN, &level);
DBUG_VOID_RETURN;
} | 299,568,997,202,386,670,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,522 | 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_external_lock(THD *thd, int lock_type)
{
int error;
DBUG_ENTER("handler::ha_external_lock");
/*
Whether this is lock or unlock, this should be true, and is to verify that
if get_auto_increment() was called (thus may have reserved intervals or
taken a table lock), ha_release_auto_increm... | 168,335,379,392,594,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,523 | 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_reset()
{
DBUG_ENTER("ha_reset");
/* Check that we have called all proper deallocation functions */
DBUG_ASSERT((uchar*) table->def_read_set.bitmap +
table->s->column_bitmap_size ==
(uchar*) table->def_write_set.bitmap);
DBUG_ASSERT(bitmap_is_set_all(&table->s->all_se... | 267,588,504,349,815,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,524 | 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 dropdb_handlerton(THD *unused1, plugin_ref plugin,
void *path)
{
handlerton *hton= plugin_hton(plugin);
if (hton->state == SHOW_OPTION_YES && hton->drop_database)
hton->drop_database(hton, (char *)path);
return FALSE;
} | 92,193,811,543,092,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,525 | 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_savepoint(THD *thd, SAVEPOINT *sv)
{
#ifdef WITH_WSREP
/*
Register binlog hton for savepoint processing if wsrep binlog
emulation is on.
*/
if (WSREP_EMULATE_BINLOG(thd) && wsrep_thd_is_local(thd))
{
wsrep_register_binlog_handler(thd, thd->in_multi_stmt_transaction_mode());
}
#endif /* WIT... | 178,357,315,427,868,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,526 | 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_drop_table(const char *name)
{
DBUG_ASSERT(m_lock_type == F_UNLCK);
mark_trx_read_write();
return drop_table(name);
} | 316,250,507,119,515,840,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,527 | 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::fix_implicit(THD *thd, Alter_info *alter_info)
{
// If user specified some of these he must specify the others too. Do nothing.
if (*this)
return false;
alter_info->flags|= ALTER_PARSER_ADD_COLUMN;
period= start_end_t(default_start, default_end);
as_row= period;
if (vers_create_... | 34,532,797,745,552,523,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,528 | 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_internal(bool binlog_row)
{
THD *thd= table->in_use;
return (table->s->can_do_row_logging &&
thd->is_current_stmt_binlog_format_row() &&
/*
Wsrep partially enables binary logging if it have not been
explicitly turned on. As a re... | 307,233,828,520,555,280,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,529 | 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::unlock_shared_ha_data()
{
DBUG_ASSERT(table_share);
if (table_share->tmp_table == NO_TMP_TABLE)
mysql_mutex_unlock(&table_share->LOCK_ha_data);
} | 278,907,263,860,764,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,530 | 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 | extern "C" int handler_rowid_filter_is_active(void *h_arg)
{
if (!h_arg)
return false;
handler *h= (handler*) h_arg;
return h->rowid_filter_is_active;
} | 105,592,278,813,682,920,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,531 | 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_was_semi_consistent_read()
{
bool result= was_semi_consistent_read();
if (result)
increment_statistics(&SSV::ha_read_retry_count);
return result;
} | 81,467,042,129,621,255,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,532 | 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::adjust_next_insert_id_after_explicit_value(ulonglong nr)
{
/*
If we have set THD::next_insert_id previously and plan to insert an
explicitly-specified value larger than this, we need to increase
THD::next_insert_id to be greater than the explicit value.
*/
if ((next_insert_id > 0) && (nr... | 119,330,257,765,083,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,533 | 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 *get_ha_partition(partition_info *part_info)
{
ha_partition *partition;
DBUG_ENTER("get_ha_partition");
if ((partition= new ha_partition(partition_hton, part_info)))
{
if (partition->initialize_partition(current_thd->mem_root))
{
delete partition;
partition= 0;
}
else
p... | 5,264,137,123,677,269,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,534 | 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 print_keydup_error(TABLE *table, KEY *key, myf errflag)
{
print_keydup_error(table, key,
ER_THD(table->in_use, ER_DUP_ENTRY_WITH_KEY_NAME),
errflag);
} | 328,213,525,450,658,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,535 | 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::print_error(int error, myf errflag)
{
bool fatal_error= 0;
DBUG_ENTER("handler::print_error");
DBUG_PRINT("enter",("error: %d",error));
if (ha_thd()->transaction_rollback_request)
{
/* Ensure this becomes a true error */
errflag&= ~(ME_WARNING | ME_NOTE);
}
int textno= -1; // impos... | 166,818,593,904,132,840,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,536 | 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_optimize(THD* thd, HA_CHECK_OPT* check_opt)
{
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
m_lock_type == F_WRLCK);
mark_trx_read_write();
return optimize(thd, check_opt);
} | 324,575,169,989,445,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,537 | 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_reset_auto_increment(ulonglong value)
{
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
m_lock_type == F_WRLCK);
mark_trx_read_write();
return reset_auto_increment(value);
} | 134,635,104,809,610,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,538 | 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_rename_partitions(const char *path)
{
DBUG_ASSERT(!table->db_stat);
mark_trx_read_write();
return rename_partitions(path);
} | 262,427,169,510,761,060,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,539 | 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_trans(THD *thd, bool all)
{
int error=0;
THD_TRANS *trans=all ? &thd->transaction.all : &thd->transaction.stmt;
Ha_trx_info *ha_info= trans->ha_list, *ha_info_next;
/*
"real" is a nick name for a transaction for which a commit will
make persistent changes. E.g. a 'stmt' transaction insid... | 83,683,663,105,082,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,540 | 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_finalize_handlerton(st_plugin_int *plugin)
{
handlerton *hton= (handlerton *)plugin->data;
DBUG_ENTER("ha_finalize_handlerton");
/* hton can be NULL here, if ha_initialize_handlerton() failed. */
if (!hton)
goto end;
switch (hton->state) {
case SHOW_OPTION_NO:
case SHOW_OPTION_DISABLED:
b... | 192,119,643,459,142,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,541 | 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_for_upgrade(HA_CHECK_OPT *check_opt)
{
int error;
KEY *keyinfo, *keyend;
KEY_PART_INFO *keypart, *keypartend;
if (table->s->incompatible_version)
return HA_ADMIN_NEEDS_ALTER;
if (!table->s->mysql_version)
{
/* check for blob-in-key error */
keyinfo= table->key_info;
k... | 115,444,368,197,289,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,542 | 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_rollback_to_savepoint_can_release_mdl(THD *thd)
{
Ha_trx_info *ha_info;
THD_TRANS *trans= (thd->in_sub_stmt ? &thd->transaction.stmt :
&thd->transaction.all);
DBUG_ENTER("ha_rollback_to_savepoint_can_release_mdl");
/**
Checking whether it is safe to release ... | 60,942,485,070,113,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,543 | 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::check_collation_compatibility()
{
ulong mysql_version= table->s->mysql_version;
if (mysql_version < 50124)
{
KEY *key= table->key_info;
KEY *key_end= key + table->s->keys;
for (; key < key_end; key++)
{
KEY_PART_INFO *key_part= key->key_part;
KEY_PART_INFO *key_part_end= ... | 221,406,909,242,521,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,544 | 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 | PSI_table_share *handler::ha_table_share_psi() const
{
return table_share->m_psi;
} | 278,919,769,891,243,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,545 | 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 kill_handlerton(THD *thd, plugin_ref plugin,
void *level)
{
handlerton *hton= plugin_hton(plugin);
mysql_mutex_assert_owner(&thd->LOCK_thd_kill);
if (hton->state == SHOW_OPTION_YES && hton->kill_query &&
thd_get_ha_data(thd, hton))
hton->kill_query(hton, th... | 138,160,242,282,915,580,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,546 | 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_names(THD *thd, LEX_CSTRING *db, MY_DIR *dirp,
Discovered_table_list *result, bool reusable)
{
int error;
DBUG_ENTER("ha_discover_table_names");
if (engines_with_discover_file_names == 0 && !reusable)
{
st_discover_names_args args= {db, NULL, result, 0};
... | 275,360,692,504,219,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,577 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | Field *Item_default_value::create_tmp_field_ex(TABLE *table,
Tmp_field_src *src,
const Tmp_field_param *param)
{
if (field->default_value && (field->flags & BLOB_FLAG))
{
/*
We have to use a copy function when ... | 185,412,635,255,207,530,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,578 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | Item *eliminate_item_equal(THD *thd, COND *cond, COND_EQUAL *upper_levels,
Item_equal *item_equal)
{
List<Item> eq_list;
Item_func_eq *eq_item= 0;
if (((Item *) item_equal)->const_item() && !item_equal->val_int())
return new (thd->mem_root) Item_bool(thd, false);
Item *item_const=... | 303,692,076,369,504,200,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,579 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | bool JOIN_TAB::save_explain_data(Explain_table_access *eta,
table_map prefix_tables,
bool distinct_arg, JOIN_TAB *first_top_tab)
{
int quick_type;
CHARSET_INFO *cs= system_charset_info;
THD *thd= join->thd;
TABLE_LIST *table_list= table->po... | 267,728,480,064,776,500,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,580 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | COND *Item_cond_and::build_equal_items(THD *thd,
COND_EQUAL *inherited,
bool link_item_fields,
COND_EQUAL **cond_equal_ref)
{
Item_equal *item_equal;
COND_EQUAL cond_equal;
cond_equal.upper_levels=... | 212,709,971,972,920,400,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,581 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | test_if_cheaper_ordering(const JOIN_TAB *tab, ORDER *order, TABLE *table,
key_map usable_keys, int ref_key,
ha_rows select_limit_arg,
int *new_key, int *new_key_direction,
ha_rows *new_select_limit, uint *new_used_key_p... | 195,986,745,784,263,950,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,582 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | propagate_cond_constants(THD *thd, I_List<COND_CMP> *save_list,
COND *and_father, COND *cond)
{
if (cond->type() == Item::COND_ITEM)
{
bool and_level= ((Item_cond*) cond)->functype() ==
Item_func::COND_AND_FUNC;
List_iterator_fast<Item> li(*((Item_cond*) cond)->argument_list()... | 262,398,543,394,546,270,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,583 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | void JOIN_TAB::cleanup()
{
DBUG_ENTER("JOIN_TAB::cleanup");
DBUG_PRINT("enter", ("tab: %p table %s.%s",
this,
(table ? table->s->db.str : "?"),
(table ? table->s->table_name.str : "?")));
delete select;
select= 0;
delete quick;
quick= ... | 125,486,298,048,367,170,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,584 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | Field *create_tmp_field(TABLE *table, Item *item,
Item ***copy_func, Field **from_field,
Field **default_field,
bool group, bool modify_item,
bool table_cant_handle_bit_fields,
bool make_copy_field)
{... | 236,604,621,700,871,130,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,585 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | COND *Item_func_eq::build_equal_items(THD *thd,
COND_EQUAL *inherited,
bool link_item_fields,
COND_EQUAL **cond_equal_ref)
{
COND_EQUAL cond_equal;
cond_equal.upper_levels= inherited;
List<Item> eq_li... | 155,555,192,772,655,920,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,586 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | Item_bool_func2::remove_eq_conds(THD *thd, Item::cond_result *cond_value,
bool top_level_arg)
{
if (const_item() && !is_expensive())
{
*cond_value= eval_const_cond() ? Item::COND_TRUE : Item::COND_FALSE;
return (COND*) 0;
}
if ((*cond_value= eq_cmp_result()) != Item::CON... | 153,274,305,932,554,540,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,587 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | void set_position(JOIN *join,uint idx,JOIN_TAB *table,KEYUSE *key)
{
join->positions[idx].table= table;
join->positions[idx].key=key;
join->positions[idx].records_read=1.0; /* This is a const table */
join->positions[idx].cond_selectivity= 1.0;
join->positions[idx].ref_depend_map= 0;
// join->positions[idx]... | 13,089,660,378,987,474,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,588 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | find_order_in_list(THD *thd, Ref_ptr_array ref_pointer_array,
TABLE_LIST *tables,
ORDER *order, List<Item> &fields, List<Item> &all_fields,
bool is_group_field, bool add_to_all_fields,
bool from_window_spec)
{
Item *order_item= *order->item; ... | 158,380,182,985,347,940,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,589 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | void TABLE_LIST::print(THD *thd, table_map eliminated_tables, String *str,
enum_query_type query_type)
{
if (nested_join)
{
str->append('(');
print_join(thd, eliminated_tables, str, &nested_join->join_list, query_type);
str->append(')');
}
else if (jtbm_subselect)
{
if ... | 9,376,850,337,760,874,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
514,590 | server | 8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/8c34eab9688b4face54f15f89f5d62bdfd93b8a7 | MDEV-28094 Window function in expression in ORDER BY
call item->split_sum_func() in setup_order() just as
it's done in setup_fields() | 0 | bool JOIN::make_aggr_tables_info()
{
List<Item> *curr_all_fields= &all_fields;
List<Item> *curr_fields_list= &fields_list;
JOIN_TAB *curr_tab= join_tab + const_tables;
TABLE *exec_tmp_table= NULL;
bool distinct= false;
bool keep_row_order= false;
bool is_having_added_as_table_cond= false;
DBUG_ENTER("JO... | 266,076,392,248,796,900,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2022-27451 | MariaDB Server v10.9 and below was discovered to contain a segmentation fault via the component sql/field_conv.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27451 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.