aboutsummaryrefslogtreecommitdiff
path: root/mk251.c
diff options
context:
space:
mode:
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}