Constructing a QStringRef directly from the string, offset and a
length is UB if the offset + length exceeds the string's length.
Thanks to Robert Loehning and libFuzzer for finding this.
QString::midRef (as correctly used in both changed uses of QStringRef,
since
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| BLACKLIST | ||
| qdatetime.pro | ||
| tst_qdatetime.cpp | ||
| tst_qdatetime_mac.mm | ||