summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/iterators/qunioniterator.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2015-07-10 13:22:32 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-10-23 08:59:45 +0000
commit0a2f2382541424726168804be2c90b91381608c6 (patch)
tree1e35fbd18f77ac56ff4a38ed419c434504bb187c /src/xmlpatterns/iterators/qunioniterator.cpp
parentb05d05fd9ce2aeedfaf805a7ed9007a93c902bc9 (diff)
downloadqt4-tools-4.8.tar.gz
Better handling of invalid font tablesHEAD4.8
Specifically when reading files with broken cmap tables, we could get some undeterministic results. We handle this more gracefully by verifying that the offsets are sane and bailing out early if not. This replaces the current pattern throughout the font engine for consistency. This is a back-port of 4a1e5dbade4bab55f39bd368480dcca9a11e4b38 from Qt 5. Change-Id: If4172b9ef0808801c8e27ffaad962535afe572ed Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/xmlpatterns/iterators/qunioniterator.cpp')
0 files changed, 0 insertions, 0 deletions