summaryrefslogtreecommitdiff
path: root/BUILD/compile-pentium-icc-yassl
diff options
context:
space:
mode:
authorTatiana A. Nurnberg <azundris@mysql.com>2008-11-20 15:39:39 +0100
committerTatiana A. Nurnberg <azundris@mysql.com>2008-11-20 15:39:39 +0100
commit85c04371d794efdb0134a40320757c0d660596a4 (patch)
treea932d76e8ae3c26a374d2f58fd62b6ae5cec7acd /BUILD/compile-pentium-icc-yassl
parent780186f962d33449cefac0e1cd12100e6fcab64f (diff)
downloadmariadb-git-85c04371d794efdb0134a40320757c0d660596a4.tar.gz
Bug#39591: Crash if table comment is longer than 62 characters
It was possible to crash a mysqld build with EXTRA_DEBUG using CREATE TABLE ... COMMENT with a specially-crafted UTF-8 string. This CS removes the check that caused it since it no longer applies in current servers anyway, and adds comments instead to avoid future confusion. mysql-test/r/strict.result: Try to crash mysqld with a "suitable" multi-byte (3-byte UTF-8) string for a table comment. mysql-test/t/strict.test: Try to crash mysqld with a "suitable" multi-byte (3-byte UTF-8) string for a table comment. sql/unireg.cc: Talk at length about limits in .frm form-info, characters vs bytes, inlined vs extra-segement TABLE-COMMENTS, and the differences in 6.0+ vs <6.0 when it comes to UTF-8. Also, remove a check that no longer applies and that could lead to problems in pathological cases.
Diffstat (limited to 'BUILD/compile-pentium-icc-yassl')
0 files changed, 0 insertions, 0 deletions