summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-02-23 13:04:58 +0100
committerSergei Golubchik <sergii@pisem.net>2010-02-23 13:04:58 +0100
commitf04cf03f75ffca0b99562c027c1c57340d375f66 (patch)
treec519404b0a739443194821dc72431eb35b5d4988 /include
parent2840821cc92c302c9172ef6d47c484b5bdfcc785 (diff)
downloadmariadb-git-f04cf03f75ffca0b99562c027c1c57340d375f66.tar.gz
fix for a possible DoS in the my_net_skip_rest()
Diffstat (limited to 'include')
-rw-r--r--include/mysql.h.pp2
-rw-r--r--include/mysql_com.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mysql.h.pp b/include/mysql.h.pp
index c333cb2bec5..3fb232cea51 100644
--- a/include/mysql.h.pp
+++ b/include/mysql.h.pp
@@ -28,7 +28,7 @@ typedef struct st_net {
unsigned int *return_status;
unsigned char reading_or_writing;
char save_char;
- my_bool unused0;
+ char net_skip_rest_factor;
my_bool unused;
my_bool compress;
my_bool unused1;
diff --git a/include/mysql_com.h b/include/mysql_com.h
index 41941d01fd2..96eb8f21d3f 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -254,7 +254,7 @@ typedef struct st_net {
unsigned int *return_status;
unsigned char reading_or_writing;
char save_char;
- my_bool unused0; /* Please remove with the next incompatible ABI change. */
+ char net_skip_rest_factor;
my_bool unused; /* Please remove with the next incompatible ABI change */
my_bool compress;
my_bool unused1; /* Please remove with the next incompatible ABI change. */