diff options
Diffstat (limited to 'mk251.c')
-rw-r--r-- | mk251.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 | |||
10 | int main () | ||
11 | { | ||
12 | int i; | ||
13 | for (i = 0; i < 48500000 ; i++) | ||
14 | putchar(251); | ||
15 | return 0; | ||
16 | } | ||