From: Debian BOINC Maintainers Date: Thu, 17 May 2018 08:09:59 +0000 (+0100) Subject: _increase_buffers X-Git-Tag: archive/raspbian/8.00_svn3725-2+rpi1^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=32c7a31527bcd401d921771643e49359d9f6b7f0;p=boinc-app-seti.git _increase_buffers Gbp-Pq: Name 212_increase_buffers.patch --- diff --git a/client/seti.cpp b/client/seti.cpp index bc14289..ad51409 100644 --- a/client/seti.cpp +++ b/client/seti.cpp @@ -1024,10 +1024,11 @@ int seti_parse_data(FILE* f, ANALYSIS_STATE& state) { unsigned long nbytes, nsamples,samples_per_byte; sah_complex *data; unsigned long i; - char *p, buf[256]; + char *p, buf[2560]; sah_complex *bin_data=0; int retval=0; FORCE_FRAME_POINTER; + buf[0]=0; #ifdef USE_MANUAL_CALLSTACK call_stack.enter("seti_parse_data()"); #endif @@ -1042,7 +1043,7 @@ int seti_parse_data(FILE* f, ANALYSIS_STATE& state) { switch(swi.data_type) { case DATA_ASCII: for (i=0; i