fix containsTLDEntry crash when there are three or more chunks
authorDmitry Shachnev <mitya57@debian.org>
Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)
commitd2570b13a2d8544fda8a6b1c2123539e3b9bd143
tree6e2ea4f66289246abb9db0de989fbf4a9a50ac44
parent88ceb6b6d2bdde86d9c94006caf06ef0755062ae
fix containsTLDEntry crash when there are three or more chunks

Forwarded: no
Bug-Debian: https://bugs.debian.org/1095423
Last-Update: 2025-02-08

tldChunks[N] contains total size of chunks from 0 to N, not just the Nth one.

Gbp-Pq: Name containsTLDEntry.diff
src/corelib/io/qtldurl.cpp