summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteinitialization.h
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-15 19:46:40 +0000
commitcb5c24fa26142edaff8fd2c9787dbe45c222b4ff (patch)
tree9e8f610c76566f0be0ebd9a329b63cadb814bc68 /src/tools/uic/cpp/cppwriteinitialization.h
parent1511bfef52b0731e1fdeafd685bf4954024da0e9 (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>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.h')
0 files changed, 0 insertions, 0 deletions