~maria-captains/maria/10.0

Viewing all changes in revision 3984.2.46.

  • Committer: Olivier Bertrand
  • Date: 2014-09-27 10:09:37 UTC
  • mto: This revision was merged to the branch mainline in revision 4424.
  • Revision ID: bertrandop@gmail.com-20140927100937-yuw1upsx9nyykw8o
- 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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: