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
// Find which chunk contains the tldGroupOffset
while (tldGroupOffset >= tldChunks[chunk]) {
- chunkIndex -= tldChunks[chunk];
- offset += tldChunks[chunk];
+ chunkIndex = tldIndices[index] - tldChunks[chunk];
+ offset = tldChunks[chunk];
chunk++;
// We can not go above the number of chunks we have, since all our