From: Debian BOINC Maintainers Date: Thu, 14 Jul 2016 09:40:51 +0000 (+0000) Subject: _increase_buffers X-Git-Tag: archive/raspbian/8.00_svn3363-4+rpi1~1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=99aac7a41906033415649721def1c9828c286681;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 c566fea..5e08642 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