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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
504,235 | server | eef21014898d61e77890359d6546d4985d829ef6 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/eef21014898d61e77890359d6546d4985d829ef6 | MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
mysql_prune_stmt_list() was walking the list following
element->next pointers, but inside the loop it was invoking
list_add(element) that modified element->next. So, mysql_prune_stmt_list()
failed to visit and reset all elements, and some of them were left... | 0 | static void test_truncation()
{
MYSQL_STMT *stmt;
const char *stmt_text;
int rc;
uint bind_count;
MYSQL_BIND *bind_array, *my_bind;
myheader("test_truncation");
/* Prepare the test table */
rc= mysql_query(mysql, "drop table if exists t1");
myquery(rc);
stmt_text= "create table t1 ("
... | 122,600,878,343,910,870,000,000,000,000,000,000,000 | None | null | [
"CWE-416"
] | CVE-2017-3302 | Crash in libmysqlclient.so in Oracle MySQL before 5.6.21 and 5.7.x before 5.7.5 and MariaDB through 5.5.54, 10.0.x through 10.0.29, 10.1.x through 10.1.21, and 10.2.x through 10.2.3. | https://nvd.nist.gov/vuln/detail/CVE-2017-3302 |
504,236 | server | eef21014898d61e77890359d6546d4985d829ef6 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/eef21014898d61e77890359d6546d4985d829ef6 | MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
mysql_prune_stmt_list() was walking the list following
element->next pointers, but inside the loop it was invoking
list_add(element) that modified element->next. So, mysql_prune_stmt_list()
failed to visit and reset all elements, and some of them were left... | 0 | static void test_bug10760()
{
MYSQL_STMT *stmt;
MYSQL_BIND my_bind[1];
int rc;
const char *stmt_text;
char id_buf[20];
ulong id_len;
int i= 0;
ulong type;
myheader("test_bug10760");
mysql_query(mysql, "drop table if exists t1, t2");
/* create tables */
rc= mysql_query(mysql, "create table t1 ... | 275,733,485,157,493,670,000,000,000,000,000,000,000 | None | null | [
"CWE-416"
] | CVE-2017-3302 | Crash in libmysqlclient.so in Oracle MySQL before 5.6.21 and 5.7.x before 5.7.5 and MariaDB through 5.5.54, 10.0.x through 10.0.29, 10.1.x through 10.1.21, and 10.2.x through 10.2.3. | https://nvd.nist.gov/vuln/detail/CVE-2017-3302 |
504,237 | server | eef21014898d61e77890359d6546d4985d829ef6 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/eef21014898d61e77890359d6546d4985d829ef6 | MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
mysql_prune_stmt_list() was walking the list following
element->next pointers, but inside the loop it was invoking
list_add(element) that modified element->next. So, mysql_prune_stmt_list()
failed to visit and reset all elements, and some of them were left... | 0 | static void test_decimal_bug()
{
MYSQL_STMT *stmt;
MYSQL_BIND my_bind[1];
char data[30];
int rc;
my_bool is_null;
myheader("test_decimal_bug");
mysql_autocommit(mysql, TRUE);
rc= mysql_query(mysql, "drop table if exists test_decimal_bug");
myquery(rc);
rc= mysql_query(mysql, "cre... | 220,007,073,639,510,020,000,000,000,000,000,000,000 | None | null | [
"CWE-416"
] | CVE-2017-3302 | Crash in libmysqlclient.so in Oracle MySQL before 5.6.21 and 5.7.x before 5.7.5 and MariaDB through 5.5.54, 10.0.x through 10.0.29, 10.1.x through 10.1.21, and 10.2.x through 10.2.3. | https://nvd.nist.gov/vuln/detail/CVE-2017-3302 |
504,238 | server | eef21014898d61e77890359d6546d4985d829ef6 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/eef21014898d61e77890359d6546d4985d829ef6 | MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
mysql_prune_stmt_list() was walking the list following
element->next pointers, but inside the loop it was invoking
list_add(element) that modified element->next. So, mysql_prune_stmt_list()
failed to visit and reset all elements, and some of them were left... | 0 | static void test_status()
{
DBUG_ENTER("test_status");
myheader("test_status");
if (!mysql_stat(mysql))
{
myerror("mysql_stat failed"); /* purecov: inspected */
die(__FILE__, __LINE__, "mysql_stat failed"); /* purecov: inspected */
}
DBUG_VOID_RETURN;
} | 256,030,546,082,748,900,000,000,000,000,000,000,000 | None | null | [
"CWE-416"
] | CVE-2017-3302 | Crash in libmysqlclient.so in Oracle MySQL before 5.6.21 and 5.7.x before 5.7.5 and MariaDB through 5.5.54, 10.0.x through 10.0.29, 10.1.x through 10.1.21, and 10.2.x through 10.2.3. | https://nvd.nist.gov/vuln/detail/CVE-2017-3302 |
504,239 | server | eef21014898d61e77890359d6546d4985d829ef6 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/eef21014898d61e77890359d6546d4985d829ef6 | MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
mysql_prune_stmt_list() was walking the list following
element->next pointers, but inside the loop it was invoking
list_add(element) that modified element->next. So, mysql_prune_stmt_list()
failed to visit and reset all elements, and some of them were left... | 0 | static void test_bug10736()
{
MYSQL_STMT *stmt;
MYSQL_BIND my_bind[1];
char a[21];
int rc;
const char *stmt_text;
int i= 0;
ulong type;
myheader("test_bug10736");
mysql_query(mysql, "drop table if exists t1");
mysql_query(mysql, "create table t1 (id integer not null primary key,"
... | 327,858,525,895,289,760,000,000,000,000,000,000,000 | None | null | [
"CWE-416"
] | CVE-2017-3302 | Crash in libmysqlclient.so in Oracle MySQL before 5.6.21 and 5.7.x before 5.7.5 and MariaDB through 5.5.54, 10.0.x through 10.0.29, 10.1.x through 10.1.21, and 10.2.x through 10.2.3. | https://nvd.nist.gov/vuln/detail/CVE-2017-3302 |
504,240 | server | eef21014898d61e77890359d6546d4985d829ef6 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/eef21014898d61e77890359d6546d4985d829ef6 | MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
mysql_prune_stmt_list() was walking the list following
element->next pointers, but inside the loop it was invoking
list_add(element) that modified element->next. So, mysql_prune_stmt_list()
failed to visit and reset all elements, and some of them were left... | 0 | static void test_explain_bug()
{
MYSQL_STMT *stmt;
MYSQL_RES *result;
int rc;
myheader("test_explain_bug");
mysql_autocommit(mysql, TRUE);
rc= mysql_query(mysql, "DROP TABLE IF EXISTS test_explain");
myquery(rc);
rc= mysql_query(mysql, "CREATE TABLE test_explain(id int, name char(2))");
my... | 213,125,426,627,931,300,000,000,000,000,000,000,000 | None | null | [
"CWE-416"
] | CVE-2017-3302 | Crash in libmysqlclient.so in Oracle MySQL before 5.6.21 and 5.7.x before 5.7.5 and MariaDB through 5.5.54, 10.0.x through 10.0.29, 10.1.x through 10.1.21, and 10.2.x through 10.2.3. | https://nvd.nist.gov/vuln/detail/CVE-2017-3302 |
504,241 | server | eef21014898d61e77890359d6546d4985d829ef6 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/eef21014898d61e77890359d6546d4985d829ef6 | MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
mysql_prune_stmt_list() was walking the list following
element->next pointers, but inside the loop it was invoking
list_add(element) that modified element->next. So, mysql_prune_stmt_list()
failed to visit and reset all elements, and some of them were left... | 0 | static void test_frm_bug()
{
MYSQL_STMT *stmt;
MYSQL_BIND my_bind[2];
MYSQL_RES *result;
MYSQL_ROW row;
FILE *test_file;
char data_dir[FN_REFLEN];
char test_frm[FN_REFLEN];
int rc;
myheader("test_frm_bug");
mysql_autocommit(mysql, TRUE);
rc= mysql_query(mysql, "drop t... | 151,106,976,433,561,680,000,000,000,000,000,000,000 | None | null | [
"CWE-416"
] | CVE-2017-3302 | Crash in libmysqlclient.so in Oracle MySQL before 5.6.21 and 5.7.x before 5.7.5 and MariaDB through 5.5.54, 10.0.x through 10.0.29, 10.1.x through 10.1.21, and 10.2.x through 10.2.3. | https://nvd.nist.gov/vuln/detail/CVE-2017-3302 |
504,242 | server | eef21014898d61e77890359d6546d4985d829ef6 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/eef21014898d61e77890359d6546d4985d829ef6 | MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
mysql_prune_stmt_list() was walking the list following
element->next pointers, but inside the loop it was invoking
list_add(element) that modified element->next. So, mysql_prune_stmt_list()
failed to visit and reset all elements, and some of them were left... | 0 | static void test_wl4435_3()
{
char tmp[255];
puts("");
/*
// The following types are not supported:
// - ENUM
// - SET
//
// The following types are supported but can not be used for
// OUT-parameters:
// - MEDIUMINT;
// - BIT(..);
//
// The problem is that those types are not suppor... | 269,115,596,193,421,400,000,000,000,000,000,000,000 | None | null | [
"CWE-416"
] | CVE-2017-3302 | Crash in libmysqlclient.so in Oracle MySQL before 5.6.21 and 5.7.x before 5.7.5 and MariaDB through 5.5.54, 10.0.x through 10.0.29, 10.1.x through 10.1.21, and 10.2.x through 10.2.3. | https://nvd.nist.gov/vuln/detail/CVE-2017-3302 |
504,243 | server | eef21014898d61e77890359d6546d4985d829ef6 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/eef21014898d61e77890359d6546d4985d829ef6 | MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
mysql_prune_stmt_list() was walking the list following
element->next pointers, but inside the loop it was invoking
list_add(element) that modified element->next. So, mysql_prune_stmt_list()
failed to visit and reset all elements, and some of them were left... | 0 | static void test_date_time()
{
int rc;
myheader("test_date_time");
rc= mysql_query(mysql, "DROP TABLE IF EXISTS test_date");
myquery(rc);
rc= mysql_query(mysql, "CREATE TABLE test_date(c1 TIME, \
c2 TIME, \
... | 304,612,631,739,209,960,000,000,000,000,000,000,000 | None | null | [
"CWE-416"
] | CVE-2017-3302 | Crash in libmysqlclient.so in Oracle MySQL before 5.6.21 and 5.7.x before 5.7.5 and MariaDB through 5.5.54, 10.0.x through 10.0.29, 10.1.x through 10.1.21, and 10.2.x through 10.2.3. | https://nvd.nist.gov/vuln/detail/CVE-2017-3302 |
504,244 | server | eef21014898d61e77890359d6546d4985d829ef6 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/eef21014898d61e77890359d6546d4985d829ef6 | MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
mysql_prune_stmt_list() was walking the list following
element->next pointers, but inside the loop it was invoking
list_add(element) that modified element->next. So, mysql_prune_stmt_list()
failed to visit and reset all elements, and some of them were left... | 0 | static void test_bug11111()
{
MYSQL_STMT *stmt;
MYSQL_BIND my_bind[2];
char buf[2][20];
ulong len[2];
int i;
int rc;
const char *query= "SELECT DISTINCT f1,ff2 FROM v1";
myheader("test_bug11111");
rc= mysql_query(mysql, "drop table if exists t1, t2, v1");
myquery(rc);
rc= ... | 35,676,429,982,718,856,000,000,000,000,000,000,000 | None | null | [
"CWE-416"
] | CVE-2017-3302 | Crash in libmysqlclient.so in Oracle MySQL before 5.6.21 and 5.7.x before 5.7.5 and MariaDB through 5.5.54, 10.0.x through 10.0.29, 10.1.x through 10.1.21, and 10.2.x through 10.2.3. | https://nvd.nist.gov/vuln/detail/CVE-2017-3302 |
504,275 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static void handle_no_active_connection(struct st_command *command,
struct st_connection *cn, DYNAMIC_STRING *ds)
{
handle_error(command, 2006, "MySQL server has gone away", "000000", ds);
cn->pending= FALSE;
var_set_errno(2006);
} | 281,107,674,113,906,470,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,276 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_exec(struct st_command *command)
{
int error;
char buf[512];
FILE *res_file;
char *cmd= command->first_argument;
DYNAMIC_STRING ds_cmd;
DYNAMIC_STRING ds_sorted, *ds_result;
DBUG_ENTER("do_exec");
DBUG_PRINT("enter", ("cmd: '%s'", cmd));
/* Skip leading space */
while (*cmd && my_isspace(ch... | 209,900,784,458,065,400,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,277 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void verbose_msg(const char *fmt, ...)
{
va_list args;
DBUG_ENTER("verbose_msg");
DBUG_PRINT("enter", ("format: %s", fmt));
if (!verbose)
DBUG_VOID_RETURN;
fflush(stdout);
va_start(args, fmt);
fprintf(stderr, "mysqltest: ");
if (cur_file && cur_file != file_stack)
fprintf(stderr, "In included ... | 276,656,339,103,128,380,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,278 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void close_connections()
{
DBUG_ENTER("close_connections");
for (--next_con; next_con >= connections; --next_con)
{
#ifdef EMBEDDED_LIBRARY
emb_close_connection(next_con);
#endif
if (next_con->stmt)
mysql_stmt_close(next_con->stmt);
next_con->stmt= 0;
mysql_close(next_con->mysql);
next_c... | 117,524,023,022,973,230,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,279 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_mkdir(struct st_command *command)
{
int error;
static DYNAMIC_STRING ds_dirname;
const struct command_arg mkdir_args[] = {
{"dirname", ARG_STRING, TRUE, &ds_dirname, "Directory to create"}
};
DBUG_ENTER("do_mkdir");
check_command_args(command, command->first_argument,
mkdir... | 83,436,170,392,283,100,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,280 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static int my_kill(int pid, int sig)
{
#ifdef __WIN__
HANDLE proc;
if ((proc= OpenProcess(SYNCHRONIZE|PROCESS_TERMINATE, FALSE, pid)) == NULL)
return -1;
if (sig == 0)
{
DWORD wait_result= WaitForSingleObject(proc, 0);
CloseHandle(proc);
return wait_result == WAIT_OBJECT_0?-1:0;
}
(void)Term... | 21,879,724,305,711,856,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,281 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_close_connection(struct st_command *command)
{
DBUG_ENTER("do_close_connection");
struct st_connection *con;
static DYNAMIC_STRING ds_connection;
const struct command_arg close_connection_args[] = {
{ "connection_name", ARG_STRING, TRUE, &ds_connection,
"Name of the connection to close." }
... | 189,762,585,956,568,170,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,282 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static int diff_check(const char *diff_name)
{
FILE *res_file;
char buf[128];
int have_diff= 0;
my_snprintf(buf, sizeof(buf), "%s -v", diff_name);
if (!(res_file= popen(buf, "r")))
die("popen(\"%s\", \"r\") failed", buf);
/*
if diff is not present, nothing will be in stdout to increment
have_... | 148,763,499,543,263,530,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,283 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void die(const char *fmt, ...)
{
char buff[DIE_BUFF_SIZE];
va_list args;
va_start(args, fmt);
make_error_message(buff, sizeof(buff), fmt, args);
really_die(buff);
} | 155,246,148,811,292,090,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,284 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void set_current_connection(struct st_connection *con)
{
cur_con= con;
/* Update $mysql_get_server_version to that of current connection */
var_set_int("$mysql_get_server_version",
mysql_get_server_version(con->mysql));
/* Update $CURRENT_CONNECTION to the name of the current connection */
var_s... | 276,654,901,409,985,500,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,285 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void read_until_delimiter(DYNAMIC_STRING *ds,
DYNAMIC_STRING *ds_delimiter)
{
char c;
DBUG_ENTER("read_until_delimiter");
DBUG_PRINT("enter", ("delimiter: %s, length: %u",
ds_delimiter->str, (uint) ds_delimiter->length));
if (ds_delimiter->length > MAX_DELIMITER... | 145,494,219,044,435,450,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,286 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_send_quit(struct st_command *command)
{
char *p= command->first_argument, *name;
struct st_connection *con;
DBUG_ENTER("do_send_quit");
DBUG_PRINT("enter",("name: '%s'",p));
if (!*p)
die("Missing connection name in send_quit");
name= p;
while (*p && !my_isspace(charset_info,*p))
p++;
... | 116,551,731,534,468,280,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,287 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void set_reconnect(MYSQL* mysql, my_bool val)
{
my_bool reconnect= val;
DBUG_ENTER("set_reconnect");
DBUG_PRINT("info", ("val: %d", (int) val));
#if MYSQL_VERSION_ID < 50000
mysql->reconnect= reconnect;
#else
mysql_options(mysql, MYSQL_OPT_RECONNECT, (char *)&reconnect);
#endif
DBUG_VOID_RETURN;
} | 216,560,527,530,024,150,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,288 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static int run_command(char* cmd,
DYNAMIC_STRING *ds_res)
{
char buf[512]= {0};
FILE *res_file;
int error;
DBUG_ENTER("run_command");
DBUG_PRINT("enter", ("cmd: %s", cmd));
if (!(res_file= popen(cmd, "r")))
{
report_or_die("popen(\"%s\", \"r\") failed", cmd);
return -1;
}... | 24,251,465,216,490,100,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,289 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | uint get_errcode_from_name(const char *error_name, const char *error_end,
st_error *e)
{
DBUG_ENTER("get_errcode_from_name");
DBUG_PRINT("enter", ("error_name: %s", error_name));
/* Loop through the array of known error names */
for (; e->name; e++)
{
/*
If we get a matc... | 339,847,841,811,112,930,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,290 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void usage()
{
print_version();
puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"));
printf("Runs a test against the mysql server and compares output with a results file.\n\n");
printf("Usage: %s [OPTIONS] [database] < test_file\n", my_progname);
print_defaults("my",load_default_groups);
puts("");
my_print_help... | 138,251,656,155,695,070,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,291 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static int match_expected_error(struct st_command *command,
unsigned int err_errno,
const char *err_sqlstate)
{
uint i;
for (i= 0 ; (uint) i < command->expected_errors.count ; i++)
{
if ((command->expected_errors.err[i].type == ERR_ERRNO) &&
... | 136,027,816,565,270,620,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,292 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static void dump_backtrace(void)
{
struct st_connection *conn= cur_con;
fprintf(stderr, "read_command_buf (%p): ", read_command_buf);
my_safe_print_str(read_command_buf, sizeof(read_command_buf));
fputc('\n', stderr);
if (conn)
{
fprintf(stderr, "conn->name (%p): ", conn->name);
my_safe_print_str(... | 134,550,063,410,797,440,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,293 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | */
MYSQL_PLUGIN_EXPORT
char *mysql_authentication_dialog_ask(MYSQL *mysql, int type,
const char *prompt,
char *buf, int buf_len)
{
char *s=buf;
fputs(prompt, stdout);
fputs(" ", stdout);
if (!fgets(buf, buf_len-1, stdin))
buf[0]= ... | 29,571,101,793,957,450,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,294 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_get_errcodes(struct st_command *command)
{
struct st_match_err *to= saved_expected_errors.err;
DBUG_ENTER("do_get_errcodes");
if (!*command->first_argument)
die("Missing argument(s) to 'error'");
/* TODO: Potentially, there is a possibility of variables
being expanded twice, e.g.
let $... | 253,588,668,306,069,540,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,295 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_file_exist(struct st_command *command)
{
int error;
static DYNAMIC_STRING ds_filename;
const struct command_arg file_exist_args[] = {
{ "filename", ARG_STRING, TRUE, &ds_filename, "File to check if it exist" }
};
DBUG_ENTER("do_file_exist");
check_command_args(command, command->first_argument,
... | 68,615,280,334,486,780,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,296 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void handle_no_error(struct st_command *command)
{
DBUG_ENTER("handle_no_error");
if (command->expected_errors.err[0].type == ERR_ERRNO &&
command->expected_errors.err[0].code.errnum != 0)
{
/* Error code we wanted was != 0, i.e. not an expected success */
report_or_die("query '%s' succeeded - shou... | 332,181,147,915,477,070,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,297 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void free_used_memory()
{
uint i;
DBUG_ENTER("free_used_memory");
if (connections)
close_connections();
close_files();
my_hash_free(&var_hash);
for (i= 0 ; i < q_lines.elements ; i++)
{
struct st_command **q= dynamic_element(&q_lines, i, struct st_command**);
my_free((*q)->query_buf);
if... | 119,427,850,983,557,040,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,298 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static int do_send_query(struct st_connection *cn, const char *q, int q_len)
{
if (!cn->has_thread)
return mysql_send_query(cn->mysql, q, q_len);
cn->cur_query= q;
cn->cur_query_len= q_len;
signal_connection_thd(cn, EMB_SEND_QUERY);
return 0;
} | 194,976,406,513,539,800,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,299 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static void strip_parentheses(struct st_command *command)
{
if (strip_surrounding(command->first_argument, '(', ')'))
die("%.*s - argument list started with '%c' must be ended with '%c'",
command->first_word_len, command->query, '(', ')');
} | 307,771,581,509,443,050,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,300 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void run_query(struct st_connection *cn, struct st_command *command, int flags)
{
MYSQL *mysql= cn->mysql;
DYNAMIC_STRING *ds;
DYNAMIC_STRING *save_ds= NULL;
DYNAMIC_STRING ds_result;
DYNAMIC_STRING ds_sorted;
DYNAMIC_STRING ds_warnings;
char *query;
int query_len;
my_bool view_created= 0, sp_created=... | 317,828,350,978,158,100,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,301 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static void init_signal_handling(void)
{
struct sigaction sa;
DBUG_ENTER("init_signal_handling");
#ifdef HAVE_STACKTRACE
my_init_stacktrace();
#endif
sa.sa_flags = SA_RESETHAND | SA_NODEFER;
sigemptyset(&sa.sa_mask);
sigprocmask(SIG_SETMASK, &sa.sa_mask, NULL);
sa.sa_handler= signal_handler;
sigacti... | 229,007,086,446,649,200,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,302 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | pthread_handler_t connection_thread(void *arg)
{
struct st_connection *cn= (struct st_connection*)arg;
mysql_thread_init();
while (cn->command != EMB_END_CONNECTION)
{
if (!cn->command)
{
pthread_mutex_lock(&cn->query_mutex);
while (!cn->command)
pthread_cond_wait(&cn->query_cond, &... | 57,146,963,227,751,750,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,303 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | int cat_file(DYNAMIC_STRING* ds, const char* filename)
{
int fd;
size_t len;
char buff[16384];
if ((fd= my_open(filename, O_RDONLY, MYF(0))) < 0)
return 1;
while((len= my_read(fd, (uchar*)&buff,
sizeof(buff)-1, MYF(0))) > 0)
{
char *p= buff, *start= buff;
while (p < buff+l... | 78,681,448,849,205,820,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,304 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_remove_file(struct st_command *command)
{
int error;
static DYNAMIC_STRING ds_filename;
const struct command_arg rm_args[] = {
{ "filename", ARG_STRING, TRUE, &ds_filename, "File to delete" }
};
DBUG_ENTER("do_remove_file");
check_command_args(command, command->first_argument,
... | 203,371,362,386,328,100,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,305 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_remove_files_wildcard(struct st_command *command)
{
int error= 0, sys_errno= 0;
uint i;
size_t directory_length;
MY_DIR *dir_info;
FILEINFO *file;
char dir_separator[2];
static DYNAMIC_STRING ds_directory;
static DYNAMIC_STRING ds_wild;
static DYNAMIC_STRING ds_file_to_remove;
char dirname[F... | 99,023,658,426,446,480,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,306 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | int do_save_master_pos()
{
MYSQL_RES *res;
MYSQL_ROW row;
MYSQL *mysql = cur_con->mysql;
const char *query;
DBUG_ENTER("do_save_master_pos");
#ifdef HAVE_NDB_BINLOG
/*
Wait for ndb binlog to be up-to-date with all changes
done on the local mysql server
*/
{
ulong have_ndbcluster;
if (my... | 335,833,340,803,650,560,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,307 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | const char *get_errname_from_code(uint error_code)
{
const char *name;
if ((name= get_errname_from_code(error_code, global_error_names)) !=
unknown_error)
return name;
return get_errname_from_code(error_code, handler_error_names);
} | 283,079,080,263,557,700,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,308 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | int dyn_string_cmp(DYNAMIC_STRING* ds, const char *fname)
{
int error;
File fd;
char temp_file_path[FN_REFLEN];
DBUG_ENTER("dyn_string_cmp");
DBUG_PRINT("enter", ("fname: %s", fname));
if ((fd= create_temp_file(temp_file_path, TMPDIR,
"tmp", O_CREAT | O_SHARE | O_RDWR,
... | 104,613,444,389,184,840,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,309 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_chmod_file(struct st_command *command)
{
long mode= 0;
int err_code;
static DYNAMIC_STRING ds_mode;
static DYNAMIC_STRING ds_file;
const struct command_arg chmod_file_args[] = {
{ "mode", ARG_STRING, TRUE, &ds_mode, "Mode of file(octal) ex. 0660"},
{ "filename", ARG_STRING, TRUE, &ds_file, "F... | 1,884,994,659,893,118,300,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,310 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_sync_with_master2(struct st_command *command, long offset)
{
MYSQL_RES *res;
MYSQL_ROW row;
MYSQL *mysql= cur_con->mysql;
char query_buf[FN_REFLEN+128];
int timeout= 300; /* seconds */
if (!master_pos.file[0])
die("Calling 'sync_with_master' without calling 'save_master_pos'");
sprintf(query... | 46,097,943,172,739,050,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,311 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | get_one_option(int optid, const struct my_option *opt, char *argument)
{
switch(optid) {
case '#':
#ifndef DBUG_OFF
DBUG_PUSH(argument ? argument : "d:t:S:i:O,/tmp/mysqltest.trace");
debug_check_flag= 1;
debug_info_flag= 1;
#endif
break;
case 'r':
record = 1;
break;
case 'x':
{
cha... | 19,999,151,527,557,646,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,312 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void run_query_stmt(struct st_connection *cn, struct st_command *command,
char *query, int query_len, DYNAMIC_STRING *ds,
DYNAMIC_STRING *ds_warnings)
{
MYSQL_RES *res= NULL; /* Note that here 'res' is meta data result set */
MYSQL *mysql= cn->mysql;
MYSQL_STMT *stmt;
... | 195,195,463,743,841,200,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,313 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | int query_get_string(MYSQL* mysql, const char* query,
int column, DYNAMIC_STRING* ds)
{
MYSQL_RES *res= NULL;
MYSQL_ROW row;
if (mysql_query(mysql, query))
{
report_or_die("'%s' failed: %d %s", query,
mysql_errno(mysql), mysql_error(mysql));
return 1;
}
if ((r... | 273,106,886,198,854,100,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,314 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_system(struct st_command *command)
{
DYNAMIC_STRING ds_cmd;
DBUG_ENTER("do_system");
if (strlen(command->first_argument) == 0)
{
report_or_die("Missing arguments to system, nothing to do!");
return;
}
init_dynamic_string(&ds_cmd, 0, command->query_len + 64, 256);
/* Eval the system comm... | 210,049,618,772,100,160,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,315 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void really_die(const char *msg)
{
static int dying= 0;
fflush(stdout);
fprintf(stderr, "%s", msg);
fflush(stderr);
/*
Protect against dying twice
first time 'die' is called, try to write log files
second time, just exit
*/
if (dying)
cleanup_and_exit(1);
dying= 1;
log_file.show_tail... | 47,390,868,002,350,440,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,316 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void show_tail(uint lines) {
DBUG_ENTER("LogFile::show_tail");
if (!m_file || m_file == stdout)
DBUG_VOID_RETURN;
if (lines == 0)
DBUG_VOID_RETURN;
lines++;
int show_offset= 0;
char buf[256+1]; /* + zero termination for DBUG_PRINT */
size_t bytes;
bool ... | 8,279,083,729,734,746,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,317 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_wait_for_slave_to_stop(struct st_command *c __attribute__((unused)))
{
static int SLAVE_POLL_INTERVAL= 300000;
MYSQL* mysql = cur_con->mysql;
for (;;)
{
MYSQL_RES *UNINIT_VAR(res);
MYSQL_ROW row;
int done;
if (mysql_query(mysql,"show status like 'Slave_running'") ||
!(res=mysql_store_r... | 69,167,101,638,858,500,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,318 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void var_set_query_get_value(struct st_command *command, VAR *var)
{
long row_no;
int col_no= -1;
MYSQL_RES* res;
MYSQL* mysql= cur_con->mysql;
static DYNAMIC_STRING ds_query;
static DYNAMIC_STRING ds_col;
static DYNAMIC_STRING ds_row;
const struct command_arg query_get_value_args[] = {
{"query", A... | 185,562,777,235,728,180,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,319 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void timer_output(void)
{
if (timer_file)
{
char buf[32], *end;
ulonglong timer= timer_now() - timer_start;
end= longlong10_to_str(timer, buf, 10);
str_to_file(timer_file,buf, (int) (end-buf));
/* Timer has been written to the file, don't use it anymore */
timer_file= 0;
}
} | 303,879,897,896,346,800,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,320 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_perl(struct st_command *command)
{
int error;
File fd;
FILE *res_file;
char buf[FN_REFLEN];
char temp_file_path[FN_REFLEN];
static DYNAMIC_STRING ds_script;
static DYNAMIC_STRING ds_delimiter;
const struct command_arg perl_args[] = {
{ "delimiter", ARG_STRING, FALSE, &ds_delimiter, "Delimite... | 27,985,449,102,931,594,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,321 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void check_result()
{
const char *mess= 0;
DBUG_ENTER("check_result");
DBUG_ASSERT(result_file_name);
DBUG_PRINT("enter", ("result_file_name: %s", result_file_name));
switch (compare_files(log_file.file_name(), result_file_name)) {
case RESULT_OK:
if (!error_count)
break; /* ok */
mess= "Got... | 65,998,765,034,037,840,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,322 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static void do_list_files(struct st_command *command)
{
int error;
static DYNAMIC_STRING ds_dirname;
static DYNAMIC_STRING ds_wild;
const struct command_arg list_files_args[] = {
{"dirname", ARG_STRING, TRUE, &ds_dirname, "Directory to list"},
{"file", ARG_STRING, FALSE, &ds_wild, "Filename (incl. wildc... | 5,168,386,150,245,718,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,323 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void run_query_normal(struct st_connection *cn, struct st_command *command,
int flags, char *query, int query_len,
DYNAMIC_STRING *ds, DYNAMIC_STRING *ds_warnings)
{
MYSQL_RES *res= 0;
MYSQL *mysql= cn->mysql;
int err= 0, counter= 0;
DBUG_ENTER("run_query_normal");
... | 89,505,105,586,274,570,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,324 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | int do_sleep(struct st_command *command, my_bool real_sleep)
{
int error= 0;
char *sleep_start, *sleep_end;
double sleep_val;
char *p;
static DYNAMIC_STRING ds_sleep;
const struct command_arg sleep_args[] = {
{ "sleep_delay", ARG_STRING, TRUE, &ds_sleep, "Number of seconds to sleep." }
};
check_comm... | 211,921,299,781,124,160,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,325 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static int do_stmt_execute(struct st_connection *cn)
{
/* The cn->stmt is already set. */
if (!cn->has_thread)
return mysql_stmt_execute(cn->stmt);
signal_connection_thd(cn, EMB_EXECUTE_STMT);
wait_query_thread_done(cn);
return cn->result;
} | 312,729,163,560,005,250,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,326 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static void make_error_message(char *buf, size_t len, const char *fmt, va_list args)
{
char *s= buf, *end= buf + len;
s+= my_snprintf(s, end - s, "mysqltest: ");
if (cur_file && cur_file != file_stack)
{
s+= my_snprintf(s, end - s, "In included file \"%s\": \n",
cur_file->file_name);
... | 294,634,720,071,599,000,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,327 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | int util_query(MYSQL* org_mysql, const char* query){
MYSQL* mysql;
DBUG_ENTER("util_query");
if(!(mysql= cur_con->util_mysql))
{
DBUG_PRINT("info", ("Creating util_mysql"));
if (!(mysql= mysql_init(mysql)))
die("Failed in mysql_init()");
if (opt_connect_timeout)
mysql_options(mysql, M... | 193,377,952,613,501,280,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,328 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | }
void dynstr_append_sorted(DYNAMIC_STRING* ds, DYNAMIC_STRING *ds_input,
bool keep_header)
{
unsigned i;
char *start= ds_input->str;
DYNAMIC_ARRAY lines;
DBUG_ENTER("dynstr_append_sorted");
if (!*start)
DBUG_VOID_RETURN; /* No input */
my_init_dynamic_array(&lines, sizeof(... | 5,151,825,019,720,770,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,329 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | int read_line(char *buf, int size)
{
char c, UNINIT_VAR(last_quote), last_char= 0;
char *p= buf, *buf_end= buf + size - 1;
int skip_char= 0;
my_bool have_slash= FALSE;
enum {R_NORMAL, R_Q, R_SLASH_IN_Q,
R_COMMENT, R_LINE_START} state= R_LINE_START;
DBUG_ENTER("read_line");
start_lineno= cur_fi... | 20,350,153,066,249,218,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,330 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | const char *get_errname_from_code (uint error_code, st_error *e)
{
DBUG_ENTER("get_errname_from_code");
DBUG_PRINT("enter", ("error_code: %d", error_code));
if (! error_code)
{
DBUG_RETURN("");
}
for (; e->name; e++)
{
if (e->code == error_code)
{
DBUG_RETURN(e->name);
}... | 251,862,937,331,478,550,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,331 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_copy_file(struct st_command *command)
{
int error;
static DYNAMIC_STRING ds_from_file;
static DYNAMIC_STRING ds_to_file;
const struct command_arg copy_file_args[] = {
{ "from_file", ARG_STRING, TRUE, &ds_from_file, "Filename to copy from" },
{ "to_file", ARG_STRING, TRUE, &ds_to_file, "Filename ... | 324,044,229,391,661,950,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,332 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void append_stmt_result(DYNAMIC_STRING *ds, MYSQL_STMT *stmt,
MYSQL_FIELD *fields, uint num_fields)
{
MYSQL_BIND *my_bind;
my_bool *is_null;
ulong *length;
uint i;
int error;
/* Allocate array with bind structs, lengths and NULL flags */
my_bind= (MYSQL_BIND*) my_malloc(num_fields... | 225,459,917,569,856,470,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,333 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_block(enum block_cmd cmd, struct st_command* command)
{
char *p= command->first_argument;
const char *expr_start, *expr_end;
VAR v;
const char *cmd_name= (cmd == cmd_while ? "while" : "if");
my_bool not_expr= FALSE;
DBUG_ENTER("do_block");
DBUG_PRINT("enter", ("%s", cmd_name));
/* Check stack o... | 227,053,882,358,167,260,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,334 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void write(DYNAMIC_STRING* ds)
{
DBUG_ENTER("LogFile::write");
DBUG_ASSERT(m_file);
if (ds->length == 0)
DBUG_VOID_RETURN;
DBUG_ASSERT(ds->str);
#ifdef EXTRA_DEBUG
DBUG_PRINT("QQ", ("str: %*s", (int) ds->length, ds->str));
#endif
if (fwrite(ds->str, 1, ds->length, m_file) != ds->len... | 295,060,478,838,631,020,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,335 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static void cleanup_and_exit(int exit_code)
{
free_used_memory();
/* Only call mysql_server_end if mysql_server_init has been called */
if (server_initialized)
mysql_server_end();
/*
mysqltest is fundamentally written in a way that makes impossible
to free all memory before exit (consider memory a... | 75,921,937,215,036,290,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,336 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void abort_not_supported_test(const char *fmt, ...)
{
va_list args;
DBUG_ENTER("abort_not_supported_test");
/* Print include filestack */
fflush(stdout);
fprintf(stderr, "The test '%s' is not supported by this installation\n",
file_stack->file_name);
fprintf(stderr, "Detected in file %s at line %... | 68,082,994,182,188,450,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,337 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void mark_progress(struct st_command* command __attribute__((unused)),
int line)
{
static ulonglong progress_start= 0; // < Beware
DYNAMIC_STRING ds_progress;
char buf[32], *end;
ulonglong timer= timer_now();
if (!progress_start)
progress_start= timer;
timer-= progress_start;
if (... | 111,978,458,036,006,270,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,338 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static int do_read_query_result(struct st_connection *cn)
{
DBUG_ASSERT(cn->has_thread);
wait_query_thread_done(cn);
if (cn->result)
goto exit_func;
signal_connection_thd(cn, EMB_READ_QUERY_RESULT);
wait_query_thread_done(cn);
exit_func:
return cn->result;
} | 108,320,978,632,762,060,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,339 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | int compare_files2(File fd1, const char* filename2)
{
int error= RESULT_OK;
File fd2;
size_t fd1_length, fd2_length;
DYNAMIC_STRING fd1_result, fd2_result;
if ((fd2= my_open(filename2, O_RDONLY, MYF(0))) < 0)
{
my_close(fd1, MYF(0));
die("Failed to open second file: '%s'", filename2);
}
fd1_le... | 302,220,778,124,284,830,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,340 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | int main(int argc, char **argv)
{
struct st_command *command;
my_bool q_send_flag= 0, abort_flag= 0;
uint command_executed= 0, last_command_executed= 0;
char save_file[FN_REFLEN];
bool empty_result= FALSE;
MY_INIT(argv[0]);
DBUG_ENTER("main");
/* mysqltest has no way to free all its memory correctly */... | 121,162,909,931,687,110,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,341 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_rmdir(struct st_command *command)
{
int error;
static DYNAMIC_STRING ds_dirname;
const struct command_arg rmdir_args[] = {
{ "dirname", ARG_STRING, TRUE, &ds_dirname, "Directory to remove" }
};
DBUG_ENTER("do_rmdir");
check_command_args(command, command->first_argument,
rmd... | 147,563,858,505,258,730,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,342 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_shutdown_server(struct st_command *command)
{
long timeout=60;
int pid;
DYNAMIC_STRING ds_pidfile_name;
MYSQL* mysql = cur_con->mysql;
static DYNAMIC_STRING ds_timeout;
const struct command_arg shutdown_args[] = {
{"timeout", ARG_STRING, FALSE, &ds_timeout, "Timeout before killing server"}
};
... | 47,052,263,432,750,750,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,343 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_connect(struct st_command *command)
{
int con_port= opt_port;
char *con_options;
char *ssl_cipher __attribute__((unused))= 0;
my_bool con_ssl= 0, con_compress= 0;
my_bool con_pipe= 0;
my_bool con_shm __attribute__ ((unused))= 0;
struct st_connection* con_slot;
static DYNAMIC_STRING ds_connectio... | 274,916,002,653,639,800,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,344 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static void do_list_files_write_file_command(struct st_command *command,
my_bool append)
{
int error;
static DYNAMIC_STRING ds_content;
static DYNAMIC_STRING ds_filename;
static DYNAMIC_STRING ds_dirname;
static DYNAMIC_STRING ds_wild;
const struct command_arg li... | 231,113,104,884,870,600,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,345 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_move_file(struct st_command *command)
{
int error;
static DYNAMIC_STRING ds_from_file;
static DYNAMIC_STRING ds_to_file;
const struct command_arg move_file_args[] = {
{ "from_file", ARG_STRING, TRUE, &ds_from_file, "Filename to move from" },
{ "to_file", ARG_STRING, TRUE, &ds_to_file, "Filename ... | 172,405,234,612,569,240,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,346 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | char *re_eprint(int err)
{
static char epbuf[100];
size_t len __attribute__((unused))=
my_regerror(REG_ITOA|err, (my_regex_t *)NULL, epbuf, sizeof(epbuf));
assert(len <= sizeof(epbuf));
return(epbuf);
} | 226,381,301,017,994,570,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,347 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_eval(DYNAMIC_STRING *query_eval, const char *query,
const char *query_end, my_bool pass_through_escape_chars)
{
const char *p;
register char c, next_c;
register int escaped = 0;
VAR *v;
DBUG_ENTER("do_eval");
for (p= query; (c= *p) && p < query_end; ++p)
{
switch(c) {
case '$... | 147,721,570,640,283,040,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,348 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | static int do_stmt_prepare(struct st_connection *cn, const char *q, int q_len)
{
/* The cn->stmt is already set. */
if (!cn->has_thread)
return mysql_stmt_prepare(cn->stmt, q, q_len);
cn->cur_query= q;
cn->cur_query_len= q_len;
signal_connection_thd(cn, EMB_PREPARE_STMT);
wait_query_thread_done(cn);
r... | 98,613,899,647,492,290,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,349 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void append_table_headings(DYNAMIC_STRING *ds,
MYSQL_FIELD *field,
uint num_fields)
{
uint col_idx;
if (disable_column_names)
return;
for (col_idx= 0; col_idx < num_fields; col_idx++)
{
if (col_idx)
dynstr_append_mem(ds, "\t", 1);
replace_d... | 287,693,404,639,612,840,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,350 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void handle_error(struct st_command *command,
unsigned int err_errno, const char *err_error,
const char *err_sqlstate, DYNAMIC_STRING *ds)
{
int i;
DBUG_ENTER("handle_error");
command->used_replace= 1;
if (command->require_file)
{
/*
The query after a "--require... | 238,622,147,133,627,100,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,351 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void var_query_set(VAR *var, const char *query, const char** query_end)
{
char *end = (char*)((query_end && *query_end) ?
*query_end : query + strlen(query));
MYSQL_RES *res;
MYSQL_ROW row;
MYSQL* mysql = cur_con->mysql;
DYNAMIC_STRING ds_query;
DBUG_ENTER("var_query_set");
LINT_INIT(res);
if (... | 196,849,788,424,755,100,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,352 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_delimiter(struct st_command* command)
{
char* p= command->first_argument;
DBUG_ENTER("do_delimiter");
DBUG_PRINT("enter", ("first_argument: %s", command->first_argument));
while (*p && my_isspace(charset_info, *p))
p++;
if (!(*p))
die("Can't set empty delimiter");
delimiter_length= strmak... | 196,753,105,234,522,520,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,353 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void report_or_die(const char *fmt, ...)
{
va_list args;
DBUG_ENTER("report_or_die");
char buff[DIE_BUFF_SIZE];
va_start(args, fmt);
make_error_message(buff, sizeof(buff), fmt, args);
va_end(args);
if (opt_continue_on_error)
{
/* Just log the error and continue */
replace_dynstr_append(&ds_re... | 94,881,616,049,238,200,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,354 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_get_replace_column(struct st_command *command)
{
char *from= command->first_argument;
char *buff, *start;
DBUG_ENTER("get_replace_columns");
free_replace_column();
if (!*from)
die("Missing argument in %s", command->query);
/* Allocate a buffer for results */
start= buff= (char*)my_malloc(str... | 115,150,655,137,445,380,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,355 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void eval_expr(VAR *v, const char *p, const char **p_end,
bool open_end, bool do_eval)
{
DBUG_ENTER("eval_expr");
DBUG_PRINT("enter", ("p: '%s'", p));
/* Skip to treat as pure string if no evaluation */
if (! do_eval)
goto NO_EVAL;
if (*p == '$')
{
VAR *vp;
const char* expect... | 172,950,564,577,082,980,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,356 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_cat_file(struct st_command *command)
{
int error;
static DYNAMIC_STRING ds_filename;
const struct command_arg cat_file_args[] = {
{ "filename", ARG_STRING, TRUE, &ds_filename, "File to read from" }
};
DBUG_ENTER("do_cat_file");
check_command_args(command,
command->first_arg... | 152,268,243,728,970,780,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,357 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_diff_files(struct st_command *command)
{
int error= 0;
static DYNAMIC_STRING ds_filename;
static DYNAMIC_STRING ds_filename2;
const struct command_arg diff_file_args[] = {
{ "file1", ARG_STRING, TRUE, &ds_filename, "First file to diff" },
{ "file2", ARG_STRING, TRUE, &ds_filename2, "Second file ... | 221,975,713,942,071,600,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,358 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void do_change_user(struct st_command *command)
{
MYSQL *mysql = cur_con->mysql;
/* static keyword to make the NetWare compiler happy. */
static DYNAMIC_STRING ds_user, ds_passwd, ds_db;
const struct command_arg change_user_args[] = {
{ "user", ARG_STRING, FALSE, &ds_user, "User to connect as" },
{ "pas... | 119,385,159,360,553,760,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,359 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | ulonglong timer_now(void)
{
return my_interval_timer() / 1000000;
} | 145,535,718,326,313,830,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,360 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void open(const char* dir, const char* name, const char* ext)
{
DBUG_ENTER("LogFile::open");
DBUG_PRINT("enter", ("dir: '%s', name: '%s'", dir, name));
if (!name)
{
m_file= stdout;
DBUG_VOID_RETURN;
}
fn_format(m_file_name, name, dir, ext,
*dir ? MY_REPLACE_DIR | M... | 15,373,995,879,602,357,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,361 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void open_file(const char *name)
{
char buff[FN_REFLEN];
size_t length;
const char *curname= cur_file->file_name;
DBUG_ENTER("open_file");
DBUG_PRINT("enter", ("name: %s", name));
if (cur_file == file_stack_end)
die("Source directives are nesting too deep");
if (test_if_hard_path(name))
{
if (... | 324,483,904,721,676,100,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,362 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | void get_command_type(struct st_command* command)
{
char save;
uint type;
DBUG_ENTER("get_command_type");
if (*command->query == '}')
{
command->type = Q_END_BLOCK;
DBUG_VOID_RETURN;
}
save= command->query[command->first_word_len];
command->query[command->first_word_len]= 0;
type= find_type(... | 228,074,008,771,802,030,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,363 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | int parse_args(int argc, char **argv)
{
if (load_defaults("my",load_default_groups,&argc,&argv))
exit(1);
default_argv= argv;
if ((handle_options(&argc, &argv, my_long_options, get_one_option)))
exit(1);
if (argc > 1)
{
usage();
exit(1);
}
if (argc == 1)
opt_db= *argv;
if (tty_pas... | 52,464,563,990,825,020,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
504,364 | server | 01b39b7b0730102b88d8ea43ec719a75e9316a1e | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/01b39b7b0730102b88d8ea43ec719a75e9316a1e | mysqltest: don't eat new lines in --exec
pass them through as is | 0 | uint get_errcode_from_name(const char *error_name, const char *error_end)
{
uint tmp;
if ((tmp= get_errcode_from_name(error_name, error_end,
global_error_names)))
return tmp;
if ((tmp= get_errcode_from_name(error_name, error_end,
handle... | 274,706,220,953,141,560,000,000,000,000,000,000,000 | None | null | [
"NVD-CWE-noinfo"
] | CVE-2017-3600 | Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.54 and earlier, 5.6.35 and earlier and 5.7.17 and earlier. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromis... | https://nvd.nist.gov/vuln/detail/CVE-2017-3600 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.