fix containsTLDEntry crash when there are three or more chunks
authorDmitry Shachnev <mitya57@debian.org>
Mon, 24 Mar 2025 12:42:48 +0000 (15:42 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 24 Mar 2025 12:42:48 +0000 (15:42 +0300)
commit13c3f279d4536f8fc42c40211e3ea48a12a7115c
treeb92612911d5a878437c1c599fe5949fbcb7f9d87
parent3b5ce124fac18a1f41d2ae8ec5f3dd2a89856ff4
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