diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-09-16 09:05:47 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-09-25 22:14:07 +0000 |
commit | 7e1a0c07390ed18de074ce5450b272838a3b8ac8 (patch) | |
tree | e9acf3de8ba572b12efac0122d865802408e2069 /src/corelib/thread | |
parent | 4d40f09a45202dff901d4f970a6a7e939797138b (diff) |
Add tests for decoding too-short UTF-8 sequences
We were handling this properly, but not testing them. I guess we weren't
testing because the condition is a valid intermediate state, so
hasFailure() is correct it returning false.
Testing inspired by the bug reported in
https://github.com/intel/tinycbor/issues/137
Change-Id: Ib47c56818178458a88b4fffd1554ecfdd0af637e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/thread')
0 files changed, 0 insertions, 0 deletions