|author||David Faure <email@example.com>||2014-08-25 13:53:44 +0200|
|committer||Thiago Macieira <firstname.lastname@example.org>||2014-09-10 08:28:11 +0200|
qsql ibase: fix memory corruption due to LONG being 4 bytes in firebird.
As fb_types.h says, Firebird requires (S)LONG to be 32 bit, and it defines SLONG to int. This leads to sqllen being 4, so qsql_ibase.cpp allocates 4 bytes... and was writing 8 bytes into it. Fixed by checking sqllen, the same way QIBaseResult::gotoNext does. Change-Id: Ie8680d32f98c354dfc8430b8efbfe95450556956 Reviewed-by: Mark Brand <email@example.com>
Diffstat (limited to 'src/plugins/platforms/xcb/xcb-static')
0 files changed, 0 insertions, 0 deletions