mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-21 17:31:10 +03:00
strcoll is implemented using a cache for indices and weights of collation sequences in the strings so that subsequent passes do not have to search through collation data again. For very large string inputs, the cache size computation could overflow. In such a case, use the fallback function that does not cache indices and weights of collation sequences. Fixes CVE-2012-4412.
2.0 KiB
2.0 KiB