summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qiconloader.cpp
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2013-04-23 22:46:43 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-24 01:30:20 +0200
commitaf35ee291a1bbbc8627f9a17f7e104898d49b138 (patch)
tree96ad6d660a30e5b3235cf7159fae75635197e60d /src/gui/image/qiconloader.cpp
parent4341ae32f43e7e36a92c6e738a29de40d0667cb0 (diff)
qsql_odbc: fix SQLGetStmtAtt usage
Failure to initialize the variable can cause spurious non-zero values. http://msdn.microsoft.com/en-us/library/windows/desktop/ms715438(v=vs.85).aspx "..value can either be a SQLULEN value or a null-terminated character string. If the value is a SQLULEN value, some drivers may only write the lower 32-bit or 16-bit of a buffer and leave the higher-order bit unchanged. Therefore, applications should use a buffer of SQLULEN and initialize the value to 0 before calling this function. Also, the BufferLength and StringLengthPtr arguments are not used." Follow-up to 1509316a37fb2d365230d020d1dfc251c830fd56 Change-Id: I2e92eb845a2590bea0849c52bde8902adff1b419 Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to 'src/gui/image/qiconloader.cpp')
0 files changed, 0 insertions, 0 deletions