diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2016-03-25 12:46:42 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2016-03-25 12:46:42 +0100 |
commit | 8c9fd074d2269ccb0a1b18b9463e847a52b27fce (patch) | |
tree | f1b0b1549ed55e85ff87f607345c130580d4a4a3 /storage/connect/ha_connect.h | |
parent | 2c4715b3e2414f653f8d940c30c51ba3e1fe65cc (diff) | |
download | mariadb-git-8c9fd074d2269ccb0a1b18b9463e847a52b27fce.tar.gz |
- Fix MDEV-9779. Avoid buffer overflow when setting partname.
modified: storage/connect/ha_connect.cc
modified: storage/connect/ha_connect.h
Diffstat (limited to 'storage/connect/ha_connect.h')
-rw-r--r-- | storage/connect/ha_connect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/ha_connect.h b/storage/connect/ha_connect.h index 629e4a01183..669d45db25a 100644 --- a/storage/connect/ha_connect.h +++ b/storage/connect/ha_connect.h @@ -554,7 +554,7 @@ protected: PVAL sdvalin4; // Used to convert date values PVAL sdvalout; // Used to convert date values bool istable; // True for table handler - char partname[128]; // The partition name + char partname[65]; // The partition name MODE xmod; // Table mode XINFO xinfo; // The table info structure bool valid_info; // True if xinfo is valid |