diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2018-06-28 18:36:36 -0700 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2018-07-25 12:40:04 +0000 |
| commit | 9a04453b50ea22d6060aeb49250cf3e263d86ad3 (patch) | |
| tree | c394218aa7a1aecabd5272725d5cef8b81df46d9 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | fdb780b897fc2964dc70c286ee3102d7ce6327ea (diff) | |
Fix the fix for mmap() overflow check
The code I introduced in 4ee74257940e2ed21b653b986ad02a746e8438a6 only
dealt with systems that reasonably used a 64-bit off_t parameter. Turns
out that we don't turn on largefile support on 32-bit Android, which
meant that the fix caused a regression.
[ChangeLog][QtCore][QFile] Fixed a regression that caused QFile::map()
to succeed or produce incorrect results when trying to map a file at an
offset beyond 4 GB on 32-bit Android systems and on some special Linux
configurations.
Task-number: QTBUG-69148
Change-Id: I2c133120577fa12a32d444488bac3e341966f8d7
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
