summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/mysql/qsql_mysql.cpp
diff options
context:
space:
mode:
authorSune Vuorela <sune@vuorela.dk>2016-09-04 14:59:37 +0200
committerSune Vuorela <sune@vuorela.dk>2016-09-15 17:31:09 +0000
commit469d68b344380c1a9ccef95bb784b39a436a7634 (patch)
tree635006a67822443d21da500ad3722b69a2cb84d1 /src/sql/drivers/mysql/qsql_mysql.cpp
parentc59c759fcccd17b06255e7062cc1ceb532912a8a (diff)
Fix handling of bad compose table
The ASAN talk at QtCon was pointing out a out of bound read in a vector. Let's try to do something about it. If the lazy initialization of compose table fails, the first character handling still tries to actually access it. Later characters are properly handled in the caller. Reported-by: Hanno Böck Change-Id: Ieac3e95361abd0fcd06c555bcd00ca1c4d8f1931 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/sql/drivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions