diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-08-24 11:45:23 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-08-25 23:09:09 +0000 |
commit | 049d8892eaa18d71d6edb10752418ad33305f310 (patch) | |
tree | 3cb104959f45385919d3fd79e83b739188502b56 /src/corelib/thread | |
parent | acbf9a858b6b389103b7f43f4f4892a142ec56c6 (diff) |
QRegularExpression: do not assume QStringViews are NUL terminated
The convenience API used to look up the index of a named capturing
group expects NUL terminated strings. Therefore, we can't just
use it together with QStringViews, which may be not. Use the
non-convenience API instead.
Pick-to: 5.15
Change-Id: I25ca14de49b13ee1764525f8b19f2550c30c1afa
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/thread')
0 files changed, 0 insertions, 0 deletions