summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/cppcodeparser.cpp
diff options
context:
space:
mode:
authorArvid E. Picciani <[email protected]>2012-05-15 12:29:53 +0200
committerQt by Nokia <[email protected]>2012-05-16 04:25:07 +0200
commitd5000e82e3d17532b76d5a69fd35ac4e8f3b9d18 (patch)
treeec191f6791a81a7fc8000fd014c2cd9404fab133 /src/tools/qdoc/cppcodeparser.cpp
parent7f3f3a0858ac743802b80cc5490747ae024b5574 (diff)
QElfParser: double check section size before using it.
In rare cases, if the section is empty, we're reading the whole object into memory because size -1 = UINT_MAX. Change-Id: Ibf9a1534159ce626e4f2327536076d0cc1ebf0ba Reviewed-by: Thiago Macieira <[email protected]> Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src/tools/qdoc/cppcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions