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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
512,030 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_union_engine::exec()
{
char const *save_where= thd->where;
int res= unit->exec();
thd->where= save_where;
return res;
} | 220,823,142,081,738,920,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,031 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_indexsubquery_engine::print(String *str,
enum_query_type query_type)
{
str->append(STRING_WITH_LEN("<index_lookup>("));
tab->ref.items[0]->print(str, query_type);
str->append(STRING_WITH_LEN(" in "));
str->append(tab->table->s->table_name.str, tab->table... | 89,940,423,127,545,360,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,032 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void check_out_index_stats(JOIN *join)
{
ORDER *order;
uint n_order_items;
/*
First, collect the keys that we can use in each table.
We can use a key if
- all tables refer to it.
*/
key_map key_start_use[MAX_TABLES];
key_map key_infix_use[MAX_TABLES];
table_map key_used=0;
table_map non_ke... | 10,734,838,614,894,992,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,033 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_hash_sj_engine::exec()
{
Item_in_subselect *item_in= (Item_in_subselect *) item;
SELECT_LEX *save_select= thd->lex->current_select;
subselect_partial_match_engine *pm_engine= NULL;
int res= 0;
DBUG_ENTER("subselect_hash_sj_engine::exec");
/*
Optimize and materialize the subquery during t... | 184,675,220,275,468,200,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,034 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_union_engine::change_result(Item_subselect *si,
select_result_interceptor *res,
bool temp)
{
item= si;
int rc= unit->change_result(res, result);
if (temp)
thd->change_item_tree((Item**) &result, (Item*)res);
... | 274,382,015,730,428,380,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,035 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_subselect::~Item_subselect()
{
DBUG_ENTER("Item_subselect::~Item_subselect");
DBUG_PRINT("enter", ("this: %p", this));
if (own_engine)
delete engine;
else
engine->cleanup();
engine= NULL;
DBUG_VOID_RETURN;
} | 54,475,206,049,367,700,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,036 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_single_select_engine::may_be_null()
{
return ((no_tables() && !join->conds && !join->having) ? maybe_null : 1);
} | 284,230,245,926,547,400,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,037 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_hash_sj_engine::get_strategy_using_data()
{
Item_in_subselect *item_in= (Item_in_subselect *) item;
select_materialize_with_stats *result_sink=
(select_materialize_with_stats *) result;
Item *outer_col;
/*
If we already determined that a complete match is enough based on schema
informatio... | 136,503,149,423,166,910,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,038 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_singlerow_subselect::store(uint i, Item *item)
{
row[i]->store(item);
row[i]->cache_value();
} | 101,847,767,896,719,130,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,039 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Ordered_key::cmp_keys_by_row_data_and_rownum(Ordered_key *key,
rownum_t* a, rownum_t* b)
{
/* The result of comparing the two keys according to their row data. */
int cmp_row_res= key->cmp_keys_by_row_data(*a, *b);
if (cmp_row_res)
return cmp_row_res;
return (*a ... | 58,715,669,260,148,390,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,040 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Ordered_key::alloc_keys_buffers()
{
DBUG_ASSERT(key_buff_elements > 0);
if (!(key_buff= (rownum_t*) my_malloc((size_t)(key_buff_elements *
sizeof(rownum_t)), MYF(MY_WME | MY_THREAD_SPECIFIC))))
return TRUE;
/*
TIMOUR: it is enough to create bitmaps with size
(max_null_row - min_null_row), ... | 229,905,562,759,593,270,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,041 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_singlerow_subselect::Item_singlerow_subselect(THD *thd, st_select_lex *select_lex):
Item_subselect(thd), value(0)
{
DBUG_ENTER("Item_singlerow_subselect::Item_singlerow_subselect");
init(select_lex, new (thd->mem_root) select_singlerow_subselect(thd, this));
maybe_null= 1;
max_columns= UINT_MAX;
DBUG_V... | 122,704,707,820,130,380,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,042 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_single_select_engine::exec()
{
DBUG_ENTER("subselect_single_select_engine::exec");
char const *save_where= thd->where;
SELECT_LEX *save_select= thd->lex->current_select;
thd->lex->current_select= select_lex;
if (join->optimization_state == JOIN::NOT_OPTIMIZED)
{
SELECT_LEX_UNIT *unit= se... | 189,440,048,210,211,540,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,043 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_union_engine::subselect_union_engine(st_select_lex_unit *u,
select_result_interceptor *result_arg,
Item_subselect *item_arg)
:subselect_engine(item_arg, result_arg)
{
unit= u;
unit->item= item_arg;
} | 274,192,072,472,743,700,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,044 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int Item_in_subselect::get_identifier()
{
return engine->get_identifier();
} | 286,217,446,181,377,030,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,045 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Ordered_key::cleanup()
{
/*
Currently these keys are recreated for each PS re-execution, thus
there is nothing to cleanup, the whole object goes away after execution
is over. All handler related initialization/deinitialization is done by
the parent subselect_rowid_merge_engine object.
*/
} | 11,475,109,660,196,578,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,046 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | enum_field_types Item_singlerow_subselect::field_type() const
{
return engine->field_type();
} | 221,083,925,975,441,660,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,047 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_allany_subselect::cleanup()
{
/*
The MAX/MIN transformation through injection is reverted through the
change_item_tree() mechanism. Revert the select_lex object of the
query to its initial state.
*/
for (SELECT_LEX *sl= unit->first_select();
sl; sl= sl->next_select())
if (test_set... | 264,016,465,463,702,200,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,048 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_hash_sj_engine::init(List<Item> *tmp_columns, uint subquery_id)
{
THD *thd= get_thd();
select_union *result_sink;
/* Options to create_tmp_table. */
ulonglong tmp_create_options= thd->variables.option_bits | TMP_TABLE_ALL_COLUMNS;
/* | TMP_TABLE_FORCE_MYISAM; TIMOUR: ... | 94,534,256,215,167,530,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,049 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_single_select_engine::force_reexecution()
{
executed= false;
} | 317,728,936,100,881,370,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,050 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_hash_sj_engine::cleanup()
{
enum_engine_type lookup_engine_type= lookup_engine->engine_type();
is_materialized= FALSE;
bitmap_clear_all(&non_null_key_parts);
bitmap_clear_all(&partial_match_key_parts);
count_partial_match_columns= 0;
count_null_only_columns= 0;
strategy= UNDEFINED;
materi... | 322,177,230,178,690,300,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,051 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | ulonglong subselect_hash_sj_engine::rowid_merge_buff_size(
bool has_non_null_key, bool has_covering_null_row,
MY_BITMAP *partial_match_key_parts)
{
/* Total size of all buffers used by partial matching. */
ulonglong buff_size;
ha_rows row_count= tmp_table->file->stats.records;
uint rowid_length= tmp_table->... | 179,174,316,042,987,700,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,052 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_rowid_merge_engine::
exists_complementing_null_row(MY_BITMAP *keys_to_complement)
{
rownum_t highest_min_row= 0;
rownum_t lowest_max_row= UINT_MAX;
uint count_null_keys, i;
Ordered_key *cur_key;
if (!count_columns_with_nulls)
{
/*
If there are both NULLs and non-NUll values in the ... | 79,101,720,006,736,020,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,053 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::fix_length_and_dec()
{
if (engine->fix_length_and_dec(0))
return TRUE;
return FALSE;
} | 223,393,962,026,677,660,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,054 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_allany_subselect::transform_into_max_min(JOIN *join)
{
DBUG_ENTER("Item_allany_subselect::transform_into_max_min");
if (!test_strategy(SUBS_MAXMIN_INJECTED | SUBS_MAXMIN_ENGINE))
DBUG_RETURN(false);
Item **place= optimizer->arguments() + 1;
SELECT_LEX *select_lex= join->select_lex;
Item *subs;
... | 128,721,618,759,891,460,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,055 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::mark_as_eliminated_processor(void *arg)
{
eliminated= TRUE;
return FALSE;
} | 247,928,532,085,499,750,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,056 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_subselect::Item_subselect(THD *thd_arg):
Item_result_field(thd_arg), Used_tables_and_const_cache(),
value_assigned(0), own_engine(0), thd(0), old_engine(0),
have_to_be_excluded(0),
inside_first_fix_fields(0), done_first_fix_fields(FALSE),
expr_cache(0), forced_const(FALSE), substitution(0), engine(0), e... | 205,274,513,678,314,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,057 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::fix_length_and_dec()
{
DBUG_ENTER("Item_in_subselect::fix_length_and_dec");
init_length_and_dec();
/*
Unlike Item_exists_subselect, LIMIT 1 is set later for
Item_in_subselect, depending on the chosen strategy.
*/
DBUG_RETURN(FALSE);
} | 282,170,166,398,487,830,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,058 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_union_engine::print(String *str, enum_query_type query_type)
{
unit->print(str, query_type);
} | 278,427,438,435,655,100,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,059 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::setup_mat_engine()
{
subselect_hash_sj_engine *mat_engine= NULL;
subselect_single_select_engine *select_engine;
DBUG_ENTER("Item_in_subselect::setup_mat_engine");
DBUG_ASSERT(thd);
/*
The select_engine (that executes transformed IN=>EXISTS subselects) is
pre-created at ... | 296,817,970,824,551,480,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,060 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | table_map subselect_single_select_engine::upper_select_const_tables()
{
return calc_const_tables(select_lex->outer_select()->leaf_tables);
} | 74,358,106,878,176,360,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,061 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_uniquesubquery_engine::~subselect_uniquesubquery_engine()
{
/* Tell handler we don't need the index anymore */
//psergey-merge-todo: the following was gone in 6.0:
//psergey-merge: don't need this after all: tab->table->file->ha_index_end();
} | 246,385,024,356,148,730,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,062 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_in_subselect::create_single_in_to_exists_cond(JOIN *join,
Item **where_item,
Item **having_item)
{
SELECT_LEX *select_lex= join->select_lex;
DBUG_ASSERT(thd == join->thd);
/*
The non-transformed HAVING c... | 252,714,670,163,221,500,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,063 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item *Item_subselect::get_tmp_table_item(THD *thd_arg)
{
if (!with_sum_func && !const_item())
return new (thd->mem_root) Item_temptable_field(thd_arg, result_field);
return copy_or_same(thd_arg);
} | 39,082,184,166,113,950,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,064 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_subselect::cleanup()
{
DBUG_ENTER("Item_subselect::cleanup");
Item_result_field::cleanup();
if (old_engine)
{
if (engine)
engine->cleanup();
engine= old_engine;
old_engine= 0;
}
if (engine)
engine->cleanup();
reset();
filesort_buffer.free_sort_buffer();
my_free(sortbuff... | 20,646,333,480,997,318,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,065 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | String *Item_in_subselect::val_str(String *str)
{
/*
As far as Item_in_subselect called only from Item_in_optimizer this
method should not be used
*/
DBUG_ASSERT(0);
DBUG_ASSERT(fixed == 1);
if (forced_const)
goto value_is_ready;
DBUG_ASSERT((engine->uncacheable() & ~UNCACHEABLE_EXPLAIN) ||
... | 98,638,104,786,014,250,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,066 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_hash_sj_engine::get_strategy_using_schema()
{
Item_in_subselect *item_in= (Item_in_subselect *) item;
if (item_in->is_top_level_item())
return COMPLETE_MATCH;
else
{
List_iterator<Item> inner_col_it(*item_in->unit->get_column_types(false));
Item *outer_col, *inner_col;
for (uint i= 0... | 228,384,628,383,407,100,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,067 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_engine::set_row(List<Item> &item_list, Item_cache **row)
{
Item *sel_item;
List_iterator_fast<Item> li(item_list);
cmp_type= res_type= STRING_RESULT;
res_field_type= MYSQL_TYPE_VAR_STRING;
for (uint i= 0; (sel_item= li++); i++)
{
item->max_length= sel_item->max_length;
res_type= sel_i... | 90,689,164,030,273,770,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,068 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_single_select_engine::exclude()
{
select_lex->master_unit()->exclude_level();
} | 196,201,266,873,918,730,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,069 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_hash_sj_engine::exclude()
{
DBUG_ASSERT(FALSE);
} | 223,239,937,015,452,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,070 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | static bool check_equality_for_exist2in(Item_func *func,
bool allow_subselect,
Item_ident **local_field,
Item **outer_exp)
{
Item **args;
if (func->functype() != Item_func::EQ_FUNC)
return FAL... | 287,974,363,930,492,960,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,071 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Ordered_key::init(int col_idx)
{
THD *thd= tbl->in_use;
key_column_count= 1;
// TIMOUR: check for mem allocation err, revert to scan
key_columns= (Item_field**) thd->alloc(sizeof(Item_field*));
compare_pred= (Item_func_lt**) thd->alloc(sizeof(Item_func_lt*));
key_columns[0]= new (thd->mem_root) Ite... | 113,835,856,000,239,990,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,072 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | my_decimal *Item_exists_subselect::val_decimal(my_decimal *decimal_value)
{
DBUG_ASSERT(fixed == 1);
if (!forced_const && exec())
reset();
int2my_decimal(E_DEC_FATAL_ERROR, value, 0, decimal_value);
return decimal_value;
} | 137,395,700,100,499,450,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,073 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_subselect::init(st_select_lex *select_lex,
select_result_interceptor *result)
{
/*
Please see Item_singlerow_subselect::invalidate_and_restore_select_lex(),
which depends on alterations to the parse tree implemented here.
*/
DBUG_ENTER("Item_subselect::init");
DBUG_PRINT("enter", ("selec... | 253,524,672,825,289,500,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,074 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | String *Item_exists_subselect::val_str(String *str)
{
DBUG_ASSERT(fixed == 1);
if (!forced_const && exec())
reset();
str->set((ulonglong)value,&my_charset_bin);
return str;
} | 243,586,231,771,709,770,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,075 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_hash_sj_engine::prepare(THD *thd_arg)
{
/*
Create and optimize the JOIN that will be used to materialize
the subquery if not yet created.
*/
set_thd(thd_arg);
return materialize_engine->prepare(thd);
} | 192,263,988,391,324,570,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,076 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_union_engine::prepare(THD *thd_arg)
{
set_thd(thd_arg);
return unit->prepare(thd, result, SELECT_NO_UNLOCK);
} | 204,077,836,438,171,940,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,077 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::init_cond_guards()
{
DBUG_ASSERT(thd);
uint cols_num= left_expr->cols();
if (!abort_on_null && !pushed_cond_guards &&
(left_expr->maybe_null || cols_num > 1))
{
if (!(pushed_cond_guards= (bool*)thd->alloc(sizeof(bool) * cols_num)))
return TRUE;
for (uint i= 0; i < c... | 318,940,268,748,632,760,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,078 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_single_select_engine::prepare(THD *thd)
{
if (prepared)
return 0;
set_thd(thd);
if (select_lex->join)
{
select_lex->cleanup();
}
join= new JOIN(thd, select_lex->item_list,
select_lex->options | SELECT_NO_UNLOCK, result);
if (!join || !result)
return 1; /* Fatal error is set al... | 189,241,090,286,855,260,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,079 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_hash_sj_engine::fix_length_and_dec(Item_cache** row)
{
DBUG_ASSERT(FALSE);
return FALSE;
} | 291,729,879,287,993,900,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,080 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_rowid_merge_engine::test_null_row(rownum_t row_num)
{
Ordered_key *cur_key;
for (uint i = 0; i < merge_keys_count; i++)
{
cur_key= merge_keys[i];
if (bitmap_is_set(&matching_keys, cur_key->get_keyid()))
{
/*
The key 'i' (with id 'cur_keyid') already matches a value in row
... | 202,491,057,051,847,300,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,081 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_partial_match_engine::exec()
{
Item_in_subselect *item_in= (Item_in_subselect *) item;
int lookup_res;
DBUG_ASSERT(!(item_in->left_expr_has_null() &&
item_in->is_top_level_item()));
if (!item_in->left_expr_has_null())
{
/* Try to find a matching row by index lookup. */
... | 150,638,529,479,490,120,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,082 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_allany_subselect::print(String *str, enum_query_type query_type)
{
if (test_strategy(SUBS_IN_TO_EXISTS))
str->append(STRING_WITH_LEN("<exists>"));
else
{
left_expr->print(str, query_type);
str->append(' ');
str->append(func->symbol(all));
str->append(all ? " all " : " any ", 5);
}
... | 41,841,496,845,340,620,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,083 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Ordered_key::lookup()
{
DBUG_ASSERT(key_buff_elements);
ha_rows lo= 0;
ha_rows hi= key_buff_elements - 1;
ha_rows mid;
int cmp_res;
while (lo <= hi)
{
mid= lo + (hi - lo) / 2;
cmp_res= cmp_key_with_search_key(key_buff[mid]);
/*
In order to find the minimum match, check if the pevi... | 192,575,416,025,527,030,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,084 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_single_select_engine::no_tables()
{
return(select_lex->table_list.elements == 0);
} | 53,580,197,027,264,090,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,085 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::expr_cache_is_needed(THD *thd)
{
return ((engine->uncacheable() & UNCACHEABLE_DEPENDENT) &&
engine->cols() == 1 &&
optimizer_flag(thd, OPTIMIZER_SWITCH_SUBQUERY_CACHE) &&
!(engine->uncacheable() & (UNCACHEABLE_RAND |
UNCACHEABLE_S... | 44,281,408,840,446,320,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,086 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_uniquesubquery_engine::scan_table()
{
int error;
TABLE *table= tab->table;
DBUG_ENTER("subselect_uniquesubquery_engine::scan_table");
if ((table->file->inited &&
(error= table->file->ha_index_end())) ||
(error= table->file->ha_rnd_init(1)))
{
(void) report_error(table, error);
... | 254,639,182,605,336,440,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
514,318 | 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 | const char *get_canonical_filename(handler *file, const char *path,
char *tmp_path)
{
uint i;
if (lower_case_table_names != 2 || (file->ha_table_flags() & HA_FILE_BASED))
return path;
for (i= 0; i <= mysql_tmpdir_list.max; i++)
{
if (is_prefix(path, mysql_tmpdir_list.... | 107,458,912,398,472,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,319 | 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 | Alter_inplace_info::Alter_inplace_info(HA_CREATE_INFO *create_info_arg,
Alter_info *alter_info_arg,
KEY *key_info_arg, uint key_count_arg,
partition_info *modified_part_info_arg,
bool ignore_arg, bool error_non_empty)
: create_info(... | 236,043,332,947,496,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,320 | 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 | char *xid_to_str(char *buf, const XID &xid)
{
int i;
char *s=buf;
*s++='\'';
for (i= 0; i < xid.gtrid_length + xid.bqual_length; i++)
{
uchar c= (uchar) xid.data[i];
/* is_next_dig is set if next character is a number */
bool is_next_dig= FALSE;
if (i < XIDDATASIZE)
{
char ch= xid.da... | 207,219,618,892,180,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,321 | 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 const char **get_handler_errmsgs(int nr)
{
return handler_errmsgs;
} | 149,577,019,755,779,320,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,322 | 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_prepare_inplace_alter_table(TABLE *altered_table,
Alter_inplace_info *ha_alter_info)
{
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
m_lock_type != F_UNLCK);
mark_trx_read_write();
return prepare_inplace_alter_table(altered_table... | 246,096,612,965,702,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,323 | 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 ha_finish_errors(void)
{
/* Allocate a pointer array for the error message strings. */
my_error_unregister(HA_ERR_FIRST, HA_ERR_LAST);
my_free(handler_errmsgs);
handler_errmsgs= 0;
return 0;
} | 174,043,133,300,987,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,324 | 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_idx_map(uchar *buf, uint index, const uchar *key,
key_part_map keypart_map,
enum ha_rkey_function find_flag)
{
int result;
DBUG_ASSERT(inited==NONE);
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||... | 176,258,370,169,508,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,325 | 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_checkpoint_state(bool disable)
{
plugin_foreach(NULL, checkpoint_state_handlerton, MYSQL_STORAGE_ENGINE_PLUGIN, &disable);
} | 328,512,010,173,668,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,326 | 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_repartition_key_cache(KEY_CACHE *key_cache)
{
DBUG_ENTER("ha_repartition_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... | 239,589,030,403,599,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,327 | 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_names(THD *thd, plugin_ref plugin,
void *arg)
{
st_discover_names_args *args= (st_discover_names_args *)arg;
handlerton *ht= plugin_hton(plugin);
if (ht->state == SHOW_OPTION_YES && ht->discover_table_names)
{
size_t old_elements= args->result->tables->... | 144,618,159,553,503,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,328 | 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 Create_field *vers_init_sys_field(THD *thd, const char *field_name, int flags, bool integer)
{
Create_field *f= new (thd->mem_root) Create_field();
if (!f)
return NULL;
f->field_name.str= field_name;
f->field_name.length= strlen(field_name);
f->charset= system_charset_info;
f->flags= flags | NOT... | 108,503,182,487,811,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,329 | 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_next(uchar *buf)
{
int result;
DBUG_ENTER("handler::ha_rnd_next");
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
m_lock_type != F_UNLCK);
DBUG_ASSERT(inited == RND);
do
{
TABLE_IO_WAIT(tracker, m_psi, PSI_TABLE_FETCH_ROW, MAX_KEY, 0,
{ result= rnd_next(bu... | 178,402,651,146,322,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,330 | 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 st_ha_check_opt::init()
{
flags= sql_flags= 0;
start_time= my_time(0);
} | 252,509,686,459,054,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,331 | 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_disable_internal_writes(THD *, plugin_ref plugin,
void *disable)
{
if (void(*diw)(bool)= plugin_hton(plugin)->disable_internal_writes)
diw(*static_cast<bool*>(disable));
return FALSE;
} | 328,500,999,236,201,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,332 | 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 closecon_handlerton(THD *thd, plugin_ref plugin,
void *unused)
{
handlerton *hton= plugin_hton(plugin);
/*
there's no need to rollback here as all transactions must
be rolled back already
*/
if (hton->state == SHOW_OPTION_YES && thd_get_ha_data(thd, hton... | 295,024,338,254,896,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,333 | 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_prepare(THD *thd)
{
int error=0, all=1;
THD_TRANS *trans=all ? &thd->transaction.all : &thd->transaction.stmt;
Ha_trx_info *ha_info= trans->ha_list;
DBUG_ENTER("ha_prepare");
if (ha_info)
{
for (; ha_info; ha_info= ha_info->next())
{
handlerton *ht= ha_info->ht();
if (ht->prepare... | 273,008,379,011,668,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 |
514,334 | 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_open(TABLE *table_arg, const char *name, int mode,
uint test_if_locked, MEM_ROOT *mem_root,
List<String> *partitions_to_open)
{
int error;
DBUG_ENTER("handler::ha_open");
DBUG_PRINT("enter",
("name: %s db_type: %d db_stat: %d mode: %d lock... | 52,641,002,017,739,190,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,335 | 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_desc(LEX_CSTRING * const *a, LEX_CSTRING * const *b)
{
return -cmp_table_names(a, b);
} | 198,447,361,211,294,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,336 | 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_write_row(const uchar *buf)
{
int error;
Log_func *log_func= Write_rows_log_event::binlog_row_logging_function;
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
m_lock_type == F_WRLCK);
DBUG_ENTER("handler::ha_write_row");
DEBUG_SYNC_C("ha_write_row_start");
MYSQL_INSERT_... | 186,819,984,208,123,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,337 | 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 char *name) const
{
DBUG_ASSERT(name);
return as_row.start && as_row.start.streq(name);
} | 105,541,891,261,386,910,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,338 | 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 hton_ext_based_table_discovery(handlerton *hton, LEX_CSTRING *db,
MY_DIR *dir, handlerton::discovered_list *result)
{
/*
tablefile_extensions[0] is the metadata file, see
the comment above tablefile_extensions declaration
*/
return extension_based_table_discovery(di... | 112,421,381,545,808,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,339 | 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 Alter_inplace_info::report_unsupported_error(const char *not_supported,
const char *try_instead) const
{
if (unsupported_reason == NULL)
my_error(ER_ALTER_OPERATION_NOT_SUPPORTED, MYF(0),
not_supported, try_instead);
else
my_error(ER_ALTER_... | 177,324,392,521,101,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,340 | 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 Create_field &f) const
{
return f.flags & VERS_ROW_END;
} | 106,372,423,981,278,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,341 | 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_entry_key(TABLE *table, handler *h,
const uchar *new_rec, uint key_no)
{
Field *hash_field;
int result, error= 0;
KEY *key_info= table->key_info + key_no;
hash_field= key_info->key_part->field;
uchar ptr[HA_HASH_KEY_LENGTH_WITH_NULL];
... | 317,675,416,776,918,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 |
514,342 | 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_table_exists(THD *thd, const LEX_CSTRING *db, const LEX_CSTRING *table_name,
handlerton **hton, bool *is_sequence)
{
handlerton *dummy;
bool dummy2;
DBUG_ENTER("ha_table_exists");
if (hton)
*hton= 0;
else if (engines_with_discover)
hton= &dummy;
if (!is_sequence)
is... | 160,698,387,100,424,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,343 | 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_handlerton(THD *thd, plugin_ref plugin,
void *arg)
{
TABLE_SHARE *share= (TABLE_SHARE *)arg;
handlerton *hton= plugin_hton(plugin);
if (hton->state == SHOW_OPTION_YES && hton->discover_table)
{
share->db_plugin= plugin;
int error= hton->discover... | 164,954,580,333,698,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,344 | 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 checkpoint_state_handlerton(THD *unused1, plugin_ref plugin,
void *disable)
{
handlerton *hton= plugin_hton(plugin);
if (hton->state == SHOW_OPTION_YES && hton->checkpoint_state)
hton->checkpoint_state(hton, (int) *(bool*) disable);
return FALSE;
} | 262,016,107,347,500,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,345 | 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_xid wsrep_order_and_check_continuity(XID *list, int len)
{
#ifdef WITH_WSREP
wsrep_sort_xid_array(list, len);
wsrep::gtid cur_position= wsrep_get_SE_checkpoint();
long long cur_seqno= cur_position.seqno().get();
for (int i= 0; i < len; ++i)
{
if (!wsrep_is_wsrep_xid(list + i) ||
wsrep_xi... | 191,865,536,877,204,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,346 | 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_truncate()
{
DBUG_ASSERT(table_share->tmp_table != NO_TMP_TABLE ||
m_lock_type == F_WRLCK);
mark_trx_read_write();
return truncate();
} | 68,680,556,414,973,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,347 | 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 stat_print(THD *thd, const char *type, size_t type_len,
const char *file, size_t file_len,
const char *status, size_t status_len)
{
Protocol *protocol= thd->protocol;
protocol->prepare_for_resend();
protocol->store(type, type_len, system_charset_info);
p... | 98,321,637,930,475,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,348 | 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(TABLE *table, handler *h,
const uchar *new_rec)
{
table->file->errkey= -1;
int result;
for (uint i= 0; i < table->s->keys; i++)
{
if (table->key_info[i].algorithm == HA_KEY_ALG_LONG_HASH &&
(result= check_duplicate_l... | 138,665,487,416,845,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,349 | 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_resolve_by_legacy_type(THD *thd, enum legacy_db_type db_type)
{
plugin_ref plugin;
switch (db_type) {
case DB_TYPE_DEFAULT:
return ha_default_handlerton(thd);
default:
if (db_type > DB_TYPE_UNKNOWN && db_type < DB_TYPE_DEFAULT &&
(plugin= ha_lock_engine(thd, installed_htons[db_typ... | 123,378,715,975,802,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,350 | 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_table_stat(THD *thd, const LEX_CSTRING *db, const LEX_CSTRING *table)
{
TABLE_STATS *table_stats;
int res = 0;
uchar *cache_key;
size_t cache_key_length;
DBUG_ENTER("del_global_table_stat");
cache_key_length= db->length + 1 + table->length + 1;
if(!(cache_key= (uchar *)my_malloc(cache_key... | 308,791,559,095,689,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,351 | 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_key(key_range *range)
{
int cmp;
if (!range || in_range_check_pushed_down)
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;
} | 251,943,900,703,929,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,352 | 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_checkpoint_notify_ha(handlerton *hton, void *cookie)
{
tc_log->commit_checkpoint_notify(cookie);
} | 60,105,857,325,701,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,353 | 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, const char *msg, myf errflag)
{
/* Write the duplicated key in the error message */
char key_buff[MAX_KEY_LENGTH];
String str(key_buff,sizeof(key_buff),system_charset_info);
if (key == NULL)
{
/*
Key is unknown. Should only happen if storage engine re... | 89,844,123,903,833,330,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,354 | 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::check_if_supported_inplace_alter(TABLE *altered_table,
Alter_inplace_info *ha_alter_info)
{
DBUG_ENTER("handler::check_if_supported_inplace_alter");
HA_CREATE_INFO *create_info= ha_alter_info->create_info;
if (altered_table->versioned(VERS_TIMESTAMP))
DBUG_... | 8,938,624,099,148,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,355 | 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_table(const char *from, const char *to)
{
DBUG_ASSERT(m_lock_type == F_UNLCK);
mark_trx_read_write();
return rename_table(from, to);
} | 119,996,509,568,810,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,356 | 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_read_idx_map(uchar * buf, uint index, const uchar * key,
key_part_map keypart_map,
enum ha_rkey_function find_flag)
{
int error, UNINIT_VAR(error1);
error= ha_index_init(index, 0);
if (likely(!error))
{
error= index_read_map... | 259,141,091,437,046,650,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,357 | 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_ha_share_ptr(Handler_share *arg_ha_share)
{
DBUG_ENTER("handler::set_ha_share_ptr");
DBUG_ASSERT(ha_share);
#ifndef DBUG_OFF
if (table_share->tmp_table == NO_TMP_TABLE)
mysql_mutex_assert_owner(&table_share->LOCK_ha_data);
#endif
*ha_share= arg_ha_share;
DBUG_VOID_RETURN;
} | 56,587,826,102,412,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,358 | 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_alter_info(THD *thd, Alter_info *alter_info,
HA_CREATE_INFO *create_info, TABLE *table)
{
TABLE_SHARE *share= table->s;
const char *table_name= share->table_name.str;
if (!need_check(alter_info) && !share->versioned)
return false;
if (DBUG_EVA... | 174,012,439,324,035,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,359 | 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 file_ext_exists(char *path, size_t path_len, const char *ext)
{
strmake(path + path_len, ext, FN_REFLEN - path_len);
return !access(path, F_OK);
} | 124,743,662,902,463,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,360 | 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_check_system_fields(
THD *thd, Alter_info *alter_info, const Lex_table_name &table_name,
const Lex_table_name &db, int select_count)
{
if (!(options & HA_VERSIONED_TABLE))
return false;
uint versioned_fields= 0;
if (!(alter_info->flags & ALTER_DR... | 40,955,435,038,577,614,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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.