aboutsummaryrefslogtreecommitdiff
path: root/mk251.c
diff options
context:
space:
mode:
authorJulian Seward <jseward@acm.org>2001-12-30 22:13:13 +0100
committerJulian Seward <jseward@acm.org>2001-12-30 22:13:13 +0100
commit099d844292f60f9d58914da29e5773204dc55e7a (patch)
tree04bdb38dbcd894d6fdbbc3253e216d029cade5c6 /mk251.c
parent795b859eee96c700e8f3c3fe68e6a9a39d95797c (diff)
downloadbzip2-099d844292f60f9d58914da29e5773204dc55e7a.tar.gz
bzip2-099d844292f60f9d58914da29e5773204dc55e7a.tar.bz2
bzip2-099d844292f60f9d58914da29e5773204dc55e7a.zip
bzip2-1.0.2bzip2-1.0.2
Diffstat (limited to 'mk251.c')
-rw-r--r--mk251.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/mk251.c b/mk251.c
new file mode 100644
index 0000000..205778a
--- /dev/null
+++ b/mk251.c
@@ -0,0 +1,16 @@
1
2/* Spew out a long sequence of the byte 251. When fed to bzip2
3 versions 1.0.0 or 1.0.1, causes it to die with internal error
4 1007 in blocksort.c. This assertion misses an extremely rare
5 case, which is fixed in this version (1.0.2) and above.
6*/
7
8#include <stdio.h>
9
10int main ()
11{
12 int i;
13 for (i = 0; i < 48500000 ; i++)
14 putchar(251);
15 return 0;
16}