summaryrefslogtreecommitdiff
path: root/storage/connect/plgdbsem.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2014-09-27 12:09:37 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2014-09-27 12:09:37 +0200
commit8585a6b58654610839139653e7793d7e6e485199 (patch)
tree8db21e0240c90a6f2da1f72e2e5f7b7824b46373 /storage/connect/plgdbsem.h
parent6a00401a6090b58c2141da86b19fcc17e7102072 (diff)
downloadmariadb-git-8585a6b58654610839139653e7793d7e6e485199.tar.gz
- Fix: Crash of an XCOL table when the Colname column size is too small.
Was because of buffer overrun in XCLCOL::ReadColumn. The Cbuf buffer was unconditionally filled Now it is limited to its size. This happened because this buffer was allocated according to the XCOL column size. It is now allocated according to the source column size. modified: storage/connect/plgdbsem.h storage/connect/tabutil.h storage/connect/tabxcl.cpp storage/connect/tabxcl.h
Diffstat (limited to 'storage/connect/plgdbsem.h')
-rw-r--r--storage/connect/plgdbsem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/plgdbsem.h b/storage/connect/plgdbsem.h
index 7d5931285ce..ef209a9b8b8 100644
--- a/storage/connect/plgdbsem.h
+++ b/storage/connect/plgdbsem.h
@@ -582,7 +582,7 @@ DllExport void *PlgDBSubAlloc(PGLOBAL g, void *memp, size_t size);
DllExport void *PlgDBalloc(PGLOBAL, void *, MBLOCK&);
DllExport void *PlgDBrealloc(PGLOBAL, void *, MBLOCK&, size_t);
DllExport void NewPointer(PTABS, void *, void *);
-DllExport char *GetIni(int n= 0);
+//lExport char *GetIni(int n= 0); // Not used anymore
DllExport void SetTrc(void);
DllExport char *GetListOption(PGLOBAL, const char *, const char *,
const char *def=NULL);