diff options
author | Jim Meyering <jim@meyering.net> | 1996-11-02 05:19:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-11-02 05:19:40 +0000 |
commit | a71e22991be7b7d6c084ed08471c14debe31aecf (patch) | |
tree | 110be58f347dad763859fe827d7f661ba27a526c | |
parent | d74d789bea2daf1f4a3f42969a97451961cb258a (diff) | |
download | coreutils-a71e22991be7b7d6c084ed08471c14debe31aecf.tar.xz |
Add a test to exercize this fix.
-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; |