summaryrefslogtreecommitdiffstats
path: root/header.LGPL3-COMM
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-09-14 17:38:53 -0700
committerThiago Macieira <thiago.macieira@intel.com>2018-09-25 23:24:01 +0000
commit91c83d842c54180f98b23a1cf8878b9d7a22f1b2 (patch)
treee00d6553e98ab0c7927a33dfce94c2a4b0bd6adf /header.LGPL3-COMM
parentb0c6f2da7c90d5fb7d5f0a26c123d2b185a5181c (diff)
Fix integer overflow in very long sections in ELF objects
The source is an ElfXX_Off, which is an unsigned 32- or 64-bit. That means any section bigger than 2 GB would cause an overflow when we assigned in m_stringTableFileOffset = strtab.offset; Change-Id: Ib47c56818178458a88b4fffd15546bd47a89894e Fixes: QTBUG-70560 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> (cherry picked from commit cb5c24fa26142edaff8fd2c9787dbe45c222b4ff) Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> (cherry picked from commit 9f95f25d2ef3de76d449bc4de5b09e87e9ed537a)
Diffstat (limited to 'header.LGPL3-COMM')
0 files changed, 0 insertions, 0 deletions