Fix stack overflow

This commit is contained in:
Shahram Najm 2014-07-29 16:45:39 +01:00
parent 5af26fa272
commit 154cc66d5e
1 changed files with 2 additions and 1 deletions

View File

@ -16,12 +16,13 @@ static void usage(const char* name) {
}
#define SIZE 50*1024*1024
char buffer[SIZE];
int main(int argc,char **argv) {
FILE* in, *out, *bad;
char *cin, *cout, *cbad;
char buffer[SIZE];
size_t data_len = SIZE;
long count = 0;
unsigned char *data;