summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnumeric
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-11-20 12:50:41 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-11-20 15:33:00 (GMT)
commitb7692016f282251002b3e85dfcb5567bd91a12c0 (patch)
treeac3ba927000938e56508c06ddcce6e5f06430357 /tests/auto/qnumeric
parentbda75bfc7cf0137474005a0a733ff83e2aae16e9 (diff)
downloadQt-b7692016f282251002b3e85dfcb5567bd91a12c0.zip
Qt-b7692016f282251002b3e85dfcb5567bd91a12c0.tar.gz
Qt-b7692016f282251002b3e85dfcb5567bd91a12c0.tar.bz2
Fix regression introduced in 1e6b424b692b20dcfec920f8d3563e520ec1ff05
When processing the result of QIODevice::readLine, forgot to take into account that a '\0' is appended to the array. The terminating character is not accounted for in the number of bytes returned. By pre-allocating a byte for the terminating null character, we make sure we'll actually read 16k bytes on each and every iteration. Task-number: QTBUG-6019 Reviewed-by: Thiago Macieira
Diffstat (limited to 'tests/auto/qnumeric')
0 files changed, 0 insertions, 0 deletions