Home | History | Annotate | Line # | Download | only in dist
      1 /*	$NetBSD: mk251.c,v 1.1.1.3 2019/07/21 11:35:30 maya Exp $	*/
      2 
      3 
      4 /* Spew out a long sequence of the byte 251.  When fed to bzip2
      5    versions 1.0.0 or 1.0.1, causes it to die with internal error
      6    1007 in blocksort.c.  This assertion misses an extremely rare
      7    case, which is fixed in this version (1.0.2) and above.
      8 */
      9 
     10 /* ------------------------------------------------------------------
     11    This file is part of bzip2/libbzip2, a program and library for
     12    lossless, block-sorting data compression.
     13 
     14    bzip2/libbzip2 version 1.0.8 of 13 July 2019
     15    Copyright (C) 1996-2019 Julian Seward <jseward (at) acm.org>
     16 
     17    Please read the WARNING, DISCLAIMER and PATENTS sections in the
     18    README file.
     19 
     20    This program is released under the terms of the license contained
     21    in the file LICENSE.
     22    ------------------------------------------------------------------ */
     23 
     24 
     25 #include <stdio.h>
     26 
     27 int main ()
     28 {
     29    int i;
     30    for (i = 0; i < 48500000 ; i++)
     31      putchar(251);
     32    return 0;
     33 }
     34