diff options
Diffstat (limited to 'tests/sort/Test.pm')
-rwxr-xr-x | tests/sort/Test.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm index 17b206476..a666d1855 100755 --- a/tests/sort/Test.pm +++ b/tests/sort/Test.pm @@ -127,6 +127,10 @@ use strict; "'s-Gravenhage\nAag\naagtappels\naëroclub\néminence\nüberhaupt\n", 0], +# This provokes a one-byte memory overrun of a malloc'd block for versions +# of sort from textutils-1.19p and before. +["17", '-c', "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n", "", 0], + ); 1; |