summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-01-04 13:04:58 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-04 14:27:19 +0100
commitbd525a64d5fb55d1c67fdecdad9ed920a3d83666 (patch)
tree20431e044d9027671bf35fbe1a3d72346af46963 /src/corelib/kernel
parent08863b6fdaa8383e2274826db3ec42c4d4f11576 (diff)
Fix rare crashes in fontconfig fontdb due to uninitialized variable
Initialize the out variable passed to FcPatternGetString to protect against the "failure" case. Otherwise the subsequent QString::fromUtf8 is called with an uninitialized pointer. Change-Id: I31b8b4c366f673609b26eca162334fd8bc9f25d2 Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions