projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d74d789
)
Add a test to exercize this fix.
author
Jim Meyering
<jim@meyering.net>
Sat, 2 Nov 1996 05:19:40 +0000
(
05:19
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 2 Nov 1996 05:19:40 +0000
(
05:19
+0000)
tests/sort/Test.pm
patch
|
blob
|
history
diff --git
a/tests/sort/Test.pm
b/tests/sort/Test.pm
index 17b206476073a0368ada9baa2e229e59665ca729..a666d18550c2d6a361807860743c25ce80f1f6f5 100755
(executable)
--- 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;