mirror of https://github.com/ecmwf/eccodes.git
Fix stack overflow
This commit is contained in:
parent
5af26fa272
commit
154cc66d5e
|
@ -16,12 +16,13 @@ static void usage(const char* name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#define SIZE 50*1024*1024
|
#define SIZE 50*1024*1024
|
||||||
|
char buffer[SIZE];
|
||||||
|
|
||||||
int main(int argc,char **argv) {
|
int main(int argc,char **argv) {
|
||||||
|
|
||||||
FILE* in, *out, *bad;
|
FILE* in, *out, *bad;
|
||||||
char *cin, *cout, *cbad;
|
char *cin, *cout, *cbad;
|
||||||
char buffer[SIZE];
|
|
||||||
size_t data_len = SIZE;
|
size_t data_len = SIZE;
|
||||||
long count = 0;
|
long count = 0;
|
||||||
unsigned char *data;
|
unsigned char *data;
|
||||||
|
|
Loading…
Reference in New Issue