path: root/src/plugins/platforms/xcb/xcb-static
diff options
authorDavid Faure <>2014-08-25 13:53:44 +0200
committerThiago Macieira <>2014-09-10 08:28:11 +0200
commit507fff201bcafc1c28397e7008d8fbfe4c6ffb38 (patch)
tree787a0a5fdaebc60edb16fdc30cd80e70c03f8294 /src/plugins/platforms/xcb/xcb-static
parent3e804976687ce3dbe424ae5dfa47bba0a6280ce1 (diff)
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 <>
Diffstat (limited to 'src/plugins/platforms/xcb/xcb-static')
0 files changed, 0 insertions, 0 deletions