mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
This crash was identified by Cyber Independent Testing Lab: https://cyber-itl.org/2020/10/28/citl-7000-defects.html and was introduced with commit v8.5-163-g3f48829c2 * src/tr.c (validate_case_classes): Don't apply these extra case alignment checks in the --complement case, which is even more restrictive as to the contents of SET2. * tests/misc/tr-case-class.sh: Add a test case, for a large SET1, which caused the length adjustment in validate_case_classes to underflow and trigger the assert. * NEWS: Mention the bug fix.