summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppsourceprocessor_test.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2018-09-13 09:47:13 +0200
committerDavid Schulz <david.schulz@qt.io>2018-09-13 07:56:29 +0000
commit8c1edd5c545dc139e803994079a5222b7b08edc7 (patch)
treeac4ffe4781b74016a9167e89913fe37c5ec265cb /src/plugins/cpptools/cppsourceprocessor_test.cpp
parentd490319db6d44e56349339ea8367a14f7043c11b (diff)
downloadqt-creator-8c1edd5c545dc139e803994079a5222b7b08edc7.tar.gz
LSP: seek input buffer to the end before writing to it
If we receive messages with incomplete header we seek to the position before we started to read any data from the buffer. Writing to this buffer where the current position is not at the end results in misordered data. Change-Id: Ifaea5c07abee59c803ed08094ed1fdaf40d1cb7b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppsourceprocessor_test.cpp')
0 files changed, 0 insertions, 0 deletions