diff options
author | Julian Seward <jseward@acm.org> | 2001-12-30 22:13:13 +0100 |
---|---|---|
committer | Julian Seward <jseward@acm.org> | 2001-12-30 22:13:13 +0100 |
commit | 099d844292f60f9d58914da29e5773204dc55e7a (patch) | |
tree | 04bdb38dbcd894d6fdbbc3253e216d029cade5c6 /mk251.c | |
parent | 795b859eee96c700e8f3c3fe68e6a9a39d95797c (diff) | |
download | bzip2-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.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 | } | ||