summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>2012-03-05 15:40:03 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-06 12:39:50 +0100
commite5dabe8338cb3dacf24079e315e07f2705fd0a70 (patch)
tree555be08b6d9fa8b494d094ca524c564af97224ce /src/3rdparty/harfbuzz/src/harfbuzz-shaper.h
parent930a90d97835223587c2c8df1213c64295f3af97 (diff)
Improve safeness of QMetaType::registerType.
This internal function is abused by some modules to create dynamic types in metatype system. In Qt5 more non-optional arguments were added to the function and to keep temporary source compatibility an overload was created. QMetaType code assumes that every known type has properly defined basic operations like creation and destruction. Setting a helper function pointer to null value is asking for a crash, because the code doesn't check for that value, the null pointer may be called. Change-Id: I5ca7454a70c308e01de26fab23481b3c94c22371 Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Diffstat (limited to 'src/3rdparty/harfbuzz/src/harfbuzz-shaper.h')
0 files changed, 0 insertions, 0 deletions